Closed Bug 1369633 Opened 7 years ago Closed 4 years ago

Fix lint: NewApi issues in DownloadContentTelemetry.java

Categories

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

55 Branch
defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: tyu, Unassigned)

References

Details

4 occurrences: ../../../../../../../mobile/android/base/java/org/mozilla/gecko/dlc/DownloadContentTelemetry.java:58: Call requires API level 19 (current min is 15): new java.lang.AssertionError 55 56 Telemetry.sendUIEvent(TelemetryContract.Event.ACTION, TelemetryContract.Method.SERVICE, extras.toString()); 57 } catch (JSONException e) { 58 throw new AssertionError("Should not happen: Can't build telemetry extra JSON", e); 59 } 60 } Applies to variants: localOldAustralisDebug, localOldAustralisRelease, localOldPhotonDebug, localOldPhotonRelease, officialAustralisDebug, officialAustralisRelease, officialPhotonDebug, officialPhotonRelease Does not apply to variants: localAustralisDebug, localAustralisRelease, localPhotonDebug, localPhotonRelease ../../../../../../../mobile/android/base/java/org/mozilla/gecko/dlc/DownloadContentTelemetry.java:76: Call requires API level 19 (current min is 15): new java.lang.AssertionError 73 74 Telemetry.sendUIEvent(TelemetryContract.Event.ACTION, TelemetryContract.Method.SERVICE, extras.toString()); 75 } catch (JSONException e) { 76 throw new AssertionError("Should not happen: Can't build telemetry extra JSON", e); 77 } 78 } Applies to variants: localOldAustralisDebug, localOldAustralisRelease, localOldPhotonDebug, localOldPhotonRelease, officialAustralisDebug, officialAustralisRelease, officialPhotonDebug, officialPhotonRelease Does not apply to variants: localAustralisDebug, localAustralisRelease, localPhotonDebug, localPhotonRelease ../../../../../../../mobile/android/base/java/org/mozilla/gecko/dlc/DownloadContentTelemetry.java:90: Call requires API level 19 (current min is 15): new java.lang.AssertionError 87 88 Telemetry.sendUIEvent(TelemetryContract.Event.ACTION, TelemetryContract.Method.SERVICE, extras.toString()); 89 } catch (JSONException e) { 90 throw new AssertionError("Should not happen: Can't build telemetry extra JSON", e); 91 } 92 } Applies to variants: localOldAustralisDebug, localOldAustralisRelease, localOldPhotonDebug, localOldPhotonRelease, officialAustralisDebug, officialAustralisRelease, officialPhotonDebug, officialPhotonRelease Does not apply to variants: localAustralisDebug, localAustralisRelease, localPhotonDebug, localPhotonRelease ../../../../../../../mobile/android/base/java/org/mozilla/gecko/dlc/DownloadContentTelemetry.java:107: Call requires API level 19 (current min is 15): new java.lang.AssertionError 104 105 Telemetry.sendUIEvent(TelemetryContract.Event.ACTION, TelemetryContract.Method.SERVICE, extras.toString()); 106 } catch (JSONException e) { 107 throw new AssertionError("Should not happen: Can't build telemetry extra JSON", e); 108 } 109 } 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
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: 4 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.