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:
Daichi Hirono
2017-05-12 16:39:40 +09:00
parent 5a421ad0ef
commit 0da3b1a174

View File

@@ -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" />