Closed wzieba closed 3 days ago
No activity in AndroidManifest.xml files has android:screenOrientation
AndroidManifest.xml
android:screenOrientation
Some activities have defined either landscape or portrait modes. Citing Android Lint documentation:
landscape
portrait
Should not restrict activity to fixed orientation. This may not be suitable for different form factors, causing the app to be letterboxed.
Remove DiscouragedApi issues from baseline and run a lint task (after #21082 is merged).
DiscouragedApi
Thanks for reporting! 👍
Note that #20957 corrected this for login, but we still have these locked into portrait:
And this one locked into landscape:
Expected behavior
No activity in
AndroidManifest.xml
files hasandroid:screenOrientation
Actual behavior
Some activities have defined either
landscape
orportrait
modes. Citing Android Lint documentation:Steps to reproduce the behavior
Remove
DiscouragedApi
issues from baseline and run a lint task (after #21082 is merged).