Commit Graph

1114 Commits

Author SHA1 Message Date
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
52fce86131 Update dependencies
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-05-18 09:37:47 +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
f0c1074afd Merge branch 'master-patch-0a1b' into 'master'
Fix changelog

See merge request AuroraOSS/AuroraStore!207
2023-05-10 14:21:48 +00:00
Anael Mobilia
317b96b58b Fix changelog 2023-05-10 08:00:11 +00:00
Aayush Gupta
5664494a1d Apply ribbon to debug and nightly variant's launcher icon
Create a noticeable difference between nightly, debug and stable

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-05-08 16:09:17 +05:30
Aayush Gupta
6fb0c7dc9b Switch to updated docker fork of gitlab-ci-android
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-05-08 14:25:07 +05:30
Aayush Gupta
d9f1b36e3a Enable java language 17 features
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-05-08 14:25:07 +05:30
Aayush Gupta
87a960c475 Bump to AGP 8.0.1
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-05-08 14:25:07 +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
ba9991c3a7 Merge branch 'patch-1' into 'master'
Dependency updates and accessibility improvements

See merge request AuroraOSS/AuroraStore!204
2023-05-02 11:48:14 +00:00
Patryk Mis
79b3645a3a Label icons for accessibility
Signed-off-by: Patryk Mis <foss@patrykmis.com>
2023-05-02 12:31:00 +02:00
Patryk Mis
d741967b5b Set Java version with Gradle toolchain
Java version should be consistent for all tasks

"It has been possible to configure Gradle to build a project
with a different Java version than the one used to run Gradle. However,
it has required configuring each task like compilation, test, and javadoc separately.
Gradle 6.7 introduces “Java toolchain support”. In a nutshell,
it allows you to run Gradle with whatever version of Java you have installed,
while Gradle builds the project with the version of Java declared in a single place.
Gradle will automatically configure the build, detect already installed
JDKs and download the required JDK if it is not already installed."

More at https://blog.gradle.org/java-toolchains

Signed-off-by: Patryk Mis <foss@patrykmis.com>
2023-05-02 12:30:56 +02:00
Patryk Mis
4a078c5f42 Update dependencies
Signed-off-by: Patryk Mis <foss@patrykmis.com>
2023-05-02 12:18:40 +02:00
Patryk Mis
f6dbcb12f6 Update Kotlin
Signed-off-by: Patryk Mis <foss@patrykmis.com>
2023-05-02 12:16:46 +02:00
Patryk Mis
eb193c0ab0 Update Gradle to v7.6.1
All Gradle wrapper files were updated as per instructions from Android Gradle Plugin's release notes (with one exception explained below):

gradlew wrapper --gradle-version 7.6.1 --distribution-type bin --gradle-distribution-sha256-sum 6147605a23b4eff6c334927a86ff3508cb5d6722cd624c97ded4c2e8640f1f87

--gradle-distribution-sha256-sum switch ads additional verification of downloaded Gradle distribution (as explained at https://docs.gradle.org/current/userguide/gradle_wrapper.html#sec:verification) for security reasons.

Version 7.6.1 is the latest from v7.x.x series, which is supported by the Android Gradle Plugin v7.4.2.
It contains various improvements and fixes documented at https://docs.gradle.org/7.6.1/release-notes.html.

Keeping up to date with the latest versions is good practice for various reasons, including (but not limited to) potential security fixes.

Signed-off-by: Patryk Mis <foss@patrykmis.com>
2023-05-02 11:22:27 +02:00
Aayush Gupta
6e4c3c500b strings: Add missing postitions of substitutions
Multiple substitutions specified in non-positional format of string resource string/app_list_rating. Did you mean to add the formatted="false" attribute?

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-05-01 20:17:13 +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
45c1011bd1 dash: Switch to better subtitles
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-05-01 11:57:49 +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
aad9395d50 README: Update FAQs URL
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-04-30 12:20:52 +05:30
Aayush Gupta
c8c4e26477 README: Drop unreachable supported section
URL is unreachable and website seems to have major changes

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
5c79d6ac7a Switch to white color for tab and accent indicator
They seem to work the best across all accent colors

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
211ad47d10 Move all ignored lint warnings into lintConfig
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-04-30 12:20:51 +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
f6235fe414 Bring in ktlint to format code
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
93c4e4787e Disable verbose output when running kapt
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-04-30 12:20:51 +05:30