Skip to content

Commit 90b2b5f

Browse files
Junethestinger
June
authored andcommitted
target API 31
API 31 requires intents to set android:exported true or false Signed-off-by: June <[email protected]>
1 parent a8fcbf6 commit 90b2b5f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

app/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ android {
88
defaultConfig {
99
applicationId "org.grapheneos.pdfviewer"
1010
minSdkVersion 26
11-
targetSdkVersion 30
11+
targetSdkVersion 31
1212
versionCode 6
1313
versionName versionCode.toString()
1414
resConfigs "en"

app/src/main/AndroidManifest.xml

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
android:theme="@style/AppTheme"
99
android:allowBackup="true">
1010
<activity android:name=".PdfViewer"
11-
android:label="@string/app_name">
11+
android:label="@string/app_name"
12+
android:exported="true">
1213
<intent-filter>
1314
<action android:name="android.intent.action.MAIN" />
1415
<category android:name="android.intent.category.LAUNCHER" />

0 commit comments

Comments
 (0)