Commit Graph

1156 Commits

Author SHA1 Message Date
Rahul Patel
83d9895f17 AppDetailsFragment: House Keeping 2024-07-11 11:50:43 +07:00
Rahul Patel
7110a4a77b Improve viewbinding - [3/3] 2024-07-11 11:44:25 +07:00
Rahul Patel
4919fbd4db Improve viewbinding - [2/3] 2024-07-11 11:44:25 +07:00
Rahul Patel
47760b7407 Improve viewbinding - [1/3] 2024-07-11 11:44:23 +07:00
Aayush Gupta
cb4f36c2d5 treewide: Optimize imports
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-11 11:43:09 +07:00
Aayush Gupta
ede4b46c6e fixup! model: Relocate State and Enumerations to model package
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-11 11:41:27 +07:00
Rahul Patel
a2fef6a897 Improve - Installed Apps, Updates & Blaclists 2024-07-11 11:41:25 +07:00
Rahul Patel
a43779ed79 Stash updates 2024-07-11 11:40:12 +07:00
Rahul Patel
c16ae15540 Stash categories + code improvements 2024-07-11 11:38:50 +07:00
Rahul Patel
8a12ffcd96 Add stashing to SubCategory Streams 2024-07-11 11:38:50 +07:00
Rahul Patel
6f425fe641 Experiment with stashing 2024-07-11 11:38:49 +07:00
Rahul Patel
2325b6e4a3 POC: Retain streambundle across fragment navigations 2024-07-11 11:38:49 +07:00
Rahul Patel
c6850b176e Show downloads & ratings, size no longer available on web apis 2024-07-11 11:38:49 +07:00
Rahul Patel
bdf5658acf Fetch data from web-api for anonymous logins 2024-07-11 11:38:49 +07:00
Rahul Patel
ad64bb1055 Initial web-helper migration 2024-07-11 11:38:49 +07:00
Aayush Gupta
21dacd8167 Drop dependency upon EventBus library
Migrate to sharedflow instead which are built within kotlin to
avoid an external dependency

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-11 10:50:46 +07:00
Aayush Gupta
d75f70590a ExportWorker: Show notification on export status when finished
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-10 18:29:13 +07:00
Aayush Gupta
294df7aa41 Switch to an expedited worker to export apps & downloads
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-10 12:55:40 +07:00
Aayush Gupta
cf8d3c7832 fixup! Filter: Relocate and change to data class
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-09 17:44:17 +07:00
Aayush Gupta
919aa21b57 model: Relocate State and Enumerations to model package
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-09 17:12:01 +07:00
Aayush Gupta
6cce4d6dd0 Filter: Relocate and change to data class
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-09 17:09:32 +07:00
Aayush Gupta
4e5ac631db PackageUtil: Consider debug application ID as well when filtering apps
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-09 13:10:30 +07:00
Aayush Gupta
a702f4f24c ExodusDataProvider: Migrate to hilt
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-09 13:02:55 +07:00
Aayush Gupta
b7f2eaa7e3 data: work: Add required doc-comments for all workers
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-09 12:36:58 +07:00
Rahul Patel
dc51987f08 MoreDialogFragment: Move X on dialog to far right 2024-07-09 11:22:16 +07:00
Aayush Gupta
81d3b15ce2 Add favourites apps [2/2]
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-09 11:22:16 +07:00
Rahul Patel
bbedb30d46 Add favourites apps [1/2]
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-09 11:22:16 +07:00
Aayush Gupta
e7767c9abf UpdateWorker: Only auto-update apps when possible
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-02 14:41:07 +07:00
Aayush Gupta
5245fb4af5 InstallerStatusReceiver: Remove package from installation queue when done
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-06-27 17:14:44 +05:30
Rahul Patel
37b3d2f2db DetailsFragment: Do not enqueue download if app is not supported
- This would be more relevant when we migrate to web APIs
 - Web stream are not device specific so it may list unsupported apps
2024-06-26 23:50:58 +05:30
Rahul Patel
18dd3480cf Update download every 5% progress to avoid noise 2024-06-25 23:04:23 +05:30
Rahul Patel
8857353029 OOBE: Restart app after onboarding to renew permission scopes [1/2] 2024-06-25 22:02:31 +05:30
ggabr
3615c39163 AuroraListPreference: Consider the defaultReturnValue in getPersistedString method
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-06-21 01:10:36 +05:30
Aayush Gupta
a9d1667405 AuthViewModel: Use auth validation logic from AuthProvider
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-06-19 12:49:34 +05:30
Aayush Gupta
df3056cc43 AuthProvider: Inject it via hilt where needed
- Merge validation function in it as well instead of using it as an extension
- Use dedicated preference to check if we are anonymous or not instead of authData

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-06-19 12:31:34 +05:30
Aayush Gupta
56cd89086a PackageUtil: Filter packages which are apps
* Last commit's message is wrong :P

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-06-17 19:00:37 +05:30
Aayush Gupta
05d9f279c9 BlacklistViewModel: Filter packages which are not apps
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-06-17 18:55:44 +05:30
Aayush Gupta
0fdef34baf DownloadFragment: Drop non-required SwipeRefreshLayout
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-06-17 12:06:22 +05:30
Aayush Gupta
18c0c94253 UpdateWorker: Avoid auto-updating Aurora Store
Some users have complained that Aurora Store gets stuck in a loop of
updating again and again. Let people update it manually from the Updates tab.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-06-17 11:55:32 +05:30
Aayush Gupta
7f32b9078e LinearProgressIndicator: Fixes for new M3 design
* Since 1.12.0, LinearProgressIndicator uses new M3 design that doesn't plays well with install and ratings for us
* Switch both back to old style using new Widget.Material3.LinearProgressIndicator.Legacy style
* Additionally drop trackCornerRadius and switch to custom background with clipToOutline for download as the class
  now has a bug that messes with style

Keep downloads to follow new M3 design

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-06-13 22:00:50 +05:30
Aayush Gupta
f70fe21cc0 fixup! view_toolbar_search: Add button to clear searchView's text
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-06-13 10:40:29 +05:30
Aayush Gupta
1bc396598e view_toolbar_search: Add button to clear searchView's text
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-06-12 16:33:04 +05:30
Aayush Gupta
27c5d657ef SearchResultsFragment: Avoid fetching search results again on back
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-06-12 14:39:58 +05:30
Aayush Gupta
1fc5f3b87b FilterPreference: Drop persistant search filter setting
Filters should persist for a single search only to ensure users can view all available
apps when starting a new search

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-06-12 10:25:17 +05:30
Aayush Gupta
df90a8d8ed SearchResultsFragment: Clear filters onDestroy instead
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-06-12 10:25:11 +05:30
Aayush Gupta
590e325753 SessionInstaller: Enqueue sessions using SessionInfo class
Cleaner as well as avoid scenarios where download object gets overwritten by next
enqueued install resulting in wrong information

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-06-11 17:56:30 +05:30
Aayush Gupta
c92c4220d7 InstallerStatusReceiver: Pass required data as extra instead of parcel
Old Android versions experience a crash otherwise for some reason

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-06-11 17:56:30 +05:30
Aayush Gupta
d8ba59ad53 InstallerStatusReceiver: Override appropriate onReceive method
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-06-11 14:24:34 +05:30
Aayush Gupta
66045bceac Context: Drop leftovers of custom tab intent
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-06-11 12:15:33 +05:30
Aayush Gupta
8173105353 Context: Drop unused extensions
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-06-11 12:10:47 +05:30