Commit Graph

986 Commits

Author SHA1 Message Date
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
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
a180207b24 Resolve Android resource validation errors
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
1d4333d189 Add dedicated lint config and ignore missing translations
Translations are done by volunteers when possible, so no need to make it an error.
Also our translation platform has issues for now that makes it a legit case to be ignored.

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
c511abe712 4.2.2
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-04-28 18:37:53 +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
Aayush Gupta
2e024150de Notify user when they are ratelimited
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-04-24 15:38:09 +05:30
Aayush Gupta
2daa434dea SpoofDeviceProvider: Filter packed .properties with specific regex
Certain build time files also ends with .properties extension that results in
showing null otherwise. We are only shipping files supplied to us from
gplayapi library, so filter them with a matching regex.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-04-24 12:31:45 +05:30
Aayush Gupta
53854a8a67 Bump gplayapi to 3.1.0
Also, override required responseCode StateFlow for HttpClient

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-04-24 12:31:40 +05:30
Aayush Gupta
b590edacce Switch to tagged gplayapi and protobuf-javalite
- Going forward we aim to tag the gplayapi for better versioning.

- 3.0.1 which is the current version uses protobuf-javalite causes
  issues when used with protobuf-java, so also switch to lite.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-04-22 22:00:57 +05:30
Aayush Gupta
797f0eb2b0 Rework exit logic
- If drawer is open, always close it first (existing)
- If drawer is closed, quick exit is enabled, close the app (only on apps, games or updates fragment)
- If drawer is closed, quick exit is disabled, ask to press back twice (existing)

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-04-20 21:17:57 +05:30
Aayush Gupta
a78287c006 Switch to setupWithNavController and selectedItemId for navigation
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-04-20 11:15:45 +05:30
Aayush Gupta
04ae2cb91d Create notification channels prior to starting service
We don't need notification permission to start services however
channels must still exist and notification must be sent regardless.

Trying to do this in service results in crash, thus do it before
service is triggered.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-04-19 23:43:34 +05:30
Aayush Gupta
c4f84bd0c9 Add missing dependencies for dummy tests
We will have tests later on, add back missing dependencies
for starters to fix broken project compilation

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-04-19 09:24:59 +05:30
Aayush Gupta
9f4be705c3 4.2.1
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-04-14 08:14:29 +08:00
Aayush Gupta
77dc6f4ffe Keep GSON's TypeToken
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-04-11 14:22:58 +08:00
Aayush Gupta
56c142bf9e Enable forward button on 4th screen
!175 added a new check to enable forward button that broke
4th screen after !147 was merged. This check enables the 4th
button that has special handling.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-04-11 13:14:37 +08:00
Aayush Gupta
a6d9f95619 4.2.0
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-04-08 18:37:07 +05:30
Aayush Gupta
55972cf0a0 Merge branch 'skip-setup' into 'master'
Show TOS on launch and allow skipping permissions fragment

See merge request AuroraOSS/AuroraStore!147
2023-04-08 12:38:53 +00:00
Aayush Gupta
315cbe0063 Merge branch 'adaptive-icon' into 'master'
add adaptive icon

See merge request AuroraOSS/AuroraStore!202
2023-04-08 05:01:51 +00:00
fischer-felix
4c3bb0f172 Add adaptive icon 2023-04-08 05:01:51 +00:00
Aayush Gupta
2b04c54e25 Merge branch 'onbarding-enable-forward-button' into 'master'
Enable Forward Button on Onboarding when going back

See merge request AuroraOSS/AuroraStore!175
2023-04-08 04:54:09 +00:00
Aayush Gupta
fb4a4aa787 Bump dependencies to latest stable release
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-04-08 00:18:23 +05:30
Aayush Gupta
cba0a5f794 Bump to latest stable AGP and Gradle version
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-04-08 00:18:23 +05:30
Oliver Scott
e2f651ccb9 Set session installer package source to STORE type 2022-12-19 18:47:00 +01:00
Rahul Patel
42d0d89368 Merge branch 'master' into 'master'
Allow for better localization

See merge request AuroraOSS/AuroraStore!190
2022-09-25 01:12:03 +00:00
Rahul Patel
451f396c79 Merge branch 'default-blacklist' into 'master'
Read system xml blacklist as default

See merge request AuroraOSS/AuroraStore!150
2022-09-24 00:59:27 +00:00
Rahul Patel
f4499c7edb Merge branch 'esix4rmyy-master-patch-99159' into 'master'
Update app/src/main/res/values-it/strings.xml

See merge request AuroraOSS/AuroraStore!186
2022-09-24 00:56:10 +00:00
Rahul Patel
21317cb2da Merge branch 'fix-background-tabs-onboarding' into 'master'
Use Stroke Color for Background of Onboarding Tabs

See merge request AuroraOSS/AuroraStore!177
2022-09-24 00:55:12 +00:00
Ingo Brückl
e6dc9fefdd Increase the update button width
Depending on the localization, the text may not fit into
the button and may be unreadable or difficult to read.
2022-08-31 21:22:24 +02:00
Ingo Brückl
b7ee3ab70a Enable localization of download time related strings 2022-08-30 08:29:23 +02:00
Ingo Brückl
302f062417 Enable localization of the title of available updates
Choose also a suitable string in singular or plural.
2022-08-30 08:02:58 +02:00
Ingo Brückl
42ffd1a49e Enable localization of session related strings 2022-08-30 07:52:27 +02:00
Aayush Gupta
852cba87b1 Add permission and guard for notifications on Android 13
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2022-08-29 19:33:56 +05:30
Aayush Gupta
298fcb1150 Use external storage access description for storage manager as well
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2022-08-29 15:10:35 +05:30