Commit Graph

505 Commits

Author SHA1 Message Date
375ab23edb Improve install notifications, improve DefaultInstaller, misc. clean-up
Installer notifications have their own channel, their tags have been
fixed, and the timeout has been properly set instead of using sleep.

Ensured that DefaultInstaller's sessions use unique file names. Also
improved error handling by including broken pipes and by preventing
post-copy operations if an error has occurred.

Some cleaning up has been done in Common, DownloadService, and
SyncService. A few changes have been cherry-picked from master.
2022-01-04 20:26:07 +11:00
e1fc3c656a Make auto-update default on Android 12+ & stop background prompts.
Sets preference for auto updates to true by default if device runs
Android 12 and later.

Reverts change allowing the install prompt to show up from the
background and instead require the notification on all Android versions.
2022-01-04 16:21:08 +11:00
fce311098d Implement automatic updates after repository sync
Initial implementation of fully automatic updates, allowing apps to be
updated after a repo sync has been completed. It can be enabled with a
new preference in settings.

Implemented by greatly modifying SyncService to allow updates to be run
on every completed sync before notifications would be outputted. Note
that the update notification no longer appears if auto updates are
enabled.

BuildConfig.DEBUG is used to force syncing to run to completion, even if
there are no changes to the repos. This allow reliable testing by
turning the sync button into an "update all" button. This should be
removed once an "Update all" button has been implemented in the updates
tab.

Cache file checking in DefaultInstaller is now more robust.
2022-01-03 20:21:36 +11:00
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
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
ddb7422e45 Update: Jackson dependency 2021-12-23 21:45:52 +05:30
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
f5422ba511 Update: Fragments layouts [new UI] 2021-12-23 01:39:52 +01:00
cb352ba724 Add: Main actions' menu [new UI] 2021-12-23 01:39:26 +01:00
114a2574ff Add: Main navigation graph [new UI] 2021-12-23 01:38:42 +01:00
7271528d7a Add: The main navigation fragments [new UI] 2021-12-23 01:38:09 +01:00
9e9f17fb1d Translated using Weblate (Persian)
Currently translated at 100.0% (174 of 174 strings)

Translation: Droidify/Localization
Translate-URL: https://hosted.weblate.org/projects/droidify/localization/fa/
2021-12-22 23:52:27 +01:00
9cd0bb0ea7 Translated using Weblate (Persian)
Currently translated at 100.0% (174 of 174 strings)

Translation: Droidify/Localization
Translate-URL: https://hosted.weblate.org/projects/droidify/localization/fa/
2021-12-21 22:53:20 +01:00
979823bfb5 Translated using Weblate (Persian)
Currently translated at 100.0% (174 of 174 strings)

Translation: Droidify/Localization
Translate-URL: https://hosted.weblate.org/projects/droidify/localization/fa/
2021-12-21 22:53:20 +01:00
487058f63e Translated using Weblate (Persian)
Currently translated at 82.1% (143 of 174 strings)

Translation: Droidify/Localization
Translate-URL: https://hosted.weblate.org/projects/droidify/localization/fa/
2021-12-21 22:39:17 +01:00
d6d4489b10 Translated using Weblate (Persian)
Currently translated at 82.1% (143 of 174 strings)

Translation: Droidify/Localization
Translate-URL: https://hosted.weblate.org/projects/droidify/localization/fa/
2021-12-21 22:39:16 +01:00
6eb3b96a83 Improve: Remove "Installed" Notification after 5 seconds
Improve: Scrolling performance in AppDetail
2021-12-19 23:29:54 +05:30
26902110f1 Translated using Weblate (Ukrainian)
Currently translated at 98.8% (172 of 174 strings)

Translation: Droidify/Localization
Translate-URL: https://hosted.weblate.org/projects/droidify/localization/uk/
2021-12-19 17:54:36 +01:00
b050669603 Translated using Weblate (Russian)
Currently translated at 98.8% (172 of 174 strings)

Translation: Droidify/Localization
Translate-URL: https://hosted.weblate.org/projects/droidify/localization/ru/
2021-12-19 17:54:36 +01:00
93d4d4d2ac Translated using Weblate (Czech)
Currently translated at 46.5% (81 of 174 strings)

Translation: Droidify/Localization
Translate-URL: https://hosted.weblate.org/projects/droidify/localization/cs/
2021-12-17 12:42:48 +01:00
5affec5d64 Translated using Weblate (Finnish)
Currently translated at 100.0% (174 of 174 strings)

Translation: Droidify/Localization
Translate-URL: https://hosted.weblate.org/projects/droidify/localization/fi/
2021-12-17 12:42:47 +01:00
b38b49a391 Translated using Weblate (German)
Currently translated at 100.0% (174 of 174 strings)

Translation: Droidify/Localization
Translate-URL: https://hosted.weblate.org/projects/droidify/localization/de/
2021-12-17 12:42:47 +01:00
f266d79f10 Translated using Weblate (French)
Currently translated at 100.0% (174 of 174 strings)

Translation: Droidify/Localization
Translate-URL: https://hosted.weblate.org/projects/droidify/localization/fr/
2021-12-17 12:42:46 +01:00
d85cedc6fe Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (174 of 174 strings)

Translation: Droidify/Localization
Translate-URL: https://hosted.weblate.org/projects/droidify/localization/nb_NO/
2021-12-17 12:42:46 +01:00
e639ecbdf5 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (174 of 174 strings)

Translation: Droidify/Localization
Translate-URL: https://hosted.weblate.org/projects/droidify/localization/zh_Hans/
2021-12-17 12:42:46 +01:00
b72a142714 Translated using Weblate (Turkish)
Currently translated at 100.0% (174 of 174 strings)

Translation: Droidify/Localization
Translate-URL: https://hosted.weblate.org/projects/droidify/localization/tr/
2021-12-17 12:42:45 +01:00
d026c2a309 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (174 of 174 strings)

Translation: Droidify/Localization
Translate-URL: https://hosted.weblate.org/projects/droidify/localization/pt_BR/
2021-12-17 12:42:45 +01:00
24334e409c Translated using Weblate (Italian)
Currently translated at 100.0% (174 of 174 strings)

Translation: Droidify/Localization
Translate-URL: https://hosted.weblate.org/projects/droidify/localization/it/
2021-12-17 12:42:45 +01:00
170c10e122 Translated using Weblate (Spanish)
Currently translated at 100.0% (174 of 174 strings)

Translation: Droidify/Localization
Translate-URL: https://hosted.weblate.org/projects/droidify/localization/es/
2021-12-17 12:42:44 +01:00
884d229b9d Translated using Weblate (Spanish)
Currently translated at 100.0% (174 of 174 strings)

Translation: Droidify/Localization
Translate-URL: https://hosted.weblate.org/projects/droidify/localization/es/
2021-12-17 12:42:44 +01:00
5b93063c1b Added translation using Weblate (Czech) 2021-12-16 17:31:36 +01:00
914a08ae55 Update: Room 2.3.0 -> 2.4.0
Update: Gradle 7.3.1 -> 7.3.2
2021-12-16 21:38:42 +05:30
be46cf2b8a Update: Navigation Dependencies to 2.4.0-rc01 2021-12-16 21:24:21 +05:30
8c7d1d65d9 Release 0.4.3 2021-12-16 02:34:11 +01:00
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
0aee431479 Add: Main navigation menu 2021-12-16 00:57:18 +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
330d562290 Update: Kotlin Version 1.6.0 -> 1.6.10
Update Gradle Version 7.3 -> 7.3.1
2021-12-15 12:38:42 +05:30
ebb77ffa71 Improve: Optimize Reload method (AppDetailAdapter) 2021-12-15 12:23:44 +05:30
b96c6a9e64 Translated using Weblate (Hindi)
Currently translated at 30.9% (52 of 168 strings)

Translation: Droidify/Localization
Translate-URL: https://hosted.weblate.org/projects/droidify/localization/hi/
2021-12-15 01:25:49 +01:00
34644f3de7 Add: The new ui layouts 2021-12-15 01:25:20 +01:00
3cb535866d Update: Restructure ui package 2021-12-15 01:23:48 +01:00
5677c66064 Release 0.4.2 2021-12-15 00:23:45 +01:00
a700d414e7 Fix: Bitcoin's icon tint 2021-12-14 02:17:26 +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
7fbb6fedaf Fix: Links' icon tint 2021-12-13 14:05:58 +01:00