DownloadWorker: Trigger app installation on success

* Transparent dummy activity to trigger installation of apps from notification

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
Aayush Gupta
2023-10-28 15:25:39 +05:30
parent 6f707b2a37
commit 01dee174bc
7 changed files with 116 additions and 22 deletions

View File

@@ -91,6 +91,11 @@
<nav-graph android:value="@navigation/mobile_navigation" />
</activity>
<activity
android:name=".data.activity.InstallActivity"
android:exported="false"
android:theme="@android:style/Theme.Translucent.NoTitleBar" />
<service android:name=".data.service.NotificationService" />
<service android:name=".data.installer.InstallerService" />
<service android:name=".data.service.UpdateService" />
@@ -123,5 +128,8 @@
<receiver android:name=".data.receiver.DownloadResumeReceiver" />
<receiver android:name=".data.receiver.DownloadPauseReceiver" />
<receiver android:name=".data.receiver.DownloadCancelReceiver" />
<receiver
android:name=".data.receiver.InstallReceiver"
android:exported="false" />
</application>
</manifest>