Skip to content

Target Android 16 (SDK 36 major/minor) #266

@Xavron

Description

@Xavron

[TESTED] Changes for Android 16 MAJOR (sdk 36):

  • Requires all current pending pull requests for target A15 to be applied.
REQUIRED:
compileSdk 36
targetSdkVersion 36

*See minor below for deprecation change to compileSdk.
NOT REQUIRED:
[Affects sdk 36 major or newer]

Predictive back support to the 3-button navigation
https://developer.android.com/about/versions/16/behavior-changes-all#three-button-predictive-back

Can target without this. Not required. Works same as always without this. Actually, 99% of all apps I use do not even implement this at this time.

To use: Hold on back button. If predictive is working, it will slightly shrink the app and show the next screen back. If its not implemented by an app, nothing happens.

(App may not have predictive back support for swipe nav either. Swipe nav predictive untested by me and previously missed.)
  • [NOT APP BUG SEEN] (This is a OS or Launcher bug) In Recents screen, the snapshot of the most recent app may be translucent showing Home screen background image. Android 16 QPR0 PixelOS.

  • Below untested points, if Android has settings variations in major, are unchecked and untested by me.


[TBD] Possible changes needed for Android 16 MINOR (sdk 36.x):

android {
    compileSdk {
        version = release(36) {
            // this block and its properties are optional
            //it.minorApiLevel = 1
        }
    }
  ...
  • Quick test in 16 KB 16.1 VM. App starts. Server starts. No issues seen.

  • Below untested points, if Android has settings variations in minor, are unchecked and untested by me.


Untested


I'm fully exiting programming, dev stuff. Been nice while it lasted :)

Expecting to also test using Samsung A16 end of the year, and if all goes well, Won't be able to test A16 minor until sometime in 2026 at the earliest. Expecting to update this post in some way at that time. The local network perm will be something I expect to look into whenever that happens (possibly A17?) and that I expect to be the last thing I do here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions