mirror of
https://github.com/zxing/zxing.git
synced 2024-11-09 20:44:03 -08:00
Update AndroidManifest.xml: set exported flag (#1516)
Set flag `android:exported` to all the activities having `<intent-filter>`.
This commit is contained in:
parent
5f20b8d095
commit
4f9f466f7d
|
@ -48,7 +48,8 @@
|
||||||
android:clearTaskOnLaunch="true"
|
android:clearTaskOnLaunch="true"
|
||||||
android:stateNotNeeded="true"
|
android:stateNotNeeded="true"
|
||||||
android:theme="@style/CaptureTheme"
|
android:theme="@style/CaptureTheme"
|
||||||
android:windowSoftInputMode="stateAlwaysHidden">
|
android:windowSoftInputMode="stateAlwaysHidden"
|
||||||
|
android:exported="false">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.intent.action.MAIN"/>
|
<action android:name="android.intent.action.MAIN"/>
|
||||||
<category android:name="android.intent.category.LAUNCHER"/>
|
<category android:name="android.intent.category.LAUNCHER"/>
|
||||||
|
@ -90,7 +91,8 @@
|
||||||
android:label="@string/preferences_name"
|
android:label="@string/preferences_name"
|
||||||
android:stateNotNeeded="true"/>
|
android:stateNotNeeded="true"/>
|
||||||
<activity android:name=".encode.EncodeActivity"
|
<activity android:name=".encode.EncodeActivity"
|
||||||
android:stateNotNeeded="true">
|
android:stateNotNeeded="true"
|
||||||
|
android:exported="false">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="com.google.zxing.client.android.ENCODE"/>
|
<action android:name="com.google.zxing.client.android.ENCODE"/>
|
||||||
<category android:name="android.intent.category.DEFAULT"/>
|
<category android:name="android.intent.category.DEFAULT"/>
|
||||||
|
@ -111,7 +113,8 @@
|
||||||
<activity android:name=".book.SearchBookContentsActivity"
|
<activity android:name=".book.SearchBookContentsActivity"
|
||||||
android:label="@string/sbc_name"
|
android:label="@string/sbc_name"
|
||||||
android:stateNotNeeded="true"
|
android:stateNotNeeded="true"
|
||||||
android:screenOrientation="sensorLandscape">
|
android:screenOrientation="sensorLandscape"
|
||||||
|
android:exported="false">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="com.google.zxing.client.android.SEARCH_BOOK_CONTENTS"/>
|
<action android:name="com.google.zxing.client.android.SEARCH_BOOK_CONTENTS"/>
|
||||||
<category android:name="android.intent.category.DEFAULT"/>
|
<category android:name="android.intent.category.DEFAULT"/>
|
||||||
|
@ -119,7 +122,8 @@
|
||||||
</activity>
|
</activity>
|
||||||
<activity android:name=".share.ShareActivity"
|
<activity android:name=".share.ShareActivity"
|
||||||
android:stateNotNeeded="true"
|
android:stateNotNeeded="true"
|
||||||
android:screenOrientation="user">
|
android:screenOrientation="user"
|
||||||
|
android:exported="false">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="com.google.zxing.client.android.SHARE"/>
|
<action android:name="com.google.zxing.client.android.SHARE"/>
|
||||||
<category android:name="android.intent.category.DEFAULT"/>
|
<category android:name="android.intent.category.DEFAULT"/>
|
||||||
|
|
Loading…
Reference in a new issue