Skip to content

Commit 1a5bed8

Browse files
committed
Fix manifest.
1 parent 1f821e9 commit 1a5bed8

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

activitytaskview/src/main/AndroidManifest.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
android:supportsRtl="true"
1212
android:theme="@style/AppTheme">
1313
<activity android:name=".MainActivity"
14+
android:exported="true"
1415
android:launchMode="singleTask">
1516
<intent-filter>
1617
<action android:name="android.intent.action.MAIN" />
@@ -19,7 +20,8 @@
1920
</intent-filter>
2021
</activity>
2122

22-
<receiver android:name=".LifecycleReceiver">
23+
<receiver android:name=".LifecycleReceiver"
24+
android:exported="true">
2325
<intent-filter>
2426
<action android:name="cc.rome753.activitytask.ACTION_UPDATE_LIFECYCLE" />
2527
</intent-filter>

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ android {
2626

2727
dependencies {
2828
// debugImplementation project(path: ':activitytasklib')
29-
debugImplementation "com.github.rome753:ActivityTaskView:lib1.0"
29+
debugImplementation "com.github.rome753:ActivityTaskView:lib1.2"
3030
implementation 'androidx.appcompat:appcompat:1.1.0'
3131
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
3232
testImplementation 'junit:junit:4.12'

singleinstancedemo/src/main/AndroidManifest.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
android:theme="@style/AppTheme">
1515
<activity
1616
android:name=".MainActivity"
17+
android:exported="true"
1718
android:launchMode="singleTop">
1819
<intent-filter>
1920
<action android:name="android.intent.action.MAIN" />
@@ -23,6 +24,7 @@
2324
</activity>
2425
<activity
2526
android:name=".BrowserActivity"
27+
android:exported="false"
2628
android:launchMode="singleInstance">
2729
</activity>
2830
</application>

0 commit comments

Comments
 (0)