Commit Graph

311 Commits

Author SHA1 Message Date
Aayush Gupta
0a27b007d4 Set missing displayName and iconArtwork for shared libraries
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-05-31 23:04:29 +08:00
Evengard
dbc12d7445 Implementing installation of dependent libraries before installing the main package 2023-05-31 12:26:47 +00:00
Aayush Gupta
574390e89f fixup! Read system xml blacklist as default
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-05-31 16:53:11 +08:00
Rahul Patel
6f50826953 Do not expose anonymous emails 2023-05-30 21:40:16 +05:30
Aayush Gupta
1b9eea69f0 fixup! Handle account UI login UI progress better 2023-05-28 10:47:00 +05:30
Aayush Gupta
cd3cd6f9b7 Handle account UI login UI progress better
* Show server down error message on 503 status
* Don't allow users to click another login option if another login is in progress
* Reset progress bar's visibility properly

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-05-28 01:13:13 +05:30
Aayush Gupta
d9dd90df32 BlacklistViewModel: Don't filter for packages to be enabled again
getPackageInfoMap method already filters values based on PREFERENCE_UPDATES_EXTENDED
preference. Doing this again here without any check results in loss of
ability to blacklist disabled apps.

Credits: https://gitlab.com/AuroraOSS/AuroraStore/-/merge_requests/205

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-05-25 14:41:20 +05:30
Aayush Gupta
020819d7a6 Partial revert: AuthViewModel: Search in custom tab by default in anonymous accounts
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-05-23 22:26:23 +05:30
Aayush Gupta
70a40d4f76 fixup! BaseDetailsActivity: Switch from Html to HtmlCompat 2023-05-23 19:43:15 +05:30
Aayush Gupta
f905821ee9 Don't query bundles if response code is 429
Recyeclerview is set to keep querying results automatically on scroll
or if results are less than 10

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-05-22 10:23:57 +05:30
Aayush Gupta
3b79aa2407 MainActivity: Switch to FragmentContainerView for navigation
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-05-21 10:58:24 +05:30
Aayush Gupta
eaa82f5e8b SpoofActivity: Ensure permission and directories exist before exporting device config
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-05-19 10:44:24 +05:30
Aayush Gupta
40eae4da75 Add fallback for external installers
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-05-19 00:35:45 +05:30
Aayush Gupta
28a6758087 Switch to ActivityResultContracts for requesting permissions
QuickPermissions hasn't been updated since past few years hinting its
deprecated status

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-05-18 16:42:04 +05:30
Aayush Gupta
794fb1d261 Update libsu to latest version
Migrate from su to cmd method as su has been deprecated

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-05-18 11:18:13 +05:30
Aayush Gupta
6ef16a840d Drop dependency upon expansionpanel library
Deprecated

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-05-18 11:10:24 +05:30
Aayush Gupta
00e93f53f6 Switch to StaggeredGridLayoutManager for accents
Gives almost same effect as FlexLayoutManager and is part of recyclerview
library letting us drop an additional dependency

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-05-18 10:24:00 +05:30
Aayush Gupta
dbaf577f2a Drop dependency upon apache's commons-text
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-05-15 14:33:35 +05:30
Aayush Gupta
66d0f54ec9 Drop dependency upon apache's commons-io library
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-05-15 13:55:40 +05:30
Aayush Gupta
0bef2e3da7 fixup! AuthViewModel: Search in custom tab by default in anonymous accounts 2023-05-05 10:08:37 +05:30
Aayush Gupta
e116839d94 AuthViewModel: Search in custom tab by default in anonymous accounts
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-05-04 12:13:35 +05:30
Aayush Gupta
6b2f22350c Add preference to open custom tab for searching apps
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-05-04 12:13:34 +05:30
Aayush Gupta
614f367977 Add new advanced preference page
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-05-04 12:13:34 +05:30
Aayush Gupta
75eaba4c6e Update exodus trackers's JSON file
Fetched using postman via https://reports.exodus-privacy.eu.org/api/trackers endpoint

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-05-04 12:13:34 +05:30
Aayush Gupta
88b3878afd fixup! treewide: Move lambda argument out of parentheses for livedata observeables 2023-05-04 12:13:34 +05:30
Aayush Gupta
e4a7b14ce6 fixup! FilterSheet: Switch to setOnCheckedStateChangeListener 2023-05-03 16:46:23 +05:30
Aayush Gupta
9713eefdd7 FilterSheet: Switch to setOnCheckedStateChangeListener
setOnCheckedChangeListener is deprecated

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-05-01 20:15:16 +05:30
Aayush Gupta
8b7a5f9608 RootInstaller: Ensure sessionId is non-null
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-05-01 20:05:38 +05:30
Aayush Gupta
11ba1be403 BaseView: Switch to non-null upper bound
Type parameter 'T' has nullable upper bound, so override has incorrect signature comparing with a base member with NotNull annotation.
Please add a non-nullable upper bound (e.g. Any) to the type parameter.
See https://kotlinlang.org/docs/generics.html#upper-bounds and https://youtrack.jetbrains.com/issue/KT-36770 for more details.
This warning will become an error soon.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-05-01 20:05:38 +05:30
Aayush Gupta
730e71037c RequestBuilder: Drop inline from functions
Expected performance impact from inlining is insignificant

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-05-01 20:05:38 +05:30
Aayush Gupta
b75a408ab9 BaseDetailsActivity: Switch from Html to HtmlCompat
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-05-01 20:05:38 +05:30
Aayush Gupta
943a1c2d49 Glide: Drop unused transitionOptions parameter
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-05-01 20:05:37 +05:30
Aayush Gupta
f3d5f627e7 Switch from onBackPressed to onBackPressedDispatcher
onBackPressed is deprecated

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-05-01 20:05:33 +05:30
Aayush Gupta
eac0a95d06 Glide: Switch from ViewTarget to CustomViewTarget
ViewTarget has been deprecated

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-05-01 18:17:33 +05:30
Aayush Gupta
695e1a59e0 Address PackageInfo and VersionCode deprecation warnings
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-05-01 13:35:01 +05:30
Aayush Gupta
5a7615691b Switch to Material3 theme
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-04-30 12:20:52 +05:30
Aayush Gupta
7864beea6f Update URLs
- TOS URL redirects to play.google.com
- blob mode offers better formatting compared to raw
- Redirect to the valid FAQ page on wiki

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-04-30 12:20:52 +05:30
Aayush Gupta
4b6a9b9aa9 Switch to CustomTabs instead of launching browser
Provides a better UX

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-04-30 12:20:52 +05:30
Aayush Gupta
4391e485c3 Add option for system accent
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-04-30 12:20:52 +05:30
Aayush Gupta
ad1a893d8b Save 1st theme during onboarding
There is no theme 0 which results in showing wrong accent preference
in customization settings if user doesn't selects a theme manually
during onboarding.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-04-30 12:20:52 +05:30
Aayush Gupta
9d978852ae Apply proper margin between accents
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-04-30 12:20:52 +05:30
Aayush Gupta
4a6553f13c treewide: Move lambda argument out of parentheses for livedata observeables
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-04-30 12:20:52 +05:30
Aayush Gupta
af4ec831b6 treewide: Replace get call with indexing operator for viewmodels
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-04-30 12:20:52 +05:30
Aayush Gupta
59f0a75b93 DevProfilActivity: Drop useless cast
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-04-30 12:20:51 +05:30
Aayush Gupta
be9efa74c5 Drop unused parameters treewide
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-04-30 12:20:51 +05:30
Aayush Gupta
90d48af71e Drop incompatiable java annotations
Both Nullable and NonNull are java annotations and doesn't work on Kotlin.
Drop them to make lint happy.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-04-30 12:20:51 +05:30
Aayush Gupta
f54e1e13ad Switch to IntentBuilder's constructor for specifying parameters
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-04-30 12:20:51 +05:30
Aayush Gupta
3fe0ea719e Switch from toLowercase() to lowercase() method
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-04-30 12:20:51 +05:30
Aayush Gupta
163ecd146b fixup! SpoofDeviceProvider: Filter packed .properties with specific regex
We cannot rely on name of the file as on non-debug builds, resource optimization
renames the filename to a random string. Thus, we read the said property file
and only consider it if it has a valid UserReadableName.
2023-04-25 14:03:26 +05:30
Aayush Gupta
e8fcb85727 Show shimmer animation while fetching search results
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-04-24 15:38:14 +05:30