-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Fluttere: OS-version specificAffects only some versions of the relevant operating systemAffects only some versions of the relevant operating systemengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-androidAndroid applications specificallyAndroid applications specificallyr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-androidOwned by Android platform teamOwned by Android platform team
Description
Use case
Developers that want to add support for Android 16 features might see a behavioral differences when working with screen orientations.
Apparently there is a change that is scheduled for Android 16: https://developer.android.com/about/versions/16/behavior-changes-16
Proposal
Audit the required steps to adhere to the API changes in https://developer.android.com/about/versions/16/behavior-changes-16#implementation-details
This will probably affect the https://api.flutter.dev/flutter/services/SystemChrome/setPreferredOrientations.html API.
One thing that I'm not sure about it how we should handle the following:
The Android 16 orientation, resizability, and aspect ratio restrictions don't apply in the following situations:
...
- Screens that are smaller than sw600dp
How will we handle this in the Flutter-faced API ? Users might be confused when the SystemChrome API does work on some devices, but not others.
Correct-Syntax, MominRaza, kimwest00 and MkhytarMkhoianlberaldodev
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Fluttere: OS-version specificAffects only some versions of the relevant operating systemAffects only some versions of the relevant operating systemengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-androidAndroid applications specificallyAndroid applications specificallyr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-androidOwned by Android platform teamOwned by Android platform team