Obsolete
Status Update
Comments
za...@gmail.com <za...@gmail.com> #2
Sorry what was I think, should be seen in Android 5.1 (API 22) and above.
ve...@google.com <ve...@google.com> #3
We have passed this to the development team and will update this issue with more information as it becomes available.
ad...@google.com <ad...@google.com>
mm...@rcel.cz <mm...@rcel.cz> #4
I would also welcome such feature. I have an (video player) app that forces landscape. If user has auto rotation turned off, user has to rotate device every time when opening a file using system SAF open dialog.
za...@gmail.com <za...@gmail.com> #5
As a work around where necessary I request "change system settings permission" (And blame Google when explaining the reason to the user) and then turn auto rotation system settings to "on" so the SAF dialog is opened in the correct orientation.
at...@google.com <at...@google.com> #6
Thank you for your feedback. We assure you that we are doing our best to address all issues reported. For now, we will be closing the issue as won't fix obsolete. If this issue currently still exists, we request that you log a new issue along with the bug report here https://goo.gl/TbMiIO and reference this bug for context.
mm...@rcel.cz <mm...@rcel.cz> #7
Submitted again, as new issue here:
Description
Steps to reproduce:
User changes phone settings to ignore rotation sensor and locks the phone to the portrait orientation.
User start application that only uses Landscape orientation.
User turns phone to match application
Application creates an Intent with Intent.ACTION_CREATE_DOCUMENT and starts an activity with this Intent to use the Storage Access Framework save the document.
The System UI Content Object Picker obeys the system settings and launches in portrait mode, forcing the user to rotate the phone to pick the filename
Seen in Android 4.4 (API 22) and above
Feature request is to allow the Intent.ACTION_CREATE_DOCUMENT and other SAF related Intents to specify extra data to set the orientation to match the Application launching them.
something like
``
Intent intent = new Intent(Intent.ACTION_CREATE_DOCUMENT);
intent.addCategory(Intent.CATEGORY_OPENABLE);
intent.setType(mimeType);
intent.putExtra(Intent.EXTRA_TITLE, fileName);
intent.putExtra(Intent.EXTRA_ORIENTATION, LANDSCAPE);
startActivityForResult(intent, WRITE_REQUEST_CODE);
``