Skip to content

Commit d2eb10c

Browse files
authored
Merge pull request #284 from jquick-axway/TIMOB-28479
chore(android): add "android:exported" to activities for Android 12
2 parents 0fc3d6f + 5beaee5 commit d2eb10c

File tree

4 files changed

+12743
-96
lines changed

4 files changed

+12743
-96
lines changed

android/manifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# this is your module manifest and used by Titanium
33
# during compilation, packaging, distribution, etc.
44
#
5-
version: 5.0.2
5+
version: 6.0.1
66
apiversion: 4
77
architectures: arm64-v8a armeabi-v7a x86 x86_64
88
description: Lets you process 1D/2D barcodes.

android/timodule.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<manifest>
55
<application>
66
<activity android:name="com.google.zxing.client.android.CaptureActivity"
7+
android:exported="false"
78
android:clearTaskOnLaunch="true"
89
android:stateNotNeeded="true"
910
android:screenOrientation="fullSensor"
@@ -49,6 +50,7 @@
4950
</activity>
5051
<activity android:name="com.google.zxing.client.android.encode.EncodeActivity"
5152
android:label="@string/share_name"
53+
android:exported="false"
5254
android:stateNotNeeded="true">
5355
<intent-filter>
5456
<action android:name="com.google.zxing.client.android.ENCODE"/>
@@ -69,6 +71,7 @@
6971
</activity>
7072
<activity android:name="com.google.zxing.client.android.book.SearchBookContentsActivity"
7173
android:label="@string/sbc_name"
74+
android:exported="false"
7275
android:stateNotNeeded="true"
7376
android:screenOrientation="landscape"
7477
android:configChanges="orientation|keyboardHidden">
@@ -79,6 +82,7 @@
7982
</activity>
8083
<activity android:name="com.google.zxing.client.android.share.ShareActivity"
8184
android:label="@string/share_name"
85+
android:exported="false"
8286
android:stateNotNeeded="true"
8387
android:screenOrientation="user"
8488
android:theme="@android:style/Theme.Light">
@@ -89,6 +93,7 @@
8993
</activity>
9094
<activity android:name="com.google.zxing.client.android.history.HistoryActivity"
9195
android:label="@string/history_title"
96+
android:exported="false"
9297
android:stateNotNeeded="true">
9398
<intent-filter>
9499
<action android:name="android.intent.action.VIEW"/>
@@ -97,6 +102,7 @@
97102
</activity>
98103
<activity android:name="com.google.zxing.client.android.share.BookmarkPickerActivity"
99104
android:label="@string/bookmark_picker_name"
105+
android:exported="false"
100106
android:stateNotNeeded="true">
101107
<intent-filter>
102108
<action android:name="android.intent.action.PICK"/>
@@ -105,6 +111,7 @@
105111
</activity>
106112
<activity android:name="com.google.zxing.client.android.share.AppPickerActivity"
107113
android:label="@string/app_picker_name"
114+
android:exported="false"
108115
android:stateNotNeeded="true"
109116
android:configChanges="orientation">
110117
<intent-filter>
@@ -113,6 +120,7 @@
113120
</intent-filter>
114121
</activity>
115122
<activity android:name="com.google.zxing.client.android.HelpActivity"
123+
android:exported="false"
116124
android:screenOrientation="user">
117125
<intent-filter>
118126
<action android:name="android.intent.action.VIEW"/>

0 commit comments

Comments
 (0)