Rahul Patel
50b32101af
NotificationUtil: update download cancel intent
2025-03-07 18:24:10 +05:30
Rahul Patel
e958a84a33
DownloadWorker: improve download interrupt scene
...
- if user cancels download, purge downloaded APKS + temps
- if download is interrupted, say due to network or space constraint, retain downloads & inform failure
TODO:
- add retry/resume download option
2025-03-07 18:24:10 +05:30
Rahul Patel
330762d86d
DownloadWorker: more work
2025-03-07 18:24:10 +05:30
Rahul Patel
46d4322976
DownloadWorker: simplify & improve code [2/2]
2025-03-07 18:24:10 +05:30
Rahul Patel
667017aec6
DownloadWorker: simplify & improve code [1/2]
...
TODO:
- Reduce notification frequency, create too many notifications resulting in notification actions being inaccesible.
- Its a bad practive to bombard system with notification redraws
2025-03-07 18:24:10 +05:30
Aayush Gupta
3d8706da0b
fixup! NetworkProvider: improvements + workaround for Android L
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2025-03-07 18:24:10 +05:30
Rahul Patel
9561f617d7
DownloadWorker: minor notification tweak
2025-03-07 18:24:10 +05:30
Rahul Patel
8af3fde374
DownloadWorker: improve file verification
2025-03-07 18:24:10 +05:30
Rahul Patel
b867d4a527
DownloadWorker: fix download status misinformation
...
-- cancellation ≠ failure
-- report cause of other failures
2025-03-07 18:24:10 +05:30
Rahul Patel
41a4db751c
NetworkProvider: improvements + workaround for Android L
2025-03-07 18:24:10 +05:30
Rahul Patel
76b6551247
SessionInstaller: minor improvements
...
-- also fixes https://gitlab.com/AuroraOSS/AuroraStore/-/issues/1151
2025-03-07 18:24:10 +05:30
Aayush Gupta
4fb38e8361
store: Switch to kotlin extension method for converting String to Uri
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2025-03-06 17:50:58 +05:30
Aayush Gupta
e17c78e107
PackageUtil: Capture all exceptions when checking archived status
...
Packages can be hidden using DevicePolicyManager leading to getArchivedPackage
throwing IllegalArgumentException.
Ref: https://developer.android.com/reference/android/app/admin/DevicePolicyManager.html#setApplicationHidden(android.content.ComponentName,%20java.lang.String,%20boolean)
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2025-03-05 18:07:55 +05:30
Aayush Gupta
9b23b18b3e
store: ctx -> context
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2025-02-22 11:47:07 +08:00
Aayush Gupta
302c232ad1
fixup! compose: Replicate BlacklistFragment in compose
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2025-02-22 11:37:06 +08:00
Aayush Gupta
dd1b1bff4b
composables: Add missing preview for app bars
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2025-02-22 11:31:14 +08:00
Rahul Patel
676fd89146
OOBE: another attemp to fix issues on Android 11 & 12
2025-02-21 23:27:41 +05:30
Aayush Gupta
6aa94b2a81
UpdatesPreference: Hide frequency and restriction pref as needed
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2025-02-18 16:07:23 +08:00
Aayush Gupta
5c7289381f
UpdatesPreference: Allow to configure automated updates constraints
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2025-02-18 15:56:16 +08:00
Aayush Gupta
86d085fe55
preferences: Relocate certain perference classes to dedicated package
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2025-02-18 14:51:49 +08:00
Aayush Gupta
076b6ad291
NetworkPreferences: Simplify proxy setup yet again
...
* Allow to view and edit proxy URL without turning it off and on
* Add a new disable button in proxy dialog
* Trim whitespace and disallow new lines in the proxy URL field
* Disable buttons when not applicable
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2025-02-18 14:46:42 +08:00
Aayush Gupta
a9b2f0acf2
compose: Replicate BlacklistFragment in compose
...
Introduce a new activity to host composables as View system behaves
quite bad when composable are used inside it.
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2025-02-16 15:07:47 +08:00
Aayush Gupta
f4434c02fb
theme: Relocate to compose directory
...
Also apply missing copyright and license header
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2025-02-16 15:07:47 +08:00
Aayush Gupta
50241ed376
compose: Replicate epoxy views with composables
...
Jetpack compose allows creating custom views easily without third-party
libraries. Replicate all epoxy custom views with compose to be able to
replace it easily in future when and where ever required.
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2025-02-16 15:07:47 +08:00
Aayush Gupta
66e6bdb38f
Revert "PackageUtil: Load package infos in smaller chunks"
...
This reverts commit 1aeae36fc0 .
* Will be fixed with paging3
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2025-02-16 15:07:47 +08:00
ggabr
68628e8fd0
Export the database schema
...
Also set .gitlab-ci.yml to publish them at every build for convenience.
The exports should be committed (manually) to the git repository right after an
increase in database version.
Having the exports enables using autoMigrations when possible, for the future
database migrations.
2025-02-16 07:34:24 +01:00
Aayush Gupta
00cc84a2db
Merge branch 'gabr/dbMigr1-2-3' into 'master'
...
Database, support migration from v1 and v2
Closes #1279
See merge request AuroraOSS/AuroraStore!440
2025-02-14 05:38:26 +00:00
Aayush Gupta
40524c7379
NetworkPreference: Make microG login configurable for users
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2025-02-11 13:15:47 +07:00
ggabr
6e3913d8e6
Database, support migration from v2 to v3
...
SQL code taken (and verified and adapted) from
https://gitlab.com/ggabr/AuroraStore/-/jobs/9073627105/artifacts/external_file/app/schemas/com.aurora.store.data.room.AuroraDatabase/3.json
2025-02-07 14:31:55 +01:00
ggabr
a04acce906
Database, support migration from v1 to v2
...
SQL code taken (and verified and adapted) from
https://gitlab.com/ggabr/AuroraStore/-/jobs/9073120823/artifacts/external_file/app/schemas/com.aurora.store.data.room.AuroraDatabase/2.json
2025-02-07 14:14:51 +01:00
Aayush Gupta
516269e830
AuroraApp: Configure logging level for debug builds
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2025-02-05 15:57:03 +07:00
Aayush Gupta
84d980b1ac
Revert "PackageUtil: Filter out shared libraries from packages list"
...
This reverts commit 0bc8e76f9f .
2025-02-04 23:22:54 +07:00
Aayush Gupta
bb5da23409
view: ui: Fix search button visibility on top fragments
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2025-01-30 17:11:13 +07:00
Rahul Patel
1aeae36fc0
PackageUtil: Load package infos in smaller chunks
...
-- This fixes issue with loading apps when number of apps on device is fairly very large
2025-01-28 02:26:09 +05:30
Rahul Patel
52e8b0891b
SearchResult: Fix filter fab moving up on IME visibility change
...
Fixes: https://gitlab.com/AuroraOSS/AuroraStore/-/issues/1256
2025-01-28 01:20:09 +05:30
Aayush Gupta
e3ebbe37d2
Move hilt injected objects into viewmodels everywhere
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2025-01-23 20:06:23 +07:00
Aayush Gupta
fdafdd39ad
MinimalHeaderView: Drop unused custom view
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2025-01-21 16:43:30 +07:00
Aayush Gupta
29ec9280c2
HorizontalDividerView: Drop unused custom view
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2025-01-21 16:34:36 +07:00
Aayush Gupta
bfb650f0c4
fixup! Remove non-functional pages - EditorChoise, Library, PurchaseHistory
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2025-01-21 16:28:42 +07:00
Aayush Gupta
5d8e614c4b
fixup! NoAppView: Use string resources directly to show messages
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2025-01-20 23:34:28 +07:00
Aayush Gupta
c4b859f32d
NoAppView: Use string resources directly to show messages
...
Also localize "No apps available" string
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2025-01-19 11:53:37 +07:00
Aayush Gupta
baf08d600b
ExportWorker: Split FGS notification ID from export notification ID
...
On old Android versions, WorkManager runs expedietd works on FGS and it
automatically removes the notification when work is finished resulting in
users never seeing the export finished notification.
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2025-01-14 11:28:32 +07:00
Aayush Gupta
1cb1905b48
AppsGamesFragment: Localize header string for installed apps
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2025-01-14 10:12:46 +07:00
Aayush Gupta
b749920e40
PermissionsFragment: Use string resources for app links too
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2025-01-14 10:07:39 +07:00
Aayush Gupta
34833abb50
DownloadWorker: Avoid passing download data as input
...
Parsing the data otherwise pukes error on old Android versions due to size
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2025-01-12 09:26:54 +07:00
Aayush Gupta
d69ec391ed
DispenserFragment: Add missing navigation listener
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2025-01-12 09:09:01 +07:00
Aayush Gupta
4e0fc54d6e
DevInfoLayout: Switch to property access syntax everywhere
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2025-01-11 17:54:58 +07:00
Aayush Gupta
516af19172
AppDetailsFragment: Implement compatibility section using plexus
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2025-01-11 17:41:33 +07:00
Aayush Gupta
df10c8b5eb
fixup! AppDetails: Fix user review + minor cleanup
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2025-01-04 14:01:39 +07:00
Aayush Gupta
1be5944c8b
AppPeekDialogSheet: Delete unused and unimplemented feature
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com >
2025-01-02 12:59:26 +07:00