Commit Graph

6 Commits

Author SHA1 Message Date
3e8e23e111 Simplify install prompt handling
Reverts most changes to MainActivity and uses handleSpecialIntent
instead. handleSpecialIntent now defers installer prompt to
InstallerService by starting it again.

SpecialIntent has been modified to accommodate extra data needed to
handle these callbacks.
2022-01-03 14:51:31 +11:00
73ac718ce2 Fix install prompt notification, further automate updates/installs.
Fixes "tap to install" notification not launching an activity. Install
notifications moved to InstallerService so that we only show them for
apps that need intervention (and lets us preserve our install session).

All installs go to the installer, allowing for downloads to jump
straight into installation if possible (auto updates or showing prompt
on A9 and earlier). If a prompt is needed, the notification is still
shown.

Additional utility function checks if app is in the foreground. Used to
ensure that we do not launch a prompt that cannot be launched.

Miscellaneous comments have been added and improved.
2021-12-31 10:41:45 +11:00
96b4ef2bcb Improve: Cleanup ScreenShots ViewHolder
Fix: Typo in MainApplication.kt
2021-12-12 01:08:34 +05:30
a8dc3a255b Add: Lanugage preference listener 2021-11-16 23:48:34 +01:00
29ef88853d Reformated all the code 2021-06-08 21:18:44 +05:30
e57df974d6 Initial Commit 2021-03-07 18:20:35 +05:30