Skip to content

Commit

Permalink
target API 31
Browse files Browse the repository at this point in the history
API 31 requires intents to set android:exported true or false

Signed-off-by: June <[email protected]>
  • Loading branch information
June authored and thestinger committed Sep 29, 2021
1 parent a8fcbf6 commit 90b2b5f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ android {
defaultConfig {
applicationId "org.grapheneos.pdfviewer"
minSdkVersion 26
targetSdkVersion 30
targetSdkVersion 31
versionCode 6
versionName versionCode.toString()
resConfigs "en"
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
android:theme="@style/AppTheme"
android:allowBackup="true">
<activity android:name=".PdfViewer"
android:label="@string/app_name">
android:label="@string/app_name"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
Expand Down

0 comments on commit 90b2b5f

Please sign in to comment.