Commit Graph

143 Commits

Author SHA1 Message Date
Rahul Patel
a68d1b276d Add optional app lock behind biometric or device credential
Implements a full app lock (issue #1313) gating Aurora Store behind the
device biometric or, where unavailable, the screen-lock credential
(PIN/pattern/password) so it also works on TVs and older phones.

- AppLockManager: process-scoped, in-memory lock state so a cold start is
  always locked, with a short background grace timeout to avoid
  re-prompting during the install dialog or the biometric sheet itself.
- AppLockAuthenticator: BiometricPrompt wrapper using
  BIOMETRIC_STRONG | DEVICE_CREDENTIAL on API 30+ and
  setDeviceCredentialAllowed on older releases, plus an enrollment check.
- ComposeActivity (now a FragmentActivity) gates content via a three-state
  machine (AUTHENTICATING/LOCKED/UNLOCKED); the authenticating state shows
  a blank surface behind the prompt so dismissing it never flashes the
  lock card. Re-locks on return past the timeout and sets FLAG_SECURE
  while locked.
- Toggle lives on a dedicated Security preference screen, reached from
  Settings like the other preference entries.
2026-05-30 15:25:27 +05:30
Rahul Patel
bae9233b27 Update viewmodel to reflect gplayapi changes 2026-05-29 01:31:48 +05:30
Rahul Patel
59d297386c compose: trim themes, attrs and gradle deps for compose-only UI
Drops the legacy AuroraTheme styles, custom attrs and now-unused
styles_widget/styles_text overlays. Updates the dark/light themes,
strings, arrays, dimens and colors to match what the Compose screens
consume. Adds ic_logo_alt and tweaks the launcher/logo drawables.
Trims gradle dependencies tied to the removed Fragment/Epoxy stack.
2026-05-19 12:14:44 +05:30
Aayush Gupta
33752d0a4f Update Gradle and dependencies
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2026-05-05 11:28:57 +08:00
Aayush Gupta
ecfbe20722 Upgrade to AGP 9.2.0
Building is still broken on encrypted linux file systems but that's seems to be not a priority
for Google to fix

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2026-05-05 11:12:18 +08:00
Aayush Gupta
4ab2626ec1 libs: Bump to latest release of dependencies
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2026-04-26 10:55:39 +08:00
Aayush Gupta
f9ca15eea4 libs: Update to latest dependencies
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2026-04-08 13:16:05 +08:00
Aayush Gupta
77a7123147 libs: Bump gplayapi and ktlint to latest releases
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2026-03-16 15:15:19 +08:00
Aayush Gupta
dcd638522d Bump Gradle and dependencies to latest release
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2026-03-12 14:24:23 +08:00
Aayush Gupta
7f3243fd74 Bump dependencies to latest stable release
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2026-03-05 20:03:07 +08:00
Rahul Patel
9599485f46 bump gplayapi to 3.5.8 2026-02-16 21:21:05 +05:30
Aayush Gupta
e98e1a26e1 Downgrade to AGP 8.13.2
Building is broken on ecnrypted linux

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2026-02-13 17:15:47 +08:00
Aayush Gupta
36e84fb5d9 libs: Update dependencies to latest release
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2026-02-13 16:11:04 +08:00
Aayush Gupta
c4ded75b2a Update Gradle and libs to latest stable release
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2026-02-10 17:10:14 +08:00
Aayush Gupta
7b4b00c851 Bump dependencies to latest releases
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2026-01-29 19:14:36 +08:00
Aayush Gupta
ed2a316b4e Upgrade AGP to 9.0.0
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2026-01-29 19:10:10 +08:00
Aayush Gupta
ae0bf05860 fixup! gradle: Update Gradle to 9.3.0
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2026-01-22 17:23:28 +08:00
Aayush Gupta
6977512dea gradle: Update Gradle to 9.3.0
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2026-01-21 15:02:24 +08:00
Aayush Gupta
27e5cdc0cd Bump to latest dependencies
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2026-01-16 11:34:46 +08:00
Aayush Gupta
b5b73f557b ktlint: Setup and format kotlin scripts
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-12-30 11:29:52 +08:00
Aayush Gupta
2cffe8a411 Bump to latest version of dependencies
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-12-22 13:10:00 +08:00
Aayush Gupta
a68acce413 Bump to latest stable dependencies
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-12-13 16:00:18 +08:00
Aayush Gupta
e2e589ea6b Bump to latest dependencies
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-12-05 14:47:45 +08:00
Aayush Gupta
41b12cfbd8 Bump all dependencies to latest stable release
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-11-30 18:49:00 +08:00
Aayush Gupta
300aa5ae3f Bump Gradle to 9.2.1
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-11-23 07:06:45 +08:00
Aayush Gupta
3708fc3c9d Bump to latest stable dependencies
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-11-20 15:42:28 +08:00
Aayush Gupta
a705c33a8e Bump to latest stable AGP release
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-11-12 16:31:31 +08:00
Aayush Gupta
972a2541bc Bump dependencies to latest releases
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-11-09 19:17:40 +08:00
Aayush Gupta
5a19fedcf7 Bump to latest stable Gradle
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-11-09 19:12:12 +08:00
Aayush Gupta
2543c32231 Bump to latest version of dependencies
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-10-25 00:38:33 +08:00
Aayush Gupta
bde20f6677 libs: Bump to latest stable dependencies
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-10-09 14:37:03 +08:00
Aayush Gupta
711e523234 libs: Bump dependencies to latest stable release
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-29 15:43:59 +08:00
Aayush Gupta
87c0678ad9 gradle: Bump to Gradle 9.1.0
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-23 15:29:08 +08:00
Aayush Gupta
68bd4a6bc5 libs: bump to latest dependencies
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-16 22:35:48 +05:30
Aayush Gupta
e1b3f5be73 compose: downloads: Initial migration
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-16 15:49:56 +05:30
Aayush Gupta
edd599fe95 fixup! Bump to latest dependencies
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-11 16:36:33 +08:00
Aayush Gupta
f46fde8596 Bump to latest dependencies
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-11 14:55:49 +08:00
Aayush Gupta
8547ff64ce compose: Switch to new library for hiltViewModel
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-08 14:06:30 +08:00
Aayush Gupta
cf69552f85 Bump to latest stable AGP and dependencies
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-04 15:50:37 +08:00
Aayush Gupta
9fdabaac45 Bump dependencies to latest releases
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-08-30 19:14:28 +08:00
Aayush Gupta
7c705aef2b libs: Bump hilt to 2.57.1
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-08-26 16:09:43 +08:00
Aayush Gupta
3f621d6b07 Switch to android's text formatter class for download speed formatting
Also drop unused dependency upon lifecycle process

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-08-25 22:31:30 +08:00
Aayush Gupta
2f93879c1d compose: navigation: Migrate from navigation2 to navigation3
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-08-21 15:59:31 +08:00
Aayush Gupta
cf75e9f9f1 REUSE compliance [1/*]
Resolve license and copyright issues for all files other than the "app/" module

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-08-21 14:45:44 +08:00
Aayush Gupta
d4179319f4 Bump to latest stable dependencies
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-08-20 10:14:42 +08:00
Aayush Gupta
1e4820d53d Bump minSdk to API 23 with latest dependencies
androidx now requires API 23

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-08-20 10:14:42 +08:00
Aayush Gupta
e792c57943 libs: Bump compose material3 to latest stable
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-08-20 10:14:42 +08:00
Aayush Gupta
a37485080f Bump compose-material3 to latest alpha
The library hasn't hit a stable release in over an year by now

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-08-20 10:14:42 +08:00
Aayush Gupta
097f5a7375 compose: Initial migration of AppDetails* logic to compose [2/*]
Deprecate setting to hide similar and related apps as they will be always
listed in the suggestions pane on widescreen devices

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-08-20 10:14:40 +08:00
Aayush Gupta
f6f858e9f5 compose: Initial migration of AppDetails* logic to compose [1/*]
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-08-20 10:13:29 +08:00