Expecting android:screenOrientation="unspecified" or "fullSensor" for this activity so the user can use the application in any orientation and provide a great experience on Chrome OS devices
Inspection info:The element should not be locked to any orientation so that users can take advantage of the multi-window environments and larger screens available on Android. To fix the issue consider declaring the corresponding activity element with screenOrientation="unspecified"or "fullSensor" attribute.
When you declare one of the landscape or portrait values, it is considered a hard requirement for the orientation in which the activity runs. As such, the value you declare enables filtering by services such as Google Play so your application is available only to devices that support the orientation required by your activities.
So consider using android:screenOrientation="unspecified" or "fullSensor" in activity allow users utilize application in any orientation especially for Chrome OS devices
<activity> element should not be fixed specific orientation maximize usability multi-window environments and on larger screens. So resolve this issue update activity element with screenOrientation="unspecified" or "fullSensor" attribute
Warning is important for not restricting orientation on big-screen devices. If your app is designed for portrait mode only sso you can suppress thus warnings by adding tools:ignore="LockedOrientationActivity" individual activities or top-level <manifest> tag to apply it globally
2
Answers
Try
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
in your GetStartedActivityWhen you declare one of the landscape or portrait values, it is considered a hard requirement for the orientation in which the activity runs. As such, the value you declare enables filtering by services such as Google Play so your application is available only to devices that support the orientation required by your activities.
In attribution from – https://stackoverflow.com/a/60475542/1761003
So consider using
android:screenOrientation="unspecified"
or"fullSensor"
in activity allow users utilize application in any orientation especially for Chrome OS devices<activity>
element should not be fixed specific orientation maximize usability multi-window environments and on larger screens. So resolve this issue update activity element withscreenOrientation="unspecified"
or"fullSensor"
attributeWarning is important for not restricting orientation on big-screen devices. If your app is designed for portrait mode only sso you can suppress thus warnings by adding
tools:ignore="LockedOrientationActivity"
individual activities or top-level<manifest>
tag to apply it globallyFor further details, refer to:
If you encounter any unexpected behavior, you can report issue Google Issue Tracker