Closed Bug 677035 Opened 8 years ago Closed 8 years ago

Build error with Android SDK platform 13: reference to ClipboardManager is ambiguous

Categories

(Core :: Widget: Android, defect)

All
Android
defect
Not set

Tracking

()

RESOLVED FIXED
mozilla8

People

(Reporter: mbrubeck, Assigned: mbrubeck)

References

Details

Attachments

(1 file)

Attached patch patchSplinter Review
I get the following error when building with platform-13:

GeckoAppShell.java:838: reference to ClipboardManager is ambiguous, both class android.content.ClipboardManager in android.content and class android.text.ClipboardManager in android.text match

API level 11 introduced a the android.content.ClipboardManager class, which is a subclass designed to replace android.text.ClipboardManager.  This patch uses the fully-qualified name of the old class, so that the code will build with the new SDK but still run on platforms < API level 11.
Attachment #551267 - Flags: review?(blassey.bugs)
Attachment #551267 - Flags: review?(blassey.bugs) → review+
https://hg.mozilla.org/mozilla-central/rev/95feef73a8ba
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla8
You need to log in before you can comment on or make changes to this bug.