Commit Graph

138799 Commits

Author SHA1 Message Date
Ahaan Ugale
9507e30c5b Update sensitiveNotificationAppProtection reference after move.
Bug: 309564730
Test: builds
Change-Id: I256eb8bd9e80a481ef1bffe22053f6fa668e5ee2
2024-02-12 18:21:00 +00:00
Oriol Prieto Gascó
6ceaa64fba Merge "Set the container field of aconfig flags" into main 2024-02-12 16:42:12 +00:00
Manish Singh
26c9a6c6f9 Merge "Fix Apps storage page to show apps for selected user only" into main 2024-02-12 10:41:00 +00:00
josephpv
1e6e14c2c5 Add check to not show PS unlock message when activity is recreated
The condition added with this change makes sure the toast message is
shown only once and to not show duplicate toast  evertime the activity
is recreated on screen rotation.

Recording link : b/324442522#comment2

Bug: 324442522
Test: Manual
Change-Id: I4e17384c1d02deacdd911195f014b0c8f1eb8833
2024-02-09 19:30:07 +00:00
Ravneet Dhanjal
50edf6755d Merge "Add camera extension fallback toggle" into main 2024-02-09 19:26:12 +00:00
Aditya Choudhary
01735e6b40 [DON'T BLOCK] Test ownership migration rules
This CL is created as a best effort to migrate test targets
to the new android ownership model. If you find incorrect or unnecessary
attribution in this CL, please create a separate CL to fix that.

For more details please refer to the link below,
go/new-android-ownership-model

Bug: 304529413
Test: N/A
Change-Id: I7fbd55a92f4302a6e03bcff0283737fd9295165d
Merged-In: I7fbd55a92f4302a6e03bcff0283737fd9295165d
2024-02-09 17:45:41 +00:00
Bill Yi
f7e54aab1f Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-02-09 17:42:22 +00:00
Aditya Choudhary
4f5c1ac5bc [DON'T BLOCK] Test ownership migration rules
This CL is created as a best effort to migrate test targets
to the new android ownership model. If you find incorrect or unnecessary
attribution in this CL, please create a separate CL to fix that.

For more details please refer to the link below,
go/new-android-ownership-model

Bug: 304529413
Test: N/A
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:3f65505208d57fa18be353f815c44fdd6f004f4b)
Merged-In: I7fbd55a92f4302a6e03bcff0283737fd9295165d
Change-Id: I7fbd55a92f4302a6e03bcff0283737fd9295165d
2024-02-09 16:54:41 +00:00
Aditya Choudhary
3f65505208 [DON'T BLOCK] Test ownership migration rules
This CL is created as a best effort to migrate test targets
to the new android ownership model. If you find incorrect or unnecessary
attribution in this CL, please create a separate CL to fix that.

For more details please refer to the link below,
go/new-android-ownership-model

Bug: 304529413
Test: N/A
Change-Id: I7fbd55a92f4302a6e03bcff0283737fd9295165d
2024-02-09 16:14:48 +00:00
Eran Messeri
8cff839cd7 Merge "Warn user when removing LSKF in the presence of auth-bound keys" into main 2024-02-09 13:05:18 +00:00
Manish Singh
8498f83141 Fix Apps storage page to show apps for selected user only
Currently only the personal and managed profile filters for the
respective profiles. And there's no filter to filter out the apps for
the private profile. This cl adds that filter and sets it for the
private profile user.

Bug: 317159160
Test: manual
Change-Id: Ia19171b1be73a061a598c2365c88e91ad2f8fec8
2024-02-09 11:29:58 +00:00
Yiling Chuang
cb33907736 Merge "Add a new tip type for wireless charging." into main 2024-02-09 03:44:37 +00:00
Treehugger Robot
2d84c6354b [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-mainline-prod am: 7102c78fcb -s ours
am skip reason: contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/26166251

Change-Id: I08ab13501cb9f18e1d04e5086297d50809e00f3a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-09 00:41:12 +00:00
Bill Yi
c71365c83b [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 3ca22c2264 -s ours
am skip reason: contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/26166251

Change-Id: I9637856a21900d133d870df877030065a1ede21d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-09 00:40:58 +00:00
Treehugger Robot
7102c78fcb Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-mainline-prod 2024-02-09 00:29:44 +00:00
Emilian Peev
1a56189eca Add camera extension fallback toggle
Android camera extensions
(https://source.android.com/docs/core/camera/camerax-vendor-extensions)
will be able to use SW fallback implementations
on devices that do not ship the corresponding
the device specific functionality.
Since the SW fallback will be using a new data
path, it was suggested that users must be able to
control and enable/disable the SW fallback
via the Settings app.

Bug: 297083874
Test: atest packages/apps/Settings/tests/unit/src/com/android/settings/privacy/CameraExtensionsFallbackPreferenceControllerTest.java

Change-Id: I1b97777babe1c9f4ea4f2f6ee3d8251fea11146e
2024-02-09 00:07:05 +00:00
Treehugger Robot
8fbe7d0999 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-qpr-dev am: 09a89e2771 -s ours
am skip reason: contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/26167193

Change-Id: I059410533357526bc719967d31260dbe00e13697
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-08 23:00:47 +00:00
Bill Yi
b562459996 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: a11618f1e5 -s ours
am skip reason: contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/26167193

Change-Id: Ie81aed76e26175fcb69cbe6484262f688f9ddb03
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-08 23:00:36 +00:00
Treehugger Robot
4db9f309ba [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-qpr-dev am: 1dc33e2d40 -s ours
am skip reason: contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/26167192

Change-Id: I93ac1473ec66be11969cd475107f5d9742395920
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-08 23:00:28 +00:00
Bill Yi
0aa9f5a3b3 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: e3372c4cda -s ours
am skip reason: contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/26167192

Change-Id: I8b40b18aa5c3ab876b3e5c29f555a3f4e1727d1d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-08 23:00:22 +00:00
Bill Yi
521eb76c79 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 4d6d1f66d3 -s ours
am skip reason: contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/26166814

Change-Id: I116a500f2a346104947e563203a32744ddef157c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-08 23:00:07 +00:00
Jay Sullivan
33173589ab Merge "[ECM] Declare MANAGE_ENHANCED_CONFIRMATION_STATES permission (Settings)" into main 2024-02-08 22:22:46 +00:00
Treehugger Robot
09a89e2771 Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-qpr-dev 2024-02-08 22:07:13 +00:00
Treehugger Robot
1dc33e2d40 Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-qpr-dev 2024-02-08 22:07:13 +00:00
Bill Yi
730bf706e4 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-02-08 20:56:31 +00:00
Bill Yi
8645d44e37 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-02-08 20:56:31 +00:00
Bill Yi
844f6fdccf [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: e36f8bf429 -s ours
am skip reason: contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/26166250

Change-Id: I135bebdfb29a5a3d6234d34cf3e8a51e859c6913
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-08 20:50:18 +00:00
Elliot Sisteron
c20d8d2977 Merge "Enable Safety Center & Security unit tests on presubmit." into main 2024-02-08 18:06:32 +00:00
Hyunho Shin
0516e24d34 Merge "Click the 'convert to eSIM' menu to finish the pSIM setting" into main 2024-02-08 17:27:49 +00:00
Elliot Sisteron
185542bd96 Enable Safety Center & Security unit tests on presubmit.
See b/323650746 and b/323649900 for issues that should’ve been caught by pre-submit.

Bug: 323649900
Bug: 323650746
Change-Id: I77d664b6fce6a3f76a4c9a6b39202f6e9d47da33
Test: atest SettingsUnitTests
2024-02-08 16:08:40 +00:00
Eran Messeri
a200371d1c Warn user when removing LSKF in the presence of auth-bound keys
When the user goes through the flow of removing the device's lockscreen
knowledge factor (LSKF), warn them in case they have apps with
auth-bound keys on the device. Auth-bound keys that are bound to the
LSKF's secure user ID (that is, auth-bound keys that can be
authenticated by the user entering their LSKF) will be invalidated
when the LSKF is removed.

That means apps will not be able to decrypt the data encrypted with
these keys or use them to sign anything anymore (potentially effectively
losing the user's ability to prove their identity).

In this case, change the warning message that is shown to the user,
to make it clear wallet apps (that typically use such keys) will stop
working as well as other apps.

Bug: 302109605
Test: Manual, enrolled a PIN, face and fingerprint and tried removing PIN.
      A CtsVerifier test will be added later.
Change-Id: I276b744f54763e291abe1f20824da4f8f156679d
2024-02-08 14:56:02 +00:00
Hyunho
2e53658089 Click the 'convert to eSIM' menu to finish the pSIM setting
Bug: b/319527964
Test: manual done

Change-Id: I07facccf53c5ee258f0148f64643eb6e1c3d9118
2024-02-08 13:49:20 +00:00
Manish Singh
3207f127dd Merge "Don't surface BiometricsSafetySource for private profile" into main 2024-02-08 12:55:40 +00:00
Chaohui Wang
14b8df172f Remove ExperimentalLifecycleComposeApi
Fix: 276310170
Bug: 271609607
Test: m Settings
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:8d220f064127826d0a5ec9b085d7cc7e49090dfb)
Merged-In: I8798f723bc821241d70fc8e5cb2c6ae59d7115af
Change-Id: I8798f723bc821241d70fc8e5cb2c6ae59d7115af
2024-02-08 09:49:32 +00:00
Bill Yi
e1ec5d5423 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Icf8edc8e40294683896f36892ff0ff0dd45cc566
2024-02-07 17:04:15 -08:00
Bill Yi
1d79d6af88 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1b3d4a546a9cdf32e7eb0a984c7c43b66eb25698
2024-02-07 16:52:15 -08:00
Bill Yi
010e4d90b5 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iee2eae8a9c0dedaaaef7671b6894521dc9565c68
2024-02-07 16:46:43 -08:00
Aman Gupta
3ed1950aa5 Merge "[String changes] Updating strings as per the suggestion in b/318837875." into main 2024-02-08 00:37:41 +00:00
Bill Yi
4d6d1f66d3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1334ce697598fabc251dd937c47036a90de7ff2a
2024-02-07 15:21:40 -08:00
Bill Yi
a11618f1e5 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I307d5a243bb3d7938ab89dc84b3446ab6ad193a4
2024-02-07 15:20:08 -08:00
Bill Yi
e3372c4cda Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4ac92be0e614f3f9ab28ba368696d4e396920831
2024-02-07 15:18:42 -08:00
Bill Yi
3ca22c2264 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9401863e8509fa2a2323a5d1dbe0d50bf2d949df
2024-02-07 15:17:13 -08:00
Bill Yi
e36f8bf429 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ifb619c4587cff45ae87e26d0f856424daa42708f
2024-02-07 15:15:45 -08:00
Prabir Pradhan
7db25ab210 Merge "Stylus: Introduce Show Stylus Hover Pointer Setting (2/2)" into main 2024-02-07 22:49:21 +00:00
Aman Gupta
2860559061 [String changes] Updating strings as per the suggestion in b/318837875.
Change-Id: I13a0fd0c46d918ca5dfba8158955c24879b01b47
Test: Manual
2024-02-07 21:36:03 +00:00
Oriol Prieto Gasco
ed2b12ce21 Set the container field of aconfig flags
Please see go/aconfig-flag-containers for more context

Test: m
Bug: 312769710
Change-Id: I828a1a1c5ab944283341ace924db97c4eadb7a7f
2024-02-07 20:00:41 +00:00
Omer Ozer
d91824db27 Disable nfc foreground tests when the role flag is disabled.
Bug: 315194263
Test: SettingsRoboTests:com.android.settings.nfc.NfcForegroundPreferenceControllerTest
Change-Id: I21037ac3323d4a0322c10450be0dfbb8c9d0d3a0
2024-02-07 19:04:03 +00:00
Joshua McCloskey
98374376cc Updating navigation view model
Test: atest com.android.settings.fingerprint2.ui.enrollment.modules.enrolling.rfps.viewmodel
com.android.settings.fingerprint2.ui.enrollment.viewmodel
com.android.settings.fingerprint2.ui.settings
com.android.settings.fingerprint2.domain.interactor
com.android.settings.fingerprint2.enrollment.viewmodel
Bug: 295205754

Change-Id: I210712ab76050b89452fb871cd2a4fb28bfd4012
2024-02-07 18:33:52 +00:00
Arnab Sen
e221abaa48 Stylus: Introduce Show Stylus Hover Pointer Setting (2/2)
Currently, the stylus hover icon can only be shown when
config_enableStylusPointerIcon is set to true. This means that the
users do not have a choice of turning the feature on or off.

This CL introduces the capability to do the same. This CL adds the
toggle in the StylusDevicesController to be shown when stylus is
connected. The toggle is mapped to the STYLUS_POINTER_ENABLED secure
setting which InputManagerService listens to turn on and off the stylus
pointer icon.

Test: manual
Steps:
1. Change the value of config_enableStylusPointerIcon as true.
2. Build the images and flash it to a stylus supporting device.
3. After the device is booted, hover over the screen, the stylus
   pointer should appear.
4. Go to Settings > Connected Devices > Stylus and tap on
   "Show pointer while hovering" toggle.
5. Try hovering over the screen, check no pointer icon is shown
6. Repeat Step#4, check that stylus pointer appears.

Run
- make RunSettingsRoboTests \
      ROBOTEST_FILTER=StylusDevicesControllerTest
- atest SettingsProviderTest

Change-Id: Idfff9b4307370cc510a5f94bd57777c30c96e854
2024-02-07 17:46:18 +00:00
YK Hung
ca4565083f Merge "Add AOSP smart battery entries" into main 2024-02-07 15:23:43 +00:00