Closed Bug 1518225 (target-android-p) Opened 5 years ago Closed 5 years ago

Target Android P

Categories

(Firefox for Android Graveyard :: General, enhancement)

All
Android
enhancement
Not set
normal

Tracking

(firefox67 fixed)

RESOLVED FIXED
Firefox 67
Tracking Status
firefox67 --- fixed

People

(Reporter: JanH, Assigned: JanH)

References

()

Details

Attachments

(1 file)

Thankfully, this time the list of changes looks much more manageable than it did for Oreo.

Alias: target-android-p
Depends on: 1518226
Depends on: 1518229

When targeting P, retrieving the device's serial number only works with the READ_PHONE_STATE permission and also requires using a different API call (https://developer.android.com/about/versions/pie/android-9.0-changes-28#privacy-changes-p).

We are using Build.SERIAL as an input into fixing up the PRNGs [1], but thankfully that is only required on API18 and lower. Therefore this change won't affect us.

[1] https://searchfox.org/mozilla-central/rev/c43240cef5829b8a2dec118faff8a5e1fec6ae1b/mobile/android/services/src/main/java/org/mozilla/gecko/util/PRNGFixes.java#316

All obvious issues that can be deduced from
https://developer.android.com/about/versions/pie/android-9.0-changes-28
have been addressed, so we should be able to give this a try.

This will also make running tests depending on android.test.* (i.e. mainly
Robocop) work again on devices/emulators running P.
Assignee: nobody → jh+bugzilla

One more thing to watch out for:

Activities no longer implicitly assign initial focus in touch-mode. Instead, it is up to you to explicitly request initial focus, if desired.

I'm not sure if anything in Firefox actually depends on that behaviour, though, so we just need to be on the lookout for any issues here.

Attachment #9036229 - Attachment description: Bug 1518225 - Target Android P. r?nalexander → Bug 1518225 - Target Android P. r?nalexander,snorp
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 67
Depends on: 1527666
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: