Don't specify screen orientation for ReceiverActivity.
From O, the framework does not allow to specify screen orientation for translucent acitivity. Bug: 38225950 Test: manually connect MTP device to Android Change-Id: I83c5063f6b85aff3c05906b9d66efbcde9693224
This commit is contained in:
@@ -22,7 +22,6 @@
|
||||
android:label="@string/downloads_app_label"
|
||||
android:icon="@mipmap/ic_launcher_download"
|
||||
android:theme="@android:style/Theme.NoDisplay"
|
||||
android:screenOrientation="locked"
|
||||
android:excludeFromRecents="true">
|
||||
<intent-filter>
|
||||
<action android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" />
|
||||
|
||||
Reference in New Issue
Block a user