Commit Graph

138731 Commits

Author SHA1 Message Date
Mark Kim
194d7f7687 Disable APP_ARCHIVING flag for specific test
APP_ARCHIVING flag was introduced to control archiving feature in
Settings separately from OS.
The broken test was expecting archiving feature flag be disabled but it
didn't take into account a newly introduced flag which was automatically
rolled out in ag/26270549

Test: InstalledAppCounterTest
Bug: n/a
Change-Id: I253cf7e6b28c9f1508c3f9fd1104fdb06b8706c2
2024-02-22 16:18:59 +00:00
Olivier Nshimiye
75ada354ed Merge "Add a toggle for enabling/disabling sensitive lockscreen notifications for Private Space" into main 2024-02-22 14:22:33 +00:00
Treehugger Robot
f515a0a440 Merge "Update the datetime page UI" into main 2024-02-22 13:57:09 +00:00
Hani Kazmi
544e471ec2 Update missed ECM Settings tests
Bug: 297372999
Test: atest BluetoothDetailsRelatedToolsControllerTest
      AppInfoDashboardFragmentTest
Change-Id: Icd83b70b0621f71cc4a253375c65ff6cce34b672
2024-02-22 13:51:36 +00:00
Chris Göllner
617c1275bb Merge "Settings - Move Activity embedding split min width config to resources" into main 2024-02-22 12:30:55 +00:00
Olivier Nshimiye
baecaee2a5 Add a toggle for enabling/disabling sensitive lockscreen notifications for Private Space
This adds a toggle in the Private Space Settings page to control the
lockscreen sensitive notifications for the private profile.
Sensitive notifications for private profile will still be disabled if
sensitive notifications are disabled for the main user.

Demo link:https://drive.google.com/file/d/1--LNXziTRTMvfdsJZAh90SiNiPxWNcI8/view?usp=sharing

Bug: 317067050
Test: atest SettingsUnitTests:HidePrivateSpaceSensitiveNotificationsControllerTest

Change-Id: Ie7f18c1a940e5ffd64112a01c48ac9dee58cb1ab
2024-02-22 11:10:54 +00:00
Chaohui Wang
d86cf5e4ca Rename to SettingsDropdownBox
Bug: 326172568
Test: manual - on APN edit
Change-Id: If8c1b2646c585bc4ce99ac950503372f13f5b382
2024-02-22 16:00:34 +08:00
SongFerng Wang
3bc291a3c5 Merge "To extend the character limit for Automatic data switching" into main 2024-02-22 06:15:37 +00:00
Fan Wu
a26f628213 Merge "Fix SurveyMixinTest" into main 2024-02-22 06:02:19 +00:00
Treehugger Robot
59e7d60fb4 Merge "[Shadow] Fix failed test case for battery defender" into main 2024-02-22 05:30:25 +00:00
Joshua McCloskey
0aefad8859 Fixed fingerprint enroll test
Test: atest FingerprintEnrollIntroductionTest
Fixes: 326325883
Change-Id: Ib0d0ebff90d401861fa0663403fc2366cd308f22
2024-02-22 03:47:30 +00:00
Jason Chiu
ddc11bc03a Replace getCallingActivity() with getLaunchedFromPackage()
getLaunchedFromPackage() reports who launched this Activity or built
PendingIntent used to launch it, whereas getCallingActivity() reports
who will get result of Activity.

Bug: 316891059
Test: robotest, manual
Change-Id: If97018c2741caef622f0596bbfeaa42ef1788b78
Merged-In: If97018c2741caef622f0596bbfeaa42ef1788b78
(cherry picked from commit 901880a1d2)
2024-02-22 03:43:50 +00:00
pajacechen
a20232d7a1 [Shadow] Fix failed test case for battery defender
- Fix failed test case in BatteryInfoTest and BatteryDefenderTipTest

Test: http://ab/I73800010248910938
Bug: 315748218
Change-Id: Iaa01a1d777236b7772fa762c94ab094246c38f21
2024-02-22 11:28:44 +08:00
Chelsea Hao
a9178952ae Merge "Add auto on toggle in settings." into main 2024-02-22 02:53:16 +00:00
Wu Ahan
888d636cfa Merge "Refactor SfpsEnrollmentFeatureImplTest" into main 2024-02-22 02:14:30 +00:00
Angela Wang
df14dcd437 Merge "Update footer string for hearing device related pages" into main 2024-02-22 01:13:44 +00:00
Joshua Mccloskey
5d6ed31261 Merge "Adding biometric FRR Notification atom." into main 2024-02-22 01:04:07 +00:00
David Liu
1eaffc3f57 Merge "[Two-pane] Fix keyboard navigation issue, searchbar not able to be selected." into main 2024-02-22 00:54:15 +00:00
Jigar Thakkar
f73494e784 Merge "Use SetScreenLockDialogActivity to power screen lock setup prompt" into main 2024-02-22 00:09:16 +00:00
Bill Yi
1dcaca0925 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I3b8f1a51ba36d13d5196d03285a996b76016652c
2024-02-21 16:01:20 -08:00
Bill Yi
68a3d6d43b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib744cd2e4b704e9eb6ed03ae3be21429fbb23f82
2024-02-21 16:00:27 -08:00
Bill Yi
5c8799994d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iac5066bd452c29cf0c7ebe8f9de2cd0596061d22
2024-02-21 15:58:17 -08:00
Bill Yi
ec4a97273e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I203013b067c0807d9d102c3fe76a6b82d5d3a002
2024-02-21 15:56:24 -08:00
Bill Yi
643cfdb205 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iefec5f23be16eb15d1bf1fc2e3fe0b32de9a0a4f
2024-02-21 15:06:49 -08:00
Treehugger Robot
12f99280a0 Merge "Drop platform_apis from android_library" into main am: ff6f53b24a am: 2605622758
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2971233

Change-Id: Ica708b747589d0daf7c4f62554cb03755b573668
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-21 19:43:11 +00:00
Hani Kazmi
05427e6903 Merge changes from topics "ecm-manager", "ecm-tests" into main
* changes:
  Replace ECM AppOps call with service
  Wired remaining SpecialAppAccess for ECM.
2024-02-21 19:29:04 +00:00
Treehugger Robot
2605622758 Merge "Drop platform_apis from android_library" into main am: ff6f53b24a
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2971233

Change-Id: I193568ec0dc8884dfa0be634e90b26295658aee8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-21 19:09:57 +00:00
Treehugger Robot
ff6f53b24a Merge "Drop platform_apis from android_library" into main 2024-02-21 18:29:16 +00:00
Tyler Saunders
d561342dc3 [automerger skipped] Merge "Remove ExperimentalLifecycleComposeApi" into udc-mainline-prod am: 0ca44d1772 -s ours
am skip reason: Merged-In I8798f723bc821241d70fc8e5cb2c6ae59d7115af with SHA-1 5d8fea06b1 is already in history

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

Change-Id: Ic230691c42477be55486d7985663ce340bb6acb3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-21 18:04:13 +00:00
Chaohui Wang
a69da9f52f [automerger skipped] Remove ExperimentalLifecycleComposeApi am: 14b8df172f -s ours
am skip reason: Merged-In I8798f723bc821241d70fc8e5cb2c6ae59d7115af with SHA-1 5d8fea06b1 is already in history

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

Change-Id: I778f22bc0e735d6720763baf654e254e2437100e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-21 18:04:02 +00:00
Tyler Saunders
0ca44d1772 Merge "Remove ExperimentalLifecycleComposeApi" into udc-mainline-prod 2024-02-21 17:11:33 +00:00
Chaohui Wang
7d58a1f3e8 Merge changes from topic "ApnTypeCheckBox" into main
* changes:
  Correct the APN type check box
  Fix cannot update APN settings in new edit page
2024-02-21 15:56:41 +00:00
Chris Göllner
83f0adc5c0 Settings - Move Activity embedding split min width config to resources
On some devices the values need to be configured to be different than
the default.

Bug: 326215764
Test: Manual
Change-Id: I56a3a6608a4ac4eaf7d7dede4f6cb4278638f29c
2024-02-21 15:14:30 +00:00
Hani Kazmi
206300962f Replace ECM AppOps call with service
A new ECM service was introcuded in changeId
I831391e4437b51b3312b5273a2360bd029a3d8ee.

We begin calling it, and update/cleanup method signatures to match.

Note: There are two feature flags:

1. enhancedConfirmationModeApisEnabled - read only, protects the
   mainline API.

2. extendEcmToAllSettings - runtime - gates calls to the above APIs.

We use both so we can ramp up in teamfood as needed.

Bug: 297372999
Test: Tested on device
Test: atest SpaPrivilegedLibTests
Test: atest com.android.settings.applications.specialaccess.notificationaccess
Test: atest com.android.settings.datausage
Test: atest PremiumSmsAccessTest
Test: atest RestrictedPreferenceHelperTest
Change-Id: I945ec51df5cd63de548a8ffdd1acc4f09f2301e5
2024-02-21 14:43:02 +00:00
Spandan Das
266a9a503c Drop platform_apis from android_library
This property is a no-op for this module type.

Test: m nothing
Bug: 215379393
Change-Id: I73811c70c4191eb6005a5f365f0b1c149d30564b
2024-02-21 14:37:30 +00:00
Treehugger Robot
560f2499c7 Merge "Add settings search synonyms for touchpad." into main 2024-02-21 12:55:16 +00:00
Ben Murdoch
59a3ed3f38 Add settings search synonyms for touchpad.
Also fixes a bug in TrackpadTouchGestureSettings that used the wrong
preference ID for search indexing.

Bug: 300611520
Test: Verified on device
Flag: NA
Change-Id: I62ccf6d0b410be977f59f101edc5c42233d9474a
2024-02-21 11:38:45 +00:00
Chaohui Wang
93b0dfbff5 Correct the APN type check box
- Correct the pre checked set.
- Correct when read only apn types is set.
  Gray out the read only types, if user try to select them, make a toast
  to tell user this type is not allowed by carrier.

Fix: 326172568
Test: manual - on APN edit
Change-Id: I9c2dac5adf7c16f53d255f7ead215e45c29aa491
2024-02-21 19:07:17 +08:00
Chaohui Wang
6664870eb8 Fix cannot update APN settings in new edit page
Fix: 326164397
Test: manual - edit existing APN
Test: unit test - existing tests still pass
Change-Id: I92a2e375b990f0e478dbb30c389371a8e0596608
2024-02-21 18:14:20 +08:00
Yiyi Shen
27fb853173 [Audiosharing] Gates legacy le audio sharing UI in sound Settings.
Bug: 322295262
Test: atest
Change-Id: I5f58858ebc419be7aa6cc6f188b0722b5ace4392
2024-02-21 09:47:42 +00:00
Ze Li
bfaa3398bb Merge "[Hide DCK devices] Hide DCK devices from settings app (available devices section)." into main 2024-02-21 08:59:19 +00:00
Yiyi Shen
a6525e9fcd Merge "[Audiosharing] Impl audio sharing feature provider in Settings" into main 2024-02-21 07:16:07 +00:00
Angela Wang
ca1917b688 Update footer string for hearing device related pages
Users sometimes will confuse why their device is not shown on hearing device related pages. Describe more that only ASHA and LE Audio hearing aids will be listed in
these pages to let them know the reason.

Bug: 326167961
Test: build pass, only simple string update
Change-Id: I624c7a23e98c04f0a659742f63465918a45bb888
2024-02-21 06:09:05 +00:00
SongFerng Wang
86db475673 To extend the character limit for Automatic data switching
Bug: 326154869
Change-Id: I115de46ce19789c812d455b9e79449a8fedda890
Test: NA
2024-02-21 03:44:33 +00:00
Jason Chiu
ff98aac59f Merge "Replace getCallingActivity() with getLaunchedFromPackage()" into main 2024-02-21 01:12:23 +00:00
Nate Jiang
efcf1b7f05 Move to new read only flag
Mainline module can only support read-only flag now

Bug: 325521253
Test: TH
Change-Id: I4514fcd21560f95084ed3c9da1a0a9b13c625c91
2024-02-20 16:14:17 -08:00
David Liu
55969e59c1 [Two-pane] Fix keyboard navigation issue, searchbar not able to be selected.
- make search toolbar focusable
- set next tab navigation element to homepage_container

Bug: 324420544
Test: manual
Change-Id: I2783b7540d954f7adf64c6ac3e90d91c196646c5
2024-02-20 23:20:30 +00:00
Jigar Thakkar
5bbc1166f3 Use SetScreenLockDialogActivity to power screen lock setup prompt
With this change, we move to using SetScreenLockDialogActivity to enable
the prompt to set up the screen lock. This prompt is shown whenever
someone taps the private space settings page option to either
setup/unlock the space. We will also be using the same dialog prompt in
other places in the framework
(UserManagerService.requestQuietModeEnabled) as well.

Test: atest PrivateSpaceAuthenticationActivityTest
Bug: 316129700
Flag: android.multiuser.show_set_screen_lock_dialog
Change-Id: Ib9fe009d3b36e0eea242fbf894e616b1efcb9d6b
2024-02-20 19:46:54 +00:00
Julia Reynolds
03c08da4b1 Experiment: hide unused channels in settings
behind a 3-dot menu. "unused" in this case means a channel that is not blocked but also hasn't sent a notification in the last 2 weeks

Test: manual
Flag: com.android.server.notification.notification_hide_unused_channels
Bug: 322536537
Change-Id: I99f5a61411c9b3a567fd7517f0bf7ea33bb7637c
2024-02-20 14:24:39 +00:00
songferngwang
192f95ee5e Changing the SettingsOutlinedTextField's shape
Bug: 318310357
Bug: 298898436
Bug: 298891941
Test: build pass
Change-Id: I24de2f78844744fd9cc663f45598f6fdf7b897be
2024-02-20 08:31:07 +00:00