Commit Graph

75 Commits

Author SHA1 Message Date
Rahul Patel
9f813d965b fix linting issue & add new icon 2026-05-30 18:41:31 +05:30
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
eada663bfb compose: use ic_refresh icon on retryable error placeholders 2026-05-29 01:31:48 +05:30
Rahul Patel
5c6bcd6361 compose: housekeeping 2026-05-19 16:40:37 +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
a35a6c18ce compose: details: Build and show updateable version in compose manually
Works properly on RTL and LTR layouts

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2026-01-12 17:31:17 +08:00
Aayush Gupta
6767ed7ea7 compose: exodus: Add back button to request new anaylsis
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-12-03 13:39:54 +08:00
Aayush Gupta
709e0ec1ca compose: Migrate onboarding logic to compose
* Still needs implementation for showing microG installation screen on huawei
* No anonymous mode on huawei
* Needs handling for showing permissions screen via settings

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-11-30 18:49:14 +08:00
Aayush Gupta
8212566dbf compose: about: Initial migration
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-18 15:35:16 +05:30
Aayush Gupta
9721b55bdf compose: downloads: Replace text button with icons
Text can be quite long in translations, better use icons

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-18 12:38:03 +05:30
Aayush Gupta
b993700f8f compose: accounts: Initial migration
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-09-18 12:17:21 +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
6cdb744099 compose: search: Bring back filters for search results
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-08-25 16:02:15 +08:00
Aayush Gupta
8ddba3d52c fixup! res: drawable: Restore tint for view-based screens
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-08-24 12:55:50 +08:00
Aayush Gupta
8f3e45b12b res: drawable: Restore tint for view-based screens
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-08-23 16:32:17 +08:00
Aayush Gupta
62e81da258 compose: Initial migration of searching logic to compose
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
3a23088525 compose: blacklist: Minor changes to menu
Drop leading icons as they look odd

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
Aayush Gupta
71bad1e9b1 AppDetailsFragment: Drop uninstall menu action
Uninstall action is showed as a secondary action already when the
app is installed

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-06-30 11:11:02 +08:00
Aayush Gupta
a9b2f0acf2 compose: Replicate BlacklistFragment in compose
Introduce a new activity to host composables as View system behaves
quite bad when composable are used inside it.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-02-16 15:07:47 +08:00
Aayush Gupta
516af19172 AppDetailsFragment: Implement compatibility section using plexus
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-01-11 17:41:33 +07:00
Aayush Gupta
cc6bb5a2a6 colors: Drop unused colors
Use white and transparent colors from android package

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2025-01-02 12:21:41 +07:00
Aayush Gupta
825ed174b2 SettingsFragment: Add preference for permissions fragment
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-12-31 13:51:06 +07:00
Aayush Gupta
5df88b7f2f AppDetailsFragment: Add missing icons for size and update tags
Also use normal assist chip style instead of elevated, looks better

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-12-18 22:33:51 +07:00
Aayush Gupta
fd134096c8 view_toolbar_search: Switch to native toolbar for search
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-12-18 22:08:22 +07:00
Rahul Patel
d3d30100a0 Blacklist: Add support for import & export 2024-12-05 20:25:06 +05:30
Rahul Patel
5209620cc4 AppDetails: Move action buttons to top of page
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-12-03 16:35:42 +08:00
Rahul Patel
4f46817a54 AppDetails: Fix ActionButton color 2024-09-12 12:41:07 +05:30
Rahul Patel
7f3ec54a35 Improve text style & appearance [1/2] 2024-09-12 12:41:07 +05:30
Rahul Patel
20b507b029 Dynamic colors [2/2] 2024-09-02 03:23:24 +05:30
Rahul Patel
3546ed8a54 Dynamic colors [1/2] 2024-08-31 02:33:07 +05:30
Rahul Patel
2f30d53312 Address filter sheet color issue 2024-08-14 18:19:28 +05:30
Aayush Gupta
8aeec0c082 AppDetailsFragment: Add data safety section
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-29 23:42:00 +07:00
Rahul Patel
2b65eeb742 Resource house keeping + color cleanup 2024-07-29 01:11:16 +05:30
Rahul Patel
460f65518d AppDetails: Make badge divider thick & small 2024-07-29 01:11:12 +05:30
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
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
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
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
925cfac7c9 Add details about Aurora Store in welcome and about fragments
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-06-09 20:45:33 +05:30
Aayush Gupta
dd5f443e1f AboutFragment: Add link to GitLab wiki
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-06-01 11:16:47 +05:30
Aayush Gupta
453f6f24c2 Initial support for third-party dispensers
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-06-01 09:46:20 +05:30
Aayush Gupta
c3963519e0 MainActivity: Move navigation drawer items into dialogfragment
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-04-16 10:37:38 +05:30
Aayush Gupta
f939e20e35 Refresh icons with latest material icons
* Try to keep bottom navigation bar icon as filled

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-02-28 11:38:57 +05:30
Aayush Gupta
42c182bdb7 Revert "AppUpdateView: Show icons on incompatible updates buttons"
This reverts commit d4552007a7.
2024-02-15 17:27:21 +05:30
Aayush Gupta
d4552007a7 AppUpdateView: Show icons on incompatible updates buttons
- Slashed circle: Disabled
- Shield with a cross: Fails certificate verification

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-02-12 15:03:42 +05:30
Aayush Gupta
9845e74700 menu_details: Show uninstall button as action
Requested by people

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-01-08 20:38:50 +05:30
Aayush Gupta
f851a5ad3e Improvements to download progress UI
Switch to LinearProgressIndicator where possible and show an indeterminate
progress bar while download progress is below 1%

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-31 15:54:05 +05:30