Commit Graph

2220 Commits

Author SHA1 Message Date
SongFerng Wang
fdfb0bcf44 Merge changes I5c6ad4b3,Icb00b3fc
* changes:
  [MEP] renew the default data selection UI
  [MEP] renew the sim confirm dialog UI
2021-12-21 15:53:21 +00:00
SongFerngWang
be8f279f2c [MEP] renew the default data selection UI
- renew the default Data/Call/SMS selection

Bug: 199902896
Test: build pass and local UI test
Change-Id: I5c6ad4b35d38112d5e88330a3fc9638be533bc94
2021-12-21 16:34:30 +08:00
SongFerngWang
4780be49f3 [MEP] renew the sim confirm dialog UI
- renew the sim confirm dialog

Bug: 199902896
Test: build pass and local UI test
Change-Id: Icb00b3fc32066e21d22cbeca1fdf50e5d7dbef20
2021-12-21 12:51:16 +08:00
Tom Hsu
75b382f80e Merge "[Panlingual] Add outside entry." 2021-12-21 03:23:06 +00:00
Pavel Grafov
e2f4baed0b Merge "Let Settings query per-admin policies" 2021-12-20 15:57:57 +00:00
tom hsu
26b0bd7f19 [Panlingual] Add outside entry.
- video: https://screencast.googleplex.com/cast/NjIxODkzNzYyMjU5MzUzNnwwMWMxYjI1Ny1hMw

Bug: 207743479
Test: local
Change-Id: Iab3ba4d14f581aed7b737521ccba4f62e1c04998
2021-12-20 19:37:59 +08:00
Zoey Chen
4d365799d1 Merge "[Settings] Remove MobileNetworkActivity" 2021-12-20 05:03:36 +00:00
Yasin Kilicdere
1511407370 Merge changes from topics "addSettingsEntrypointToAddASupervisedUser", "simple fallback activity for supervised user creation"
* changes:
  Create a simple fallback activity for supervised user creation
  Add settings entrypoint to add a supervised user
2021-12-16 19:45:25 +00:00
Pavel Grafov
8d4e89bc8b Let Settings query per-admin policies
Strictly speaking Settings is running under system uid,
so it won't fail without it, but adding for consistency.

Bug: 204995407
Test: builds
Change-Id: I9cdcb9aa9dd2f65ff6190e0335edada6e04477a9
2021-12-16 17:15:02 +00:00
Zoey Chen
6978a90e88 [Settings] Remove MobileNetworkActivity
- remove the component name when launching the intent, using the action intent to replace.

- remove MobileNetworkActivity and rename SubscriptionSettingsActivity as MobileNetworkActivity.

Bug: 210593601
Test: atest
Change-Id: Icb7adaf9f7c7dfe01ff5c133aee8387c1663546c
2021-12-16 13:30:25 +08:00
Yasin Kilicdere
cc1d210fd0 Create a simple fallback activity for supervised user creation
Create a simple fallback activity to be started if no other activity could be
resolved when Add supervised user option is tapped in Multi User settings.

Bug: 207495450
Test: croot && make RunSettingsRoboTests -j40 ROBOTEST_FILTER="com.android.settings.users.UserSettingsTest"
Change-Id: I850a2798567787c2494c75aa5fa451ddf373410d
2021-12-14 15:39:42 +00:00
tom hsu
58244b1b74 [Panlingual] Implement entries of Panlingual in settings UI part.
- Path 1 : System -> Language & Input -> App Languages -> per app
 language
 - path 2 : System -> Apps -> App Info -> per app language
 Video: https://screencast.googleplex.com/cast/NjUyNTUzMDY0MTc5MzAyNHxjNTg2MzMwYS0yOA

Bug: 206854105
Test: local test pass
Test: atest pass

Change-Id: Ic06fa4f0c6ec68680eb828032b6e3f479b412dc4
2021-12-13 22:54:40 +08:00
Zoey Chen
a6c50cac45 Merge changes Icda934a2,Ic07b18b3
* changes:
  [Large Screen] Launch MobileNetworkSettings by SubSettingsLauncher
  [Large Screen] Launch MobileNetworkActivity as a fragment for split mode
2021-12-13 09:25:38 +00:00
Zoey Chen
989dd669b2 [Large Screen] Launch MobileNetworkActivity as a fragment for split mode
Receive intent in MobileNetworkActivity and launch a activity which extend SettingsActivity

Test: atest
Bug: 197609014
Bug: 209606859
Change-Id: Ic07b18b3ea11744f240b25a0986474df763a199b
2021-12-10 08:33:33 +00:00
SongFerng Wang
8d135bc9a9 Merge "switch SIM refactor to support MEP" 2021-12-10 06:33:41 +00:00
Tsung-Mao Fang
4f9fca877a Merge "Turn off deep link components by default" into sc-v2-dev am: c496858824 am: edd47e0bdf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16419878

Change-Id: I28ba7c4f11fe581391c4f5cbaa110ac7ec38265f
2021-12-10 04:05:44 +00:00
Tsung-Mao Fang
edd47e0bdf Merge "Turn off deep link components by default" into sc-v2-dev am: c496858824
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16419878

Change-Id: I31adc78d2ccbdc72805278d6dcd2bf08a55ac785
2021-12-10 03:50:32 +00:00
Tsung-Mao Fang
c496858824 Merge "Turn off deep link components by default" into sc-v2-dev 2021-12-10 03:30:19 +00:00
SongFerngWang
22ab05b420 switch SIM refactor to support MEP
To create new dialog for MEP. It is a simple UI for testing,
not the final version.

Bug: 199902896
Test: local build pass.
Change-Id: Ief4299e775c0758e4b886d5eff13bd482f8c8ab3
2021-12-10 09:30:30 +08:00
TreeHugger Robot
37af4dab6d Merge "add post_notification permission to manifest so the package can send notifications on T+" 2021-12-10 00:17:02 +00:00
SongFerng Wang
d06e52bc4b Merge "Device do network scan after user rotates NetworkSelection page" into sc-v2-dev am: c350919fa4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16182703

Change-Id: I0a22265ceeab9ccddca467338ed4a43f7636f3b7
2021-12-09 14:49:14 +00:00
SongFerng Wang
c350919fa4 Merge "Device do network scan after user rotates NetworkSelection page" into sc-v2-dev 2021-12-09 14:24:43 +00:00
TreeHugger Robot
66db4b4641 Merge "Revert "Revert "Device do network scan after user rotates NetworkSelection page""" 2021-12-09 12:34:54 +00:00
Tsung-Mao Fang
604e8ed586 Merge "Revert "Device do network scan after user rotates NetworkSelection page"" into sc-v2-dev am: e386d498d6 am: b559eecc57
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16419883

Change-Id: I4a3aefd5712459ac71be666dd661cb948534267a
2021-12-09 06:37:32 +00:00
Tsung-Mao Fang
b559eecc57 Merge "Revert "Device do network scan after user rotates NetworkSelection page"" into sc-v2-dev am: e386d498d6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16419883

Change-Id: Iae6baf8a58291ec45acffafa0b5a9487274e4d9a
2021-12-09 06:14:20 +00:00
Tsung-Mao Fang
e386d498d6 Merge "Revert "Device do network scan after user rotates NetworkSelection page"" into sc-v2-dev 2021-12-09 05:53:33 +00:00
Tsung-Mao Fang
3943de1579 Turn off deep link components by default
We should only enable necessary components when
device supports the split activity feature.

Test: Enable/Disable components and make sure things work well.
Bug: 204405245
Change-Id: Icb03e121eed0e584bebe1c9c838d0f4f44015abf
2021-12-09 11:54:22 +08:00
Steve Elliott
7bfcff3a44 add post_notification permission to manifest
so the package can send notifications on T+

Bug: 194833441
Change-Id: I60cfd8e926cf5cf0a113b00437dbd342e7ef95df
2021-12-08 19:05:19 +00:00
SongFerng Wang
fa6a3613ab Revert "Revert "Device do network scan after user rotates NetworkSelection page""
This reverts commit 3c9580d573.

Reason for revert: since b/207587612 revert the ag/16259258, do revert this solution back and submit ag/16182703 for sc-v2

Change-Id: I05148506503fc6d1f4ee4ac2ae99e2eb28f61c9f
2021-12-08 14:25:41 +00:00
Tsung-Mao Fang
f848cd8156 Revert "Device do network scan after user rotates NetworkSelection page"
This reverts commit 13aadad7fa.

Reason for revert: b/207587612

Change-Id: I8bef41eb43088d4a118de30eab0ac3ddc6c7c79c
2021-12-08 14:19:33 +00:00
Lucas Dupin
0b97fbff64 Merge "[Settings] Expose Bluetooth Pairing settings page" into sc-v2-dev am: f6354d8af7 am: 435f0ac1f8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16386048

Change-Id: I22e89ab902d4877e4b748da4a25423182e44eabb
2021-12-07 18:03:56 +00:00
Lucas Dupin
435f0ac1f8 Merge "[Settings] Expose Bluetooth Pairing settings page" into sc-v2-dev am: f6354d8af7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16386048

Change-Id: I53ed6d54a6f50da601a2b2eaaaa229ef5fc76562
2021-12-07 17:57:09 +00:00
shaoweishen
1b58ba5df2 [Settings] Expose Bluetooth Pairing settings page
Bug: 204405245
Test: N/A
Change-Id: Iac85dcb76b674aa4e6afe21d9ef149d091531888
2021-12-06 12:07:08 +00:00
Joe Bolinger
bcb7e27696 Merge "Remove portrait flag from handoff activity." into sc-v2-dev am: 9220a46cc2 am: 5636794cbe
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16367697

Change-Id: Iff8aa009cbe8ccf24e3dcb0bab11d9cf8fdd2416
2021-12-03 22:49:48 +00:00
Joe Bolinger
5636794cbe Merge "Remove portrait flag from handoff activity." into sc-v2-dev am: 9220a46cc2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16367697

Change-Id: I46e24c353f27abf435e3f9c81aef9f35d5221277
2021-12-03 22:35:22 +00:00
Joe Bolinger
9220a46cc2 Merge "Remove portrait flag from handoff activity." into sc-v2-dev 2021-12-03 22:13:02 +00:00
Jason Chiu
e574b6e11b Merge "Disable animations of deep link homepages to reduce the shortcut flicker" into sc-v2-dev am: 50bfe197b7 am: e17163adf5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16297689

Change-Id: Ieda1cc4cb20500d32c9f4c8a43d603d1e40992f3
2021-12-03 09:46:17 +00:00
Jason Chiu
e17163adf5 Merge "Disable animations of deep link homepages to reduce the shortcut flicker" into sc-v2-dev am: 50bfe197b7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16297689

Change-Id: I05f4f60f96dcc0b83cb7af76943a56a59d0fb0af
2021-12-03 09:25:19 +00:00
Jason Chiu
50bfe197b7 Merge "Disable animations of deep link homepages to reduce the shortcut flicker" into sc-v2-dev 2021-12-03 07:01:16 +00:00
Joe Bolinger
dde461dc4e Remove portrait flag from handoff activity.
Fix: 206904426
Test: manual (adb root && adb shell am start -n com.android.settings/.biometrics.BiometricHandoffActivity and rotate device)
Change-Id: Ibe61484d88824418f395247e492aba7b9d3c912a
2021-12-01 00:59:57 +00:00
TreeHugger Robot
fb0ca145aa Merge "Fix overlapped problem in SuW two panes mode" into sc-v2-dev am: cd8a01d2fd am: c6bc7a7c4b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16332784

Change-Id: I8c1f0b3a19239f85a4f67b53dd703ed7a9d3a625
2021-11-29 06:15:11 +00:00
TreeHugger Robot
c6bc7a7c4b Merge "Fix overlapped problem in SuW two panes mode" into sc-v2-dev am: cd8a01d2fd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16332784

Change-Id: Ib37dab22b51da7ec97990230a17b7fe698abee60
2021-11-29 05:59:08 +00:00
Alice Kuo
2d0025761b Handle csip set member automatic pair in Setting am: 629611a43e am: eb412a0614 am: 6097f9b830
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1903834

Change-Id: Icace2cf11100209eaa945971704b3319e9628e75
2021-11-29 03:04:15 +00:00
Alice Kuo
6097f9b830 Handle csip set member automatic pair in Setting am: 629611a43e am: eb412a0614
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1903834

Change-Id: Ibb8140b8af96036750457a6866eb9ba410bc0b84
2021-11-29 02:48:46 +00:00
Alice Kuo
eb412a0614 Handle csip set member automatic pair in Setting am: 629611a43e
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1903834

Change-Id: If9172095a2688a0fbe588ccbae96076e9cf8b133
2021-11-29 02:29:32 +00:00
Sunny Shao
644a2b9bc6 Fix overlapped problem in SuW two panes mode
- The previous preview page will overlap the right pane in RTL language.
- The root cause is the false value of the clipToPadding and
  clipChildren.
- Use the TTheme.DeviceDefault.Settings.

Fixes: 204955818
Test: manual test
Change-Id: I75c7f419cf93ebe9c4e9e3cb24835163a6b01e11
2021-11-26 17:20:50 +08:00
Alice Kuo
629611a43e Handle csip set member automatic pair in Setting
Move the set member handle to setting. SystemUI and Setting have the
individual settingLib instance. If we trigger pairing inside settingLib,
the action would be called twice. SystemUI does not contain the concept
to handle the pair interaction. Setting would take the action to
createBond for CSIP automatically.

Bug: 201758444
Bug: 150670922
Test: Pair the coordinated set devices, and check the set member pairing
would be done automatically without the pairing dialog

Change-Id: Idbdd21a1f15b04cc91cbc2d30a5cb4e9b24174b9
Merged-In: Idbdd21a1f15b04cc91cbc2d30a5cb4e9b24174b9
2021-11-26 13:53:46 +08:00
Vineeth Bhende
f28a1afac9 Merge "Typo fix in media settings title variable" 2021-11-26 05:44:02 +00:00
Jason Chang
cffaef122b (2) Update new intent action ACTION_ONE_HANDED_SETTINGS in Settings
AndroidManifest to support long-pressed action for One-handed mode
tile

Update new intent action ACTION_ONE_HANDED_SETTINGS in Settings
AndroidManifest for Settings$OneHandedSettingsActivity.

Bug: 201743873
Bug: 202132480
Bug: 207381742

Test: manually test long-pressed on One-handed mode QS tile
Change-Id: Id3882c62b6531a2a8c03378025cbda03efbb8c7c
2021-11-23 17:48:55 +08:00
TreeHugger Robot
0b911cf91c Merge "Fix ACTION_ONE_HANDED_SETTINGS breaks CTS IntentTest" 2021-11-19 09:53:15 +00:00