Closed Bug 1369635 Opened 7 years ago Closed 3 years ago

Fix lint: NewApi issues in LocaleListPreference.java

Categories

(Firefox for Android Graveyard :: General, defect, P5)

55 Branch
defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: tyu, Unassigned)

References

Details

1 occurrence:

../../../../../../../mobile/android/base/java/org/mozilla/gecko/preferences/LocaleListPreference.java:67: Call requires API level 19 (current min is 15): android.graphics.Bitmap#getAllocationByteCount

  64         private static byte[] getPixels(final Bitmap b) {
  65             final int byteCount;
  66             if (Versions.feature19Plus) {
  67                 byteCount = b.getAllocationByteCount();
  68             } else {
  69                 // Close enough for government work.

Applies to variants: localOldAustralisDebug, localOldAustralisRelease, localOldPhotonDebug, localOldPhotonRelease, officialAustralisDebug, officialAustralisRelease, officialPhotonDebug, officialPhotonRelease
Does not apply to variants: localAustralisDebug, localAustralisRelease, localPhotonDebug, localPhotonRelease
Blocks: lint-newapi
[triage] Bulk edit from title: this is a non-critical issue or [meta] bug.
Priority: -- → P3
Re-triaging per https://bugzilla.mozilla.org/show_bug.cgi?id=1473195

Needinfo :susheel if you think this bug should be re-triaged.
Priority: P3 → P5
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.