Commit Graph

272 Commits

Author SHA1 Message Date
adf305ffc0 Prevent DefaultInstaller from working on a non-existent cache file.
Ensures that the cache file exists before attempting an install using
it. This fixes a crash that can occur if the file is not yet available,
likely due to an I/O-related race condition.
2022-01-03 19:20:00 +11:00
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
4547ef8a55 Update: Replace repositories observable disposable with Room-RxJava's Flowable 2022-01-03 00:38:55 +01:00
70eee26048 Add: Database instance to Main fragments VM 2022-01-03 00:29:16 +01: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
51030cfe1a Improve: Performance Improvement with inline function 2021-12-29 12:24:44 +05:30
0298875e14 Fix: Settings switch changing on theme changes 2021-12-28 13:55:55 +05:30
f090b506fe Fix: Remove Configuration Caching to fix building & some renaming 2021-12-28 13:37:48 +05:30
25fac9e773 Improve: Added Sync automatically only when on wifi and plugged in 2021-12-28 13:24:04 +05:30
66075c9e64 Fix: Micro-crash on download cancel
Improve: Use provided function
2021-12-27 13:27:26 +05:30
dbd43b1a2b Improve: Better Share menu 2021-12-27 13:27:26 +05:30
292b4ae9c3 Add: New adapters to LatestFragment 2021-12-26 02:41:34 +01:00
113cb9864d Add: New adapters to InstalledFragment 2021-12-26 02:41:18 +01:00
6b49062093 Update: Allow creating V/HAppItems without repo (no icon downloaded) 2021-12-26 02:40:37 +01:00
3f440dff2a Add: Horizontal and vertical apps' items' classes 2021-12-26 01:39:26 +01:00
9e022d477d Fix: Calling the data repository with the real id 2021-12-26 00:44:15 +01:00
814052d821 Fix: Crash on trying to readd/update data in installed table 2021-12-26 00:04:52 +01:00
88776cbe04 Clean up 2021-12-24 15:13:07 +01:00
066369e769 Add: Initiate repositories in new DB on first start 2021-12-24 15:11:44 +01:00
3e4aa20c3d Fix: UNIQUE id failure for Repository 2021-12-24 15:10:31 +01:00
5db9aa2591 Remove: Old database class 2021-12-24 15:09:15 +01:00
b359475db7 Fix: Post merge errors/conflicts 2021-12-24 15:08:25 +01:00
4778f128f2 Fix: Common content calls 2021-12-24 15:07:45 +01:00
5386c9d843 Merge DB migration branch (Warning: possible conflict solving failures) 2021-12-24 13:20:38 +01:00
1dab4dfe3d Update: Fix search bar initial setup [new UI] 2021-12-23 01:41:26 +01:00
ea80e658cf Add: The main activity [new UI] 2021-12-23 01:41:03 +01:00
7271528d7a Add: The main navigation fragments [new UI] 2021-12-23 01:38:09 +01:00
6eb3b96a83 Improve: Remove "Installed" Notification after 5 seconds
Improve: Scrolling performance in AppDetail
2021-12-19 23:29:54 +05:30
0a959aeeaf Fix: Screenshot placeholder icon 2021-12-16 02:26:29 +01:00
5de01f378c Fix: Soft crash when starting AppDetails 2021-12-16 01:33:41 +01:00
5f4df77816 Fix: Run only one instance of root installer 2021-12-16 00:54:16 +01:00
ef1036d8c7 Fix: Root installer 2021-12-16 00:53:40 +01:00
ebb77ffa71 Improve: Optimize Reload method (AppDetailAdapter) 2021-12-15 12:23:44 +05:30
3cb535866d Update: Restructure ui package 2021-12-15 01:23:48 +01:00
9980582340 Fix: Over-reload on expanding description (Closes #138)
Fix: Wrong Appearing and Disappearing order in Releases
2021-12-14 01:40:09 +05:30
a2f5a725a5 Fix: Screenshot's palceholder size size 2021-12-13 03:42:49 +01:00
80f8d2d36e Improve: Cleanup RepositoriesAdapter 2021-12-12 01:29:12 +05:30
96b4ef2bcb Improve: Cleanup ScreenShots ViewHolder
Fix: Typo in MainApplication.kt
2021-12-12 01:08:34 +05:30
ab49fae13e Update Chip Padding Fix 2021-12-12 00:51:11 +05:30
eba97aaf7c Move "Show Less" to strings.xml (Closes #141) 2021-12-12 00:16:36 +05:30
95aa50a47c Clean Resources 2021-12-06 01:21:10 +05:30
96d8c58a0a Optimize Installer 2021-12-06 00:47:13 +05:30
b3a98ee093 Remove unused functions 2021-12-06 00:38:11 +05:30
e7184ecccc Move DownloadService to Coroutine (1/2) 2021-12-04 00:28:55 +05:30
0dd23c23b1 Use Kotlin extension to replace TextWatcher 2021-12-04 00:28:55 +05:30
848c5ce863 Legit Material3 Theming 1/5 (style/colors.xml)
Chnage Source code Icon (Touches #127)
Some code cleanups
etc... (Sry I forgot what all I did)
2021-12-03 00:37:55 +05:30
7165757745 Fix: Some Invisible Icons
Improve: Use ResourceCompat to get Drawable
2021-12-01 00:14:24 +05:30
f1cb882aaa Improve: Optimize Repositories Page 2021-11-27 14:09:32 +05:30
32baac8f98 Improve: No need to save layoutState 2021-11-26 21:45:04 +05:30
54719f28e7 Improve: Don't Update Apps List on recreation 2021-11-26 21:43:21 +05:30