Commit Graph

138799 Commits

Author SHA1 Message Date
Aman Gupta
61649100c9 Updating strings as per the suggestion in b/318837875.
Change-Id: Ia5d9fd68ee009bad99344a6a31f7370f4edcbd54
Test: Manual
2024-02-01 21:19:45 +00:00
Beverly Tai
29c3b87546 Merge "Update fold setting illustrations" into main 2024-02-01 21:14:16 +00:00
Ahmad Khalil
92fb442d09 Merge "Fix notification vibration demos in settings" into main 2024-02-01 13:59:24 +00:00
Bill Yi
16462ab00f [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-qpr-dev am: dc549ff191 -s ours
am skip reason: contains skip directive

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

Change-Id: If9504c382bb0f73ff3411b9ef87cae0310a41e6f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-01 13:53:53 +00:00
Bill Yi
d49fbdd697 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: e1a2a0f164 -s ours
am skip reason: contains skip directive

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

Change-Id: Ia9fd060f000f814b808e0ca93f965d16f4d64b54
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-01 13:53:46 +00:00
Bill Yi
798751d4cd [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: e99d19cd85 -s ours
am skip reason: contains skip directive

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

Change-Id: I12b56068bb6d3e126a7328eb37a64a5c7e5eec72
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-01 13:53:27 +00:00
Ze Li
b68ccb0d79 [Hide DCK devices] Hide DCK devices from settings app (other devices section).
Set preferences of DCK devices to be invisible in other devices section.

Test: atest: com.android.settings.bluetooth.ConnectedBluetoothDeviceUpdaterTest
Bug: 322285078
Change-Id: I13572250f6e1d6b1562a052a0c25e8af60eba9cd
2024-02-01 21:28:22 +08:00
Bill Yi
dc549ff191 Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-qpr-dev 2024-02-01 13:20:30 +00:00
Ze Li
25128d1102 [Hide DCK devices] Hide DCK devices from settings app (saved devices page).
Set preferences of DCK devices to be invisible in saved devices page.

Test: atest: com.android.settings.bluetooth.SavedBluetoothDeviceUpdaterTest
Bug: 322285078
Change-Id: I9bd38c1866f469f3c0395b77f935f7eb143ec70c
2024-02-01 20:32:32 +08:00
Joseph Vincent
47abd1ba60 Merge "Add Private space Delete settings page inside PS settings page" into main 2024-02-01 10:12:14 +00:00
Hao Dong
c9aaa73b51 Show split screen dialog on the introduction and enrolling page.
Revert ag/22361082 and ag/22460413, show the split screen dialog on
the introduction and enrolling page, instead of relying on the callers
to show the dialog.

Test: atest BiometricsSplitScreenDialogTest
Test: atest FaceEnrollIntroductionTest
Test: atest SetupFingerprintEnrollIntroductionTest
Bug: 299573056

Change-Id: Ieb106a4a623ad5ca0e6eb1633413df75767bef52
2024-02-01 08:36:04 +00:00
Jason Chiu
901880a1d2 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
2024-02-01 14:35:59 +08:00
Adam Bookatz
84bc8a918d Settings: Profiles inherit call restrictions
Currently, if Settings applies CALLS or SMS restrictions to a user, that
restriction doesn't propogate to its child profiles. It should.

This is actually a no-op right now, since it's not possible to have a
profile on a user that isn't the Admin user anyway. But one day such a
thing may be allowed, so this implementation is more future-proof and
safer.

Test: Manual verification that applying the restriction continues to
work properly a full user
Test: UserDetailsSettingsTest
Bug: 261469887

Change-Id: Ib19cecbd37b6efc90f9655565295e7856427f049
2024-01-31 16:14:38 -08:00
SongFerng Wang
5fa73d14ab Merge "[Sim UI enhancement] remove the "Tap to show info"" into main 2024-01-31 19:53:35 +00:00
SongFerng Wang
35b3ad939c Merge "[Sim UI enhancement] MobileNetworkSettings UI enhancement" into main 2024-01-31 19:50:39 +00:00
josephpv
e1a2c82db3 Add Private space Delete settings page inside PS settings page
Contains implementation of settings page for Delete private space
controller inside private space settings page.
- On selecting to delete private space displays list of account signed in
to private profile and deletes the private space after authentication.
- Shows a toast message after private space is deleted

- Adds dependency for setupdesgin loading layout to show a loading
  screen while deletion of private space is in progress.

Recording Link : b/318383729
go/ss/4Aq3rmbSGHMHesK.png

Bug: 318383729
Test: atest DeletePrivateSpaceControllerTest

Change-Id: Ia1730915e2469b47823c507f9ef6cd8f63c99baf
2024-01-31 19:29:13 +00:00
Jacky Wang
2651a6ff69 Support "Independent system keyboard haptics settings"
Bug: 308387862
Change-Id: Iebb67a80859d08a059261a30dc64acef395f43a1
Test: manual test
2024-02-01 03:06:33 +08:00
Treehugger Robot
dfa229a1cb [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-mainline-prod am: 72df0d20a9 -s ours
am skip reason: contains skip directive

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

Change-Id: Iec65d1a0d79951e9040e1a26c0ae3b18a421cd3f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-31 18:36:14 +00:00
Bill Yi
642136a043 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: fecbcac5cf -s ours
am skip reason: contains skip directive

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

Change-Id: I27bbfc71a4b1885f7bd4faea2e2e2c35fecf2f54
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-31 18:36:03 +00:00
Bill Yi
3b6b68ca4b [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 7083fedd9b -s ours
am skip reason: contains skip directive

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

Change-Id: I4d49bdd7a07d70df507a537b0ad5c3607f3c33f4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-31 18:34:37 +00:00
Treehugger Robot
72df0d20a9 Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-mainline-prod 2024-01-31 18:08:28 +00:00
Beverly
78d5efebdb Update fold setting illustrations
Flag: ACONFIG fold_lock_setting_enabled TRUNKFOOD
Flag: ACONFIG com.android.internal.foldables.flags.fold_grace_period_enabled TRUNKFOOD
Test: manually check settings pages
Fixes: 319857292
Change-Id: If0e9b8ae9be29a65ce03b030105bf74e41ea845c
2024-01-31 16:05:43 +00:00
SongFerngWang
c6eba747db [Sim UI enhancement] remove the "Tap to show info"
Bug: 318310357
Bug: 298898436
Bug: 298891941

Test: atest PhoneNumberPreferenceControllerTest
atest ImeiInfoPreferenceControllerTest
atest SimEidPreferenceControllerTest

Change-Id: Iadd82173b55b8f66409c1ff056dd4c323d6dcc35
2024-01-31 11:14:38 +00:00
Ahmad Khalil
4504f0ace4 Fix notification vibration demos in settings
While in zen mode, notification vibrations are ignored. These vibrations will also be ignored when attempting to demo the vibration intensity in settings.

Adding FLAG_BYPASS_INTERRUPTION_POLICY to the attributes of the vibration preview, to allow it to bypass the interruption policy and demo the vibration intensity as expected.

Fix: 301319836
Test: N/A
Change-Id: I240a896ff8e9516388a0238882db07f9680a184a
2024-01-31 10:45:55 +00:00
Bill Yi
e1a2a0f164 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: If98d3ff31e422f5e52d27f3faafb57402c3a7427
2024-01-31 00:51:05 -08:00
Bill Yi
e99d19cd85 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia6925d0bfc9475932b9a441d7619bc888836583c
2024-01-31 00:47:49 -08:00
Bill Yi
fecbcac5cf Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2fc11584bd33e92ae5a7b503a0c1c9466223abd5
2024-01-31 00:45:20 -08:00
Bill Yi
7083fedd9b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I3a91aefaedc27c182f1150c78a5df71fa8dd0523
2024-01-31 00:43:53 -08:00
SongFerngWang
8535539582 [Sim UI enhancement] MobileNetworkSettings UI enhancement
- Add the phone number
- Add the mobile network(SPN)
- Add the IMEI
- Add the EID
- Remove the mobile data
- Remove the Auto data switch
- Remove the calls and SMS default subscription

Bug: 318310357
Bug: 298898436
Bug: 298891941

Test: atest MobileNetworkEidPreferenceControllerTest
atest MobileNetworkImeiPreferenceControllerTest
atest MobileNetworkPhoneNumberPreferenceControllerTest
atest MobileNetworkSpnPreferenceControllerTest
atest MobileDataPreferenceControllerTest
atest MobileNetworkSettingsTest

Change-Id: Ie2767056dd04d1131390e3a03d6d82d56fe5b2dc
2024-01-31 07:45:28 +00:00
Xin Li
c7e0649c2e [automerger skipped] Merge "Merge Android 24Q1 Release (ab/11220357)" into aosp-main-future am: 6387b7e6b2 -s ours
am skip reason: Merged-In If21ca5e914a5ee5aff3fbeeee9595bb77a8fc3d0 with SHA-1 40d9abb773 is already in history

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

Change-Id: Iab2a0d257e1ee92e71cbae270368e48e58637578
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-31 02:08:23 +00:00
Xin Li
ef99c20d88 [automerger skipped] Merge Android 24Q1 Release (ab/11220357) am: 6b4b7336bc -s ours
am skip reason: Merged-In If21ca5e914a5ee5aff3fbeeee9595bb77a8fc3d0 with SHA-1 40d9abb773 is already in history

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

Change-Id: I11237ba180ff5fb8504f3f0cf496333efde18830
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-31 02:03:15 +00:00
Pawan Wagh
d1a4c2fc6a Merge "Publish system update info when updates are in progress" into main am: a6bec4e541 am: 023b52dc4d
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2930333

Change-Id: Icac941d34287f35c02319f8a536c42af4aa0336a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-30 22:52:21 +00:00
Xin Li
6387b7e6b2 Merge "Merge Android 24Q1 Release (ab/11220357)" into aosp-main-future 2024-01-30 22:44:00 +00:00
Pawan Wagh
023b52dc4d Merge "Publish system update info when updates are in progress" into main am: a6bec4e541
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2930333

Change-Id: I95643df37fae5dbe700914fe93f6b403e1bf07a9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-30 22:12:16 +00:00
Pawan Wagh
a6bec4e541 Merge "Publish system update info when updates are in progress" into main 2024-01-30 21:28:58 +00:00
Weng Su
a0409e582c [RESTRICT AUTOMERGE] Restrict WifiDialogActivity
- Don't show WifiDialogActivity if user has DISALLOW_ADD_WIFI_CONFIG

Bug: 299931761
Flag: None
Test: manual test with TestDPC
atest -c SettingsRoboTests:WifiDialogActivityTest

Merged-In: Icbb8f45922ded163208976be9c2816060dcf09f1
Change-Id: Icbb8f45922ded163208976be9c2816060dcf09f1
(cherry picked from commit 51fa3d798a)
2024-01-30 21:23:08 +00:00
Weng Su
aabb15de74 [RESTRICT AUTOMERGE] Restrict WifiDialogActivity
- Don't show WifiDialogActivity if user has DISALLOW_ADD_WIFI_CONFIG

Bug: 299931761
Flag: None
Test: manual test with TestDPC
atest -c SettingsRoboTests:WifiDialogActivityTest

Merged-In: Icbb8f45922ded163208976be9c2816060dcf09f1
Change-Id: Icbb8f45922ded163208976be9c2816060dcf09f1
(cherry picked from commit 51fa3d798a)
2024-01-31 05:03:19 +08:00
David Magno
6fdeb081ae Multiple users yields a search result despite being disabled
'Multiple users' still yields a search result, even if the multiple
users functionality is unavailable on the device.

Bug: 298548379
Test: Manual
(cherry picked from https://partner-android-review.googlesource.com/q/commit:e7afc620ef3d9d7b05835c9bf31394cecf3b77b5)
Merged-In: I224668afacc115326ca9279d7b99bfe7d95ee79c
Change-Id: I224668afacc115326ca9279d7b99bfe7d95ee79c
2024-01-30 19:26:36 +00:00
Xin Li
6b4b7336bc Merge Android 24Q1 Release (ab/11220357)
Bug: 319669529
Merged-In: If21ca5e914a5ee5aff3fbeeee9595bb77a8fc3d0
Change-Id: I87182e72d0ceb75499528f9011d009d772045e09
2024-01-30 09:24:25 -08:00
Chun-Ku Lin
ee85a6e0e9 Merge "Move the default shortcut types in a separate utility method." into main 2024-01-29 21:15:53 +00:00
Anthony Alridge
d396899ced Merge "Forward developer settings intent to primary profile" into main 2024-01-29 14:20:33 +00:00
Yiyi Shen
b0ba9959cd Merge "[Audiosharing] UI refinement." into main 2024-01-29 14:11:38 +00:00
Yiyi Shen
5e8720434b [Audiosharing] UI refinement.
1. Add top summary for Audio sharing page.
2. Move Audio sharing entrance to the second place on Connection
   preferences page.
3. Make Audio sharing page searchable.
4. Add On/Off summary to Audio sharing preference on Connection
   preference page.

Test: atest
Bug: 305620450
Change-Id: I00019e53563afc0a539934fbdfa949c3401e78b9
2024-01-29 19:03:59 +08:00
Anthony Alridge
1d83f831f7 Forward developer settings intent to primary profile
This appeared to have been accidentally removed in ag/25458819.
Without it the "Cross profile intent filters are set" cts test fails.

Bug: 310115681
Test: cts verifier > BYOD Managed Provisioning > Cross profile intent
filters are set

Change-Id: I2dbb081c0099d42c6e2160f31d7a5bf30c680558
2024-01-29 10:03:34 +00:00
Haijie Hong
2591ee4873 Merge "Move bluetooth operations inAdvancedBluetoothDetailHeader to background thread" into main 2024-01-29 03:24:44 +00:00
Fan Wu
6749a92c7e Merge "Ignore failing tests in PreviouslyConnectedDevicePreferenceControllerTest" into main 2024-01-29 03:14:22 +00:00
Fan Wu
872c7a0f31 Merge "Fix test failures under com.android.settings.dashboard" into main 2024-01-29 03:13:06 +00:00
Fan Wu
3636aa1d81 Merge "Fix LocationInjectedServicesPreferenceControllerTest" into main 2024-01-29 02:47:16 +00:00
Fan Wu
9b823d8a58 Ignore failing tests in PreviouslyConnectedDevicePreferenceControllerTest
Bug: 322712259

Test: atest
Change-Id: Ibeef417fcbdbf2eafea15acdc526de7f91919629
2024-01-29 10:27:47 +08:00
Fan Wu
4dd6e7e982 Fix test failures under com.android.settings.dashboard
Bug: 313569889

Test: atest
Change-Id: I44fc992be9a79681d97e573437761e379ecd1a0f
2024-01-29 10:18:12 +08:00