Closed Bug 1369631 Opened 8 years ago Closed 8 years ago

Fix lint: NewApi issues in ActivityStreamPreference.java

Categories

(Firefox for Android Graveyard :: Activity Stream, defect)

55 Branch
All
Unspecified
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: tyu, Unassigned)

References

Details

1 occurrence: ../../../../../../../mobile/android/base/java/org/mozilla/gecko/activitystream/ActivityStreamPreference.java:23: Call requires API level 21 (current min is 15): new android.preference.SwitchPreference 20 public class ActivityStreamPreference extends SwitchPreference { 21 @SuppressWarnings("unused") // Used from XML 22 public ActivityStreamPreference(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { 23 super(context, attrs, defStyleAttr, defStyleRes); 24 init(context); 25 } Applies to variants: localOldAustralisDebug, localOldAustralisRelease, localOldPhotonDebug, localOldPhotonRelease, officialAustralisDebug, officialAustralisRelease, officialPhotonDebug, officialPhotonRelease Does not apply to variants: localAustralisDebug, localAustralisRelease, localPhotonDebug, localPhotonRelease
Blocks: lint-newapi
I don't see this locally.
Status: NEW → RESOLVED
Closed: 8 years ago
Component: General → Activity Stream
Resolution: --- → WORKSFORME
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.