Commit Graph

101150 Commits

Author SHA1 Message Date
TreeHugger Robot
3c45d8a0e2 Merge "Add user button UX update" into tm-dev am: 3e4c3d84c6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17084549

Change-Id: I9989cb5c69b6c1490ef789ce664b76e87c3dc34c
2022-03-08 06:45:52 +00:00
TreeHugger Robot
7022c61a56 Merge "Modify the path message to correct path." into tm-dev am: 0cdfb9905b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17106233

Change-Id: I48f51a59fa54b192ce7482d797d5a3f37a29b7dd
2022-03-08 06:45:33 +00:00
TreeHugger Robot
3e4c3d84c6 Merge "Add user button UX update" into tm-dev 2022-03-08 06:42:32 +00:00
TreeHugger Robot
0cdfb9905b Merge "Modify the path message to correct path." into tm-dev 2022-03-08 06:20:22 +00:00
Peter_Liang
5bd3568078 Fix that the preview text in "Text and reading options" page is too small.
Add the default values into respective TextView

Fix: 222413847
Test: manual test
Change-Id: I1da8a6ea08007c8988ae8dcf798f1645128ac906
2022-03-08 14:13:44 +08:00
menghanli
072dcd9025 Fix One handed mode Settings "Pull screen into reach" function fail
Side effect of ag/16932279 that mistypo to change the controller name

Bug: 223308917
Test: Manual testing
Change-Id: Id625ffb9dfee6a38232a0b0f8387dc5350d5e1d8
2022-03-08 13:52:11 +08:00
Jenhou (Alan) Huang
5e912db2f6 Merge "Add setting page for the Spatial audio" 2022-03-08 05:50:56 +00:00
TreeHugger Robot
e5e6f68e55 Merge "Updated icon for reverse-landscape udpfs" into tm-dev am: 21731d86a5 am: a12b2c73bb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17063286

Change-Id: I70328995347d30c0e96006305580ea8706b39e5e
2022-03-08 04:22:08 +00:00
Menghan Li
c1046be3d9 Merge "Enable "Remove animation" assistive technologies in setup" into tm-dev am: 21419dc937 am: d9af91cd83
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17109885

Change-Id: I0f8077f124403ba099445bf228bcd7f7ebf6e9d3
2022-03-08 04:21:47 +00:00
TreeHugger Robot
ee3e1bccb9 Merge "Updated icon for reverse-landscape udpfs" into tm-dev am: 21731d86a5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17063286

Change-Id: I51b1d56e1e32f0109a134117d95577cb94535746
2022-03-08 03:58:23 +00:00
TreeHugger Robot
a12b2c73bb Merge "Updated icon for reverse-landscape udpfs" into tm-dev am: 21731d86a5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17063286

Change-Id: I8c31f47a56fbc4d353df19116883c1b5ec075bd6
2022-03-08 03:58:13 +00:00
Menghan Li
d9af91cd83 Merge "Enable "Remove animation" assistive technologies in setup" into tm-dev am: 21419dc937
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17109885

Change-Id: I2cd98d0a6a3222ca15945277506fcec0672641a7
2022-03-08 03:57:50 +00:00
Menghan Li
8d35b8dc2a Merge "Enable "Remove animation" assistive technologies in setup" into tm-dev am: 21419dc937
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17109885

Change-Id: Ida6e41ebb1cf1d3df7ca141d37efeed07b596e3c
2022-03-08 03:57:49 +00:00
TreeHugger Robot
21731d86a5 Merge "Updated icon for reverse-landscape udpfs" into tm-dev 2022-03-08 03:38:10 +00:00
Menghan Li
21419dc937 Merge "Enable "Remove animation" assistive technologies in setup" into tm-dev 2022-03-08 03:28:36 +00:00
Sunny Shao
652ba71605 Modify the path message to correct path.
Fixes: 222127442
Test: manual test
Change-Id: I52c534a6e08d7d63700a09b030965e08f2bfc54e
2022-03-08 11:18:38 +08:00
Alan Huang
f1ecb4fb48 Add setting page for the Spatial audio
The Spatial audio settings page control the state for the phone speaker
and the wired headphones

Test: make RunSettingsRoboTests

Bug: 220811398
Change-Id: I49e3fab48186d09357a8481652bdccb4aa5d044a
2022-03-08 02:06:09 +00:00
Xin Li
821558107d Merge Android 12L
Bug: 222710654
Merged-In: Ifa8dfd7f0d452b9e8e47e719eefadf26eee4309f
Change-Id: If95800025d050393cf92c4f20724c973b154a4ac
2022-03-08 00:19:27 +00:00
menghanli
b9b750fa60 Enable "Remove animation" assistive technologies in setup
In Android T, adding more animations into SUW so want to make sure users can turn off animation if needed. The animation should also follow the flashing/strobing guidelines to ensure they're not seizure-inducing.

Bug: 223265388
Test: Manual testing
Change-Id: I8f443adddb6941ed6deae2f3b53d35f21ebcfd36
2022-03-08 07:34:50 +08:00
Eric Biggers
1d48df59e5 Remove FDE support from accessibility settings
With FDE (Full Disk Encryption), secure start-up (i.e. requiring a PIN /
pattern / password to boot the device) was incompatible with
accessibility services.  Thus, the accessibility settings would ask the
user to disable secure start-up when enabling an accessibility service.

Now that FDE support has been removed in favor of FBE (File Based
Encryption), this is no longer necessary.  Remove it.

Bug: 208476087
Change-Id: I5f6e512f223df63e1b4d1c181fc8b3fe683dcd5f
(cherry picked from commit b4060ef65b)
Merged-In: I5f6e512f223df63e1b4d1c181fc8b3fe683dcd5f
2022-03-07 22:18:48 +00:00
Eric Biggers
6167665b8f Rename crypt_keeper_* strings that are still used
Some strings used in the Settings UI have "crypt_keeper" in their names,
but they aren't specific to FDE, which is no longer supported.  They are
still used to report the encrypted status of the device on devices that
use FBE, or the unencrypted status of the device on devices that don't
have encryption enabled at all.  Rename these strings appropriately.

Test: On Cuttlefish with and without encryption enabled, tested visiting
      the "Encryption & credentials" settings.
Bug: 208476087
Change-Id: Ic63910c870837f5b37e4407ba5b3c7629e925c17
(cherry picked from commit 6552bdd0ef)
Merged-In: Ic63910c870837f5b37e4407ba5b3c7629e925c17
2022-03-07 22:18:43 +00:00
Eric Biggers
9b18c5d081 Remove CryptKeeperSettings
FDE support has been removed in favor of FBE, so remove the FDE settings
from the "Encryption & credentials" page of the Settings app.

For now I didn't change the way the page appears on devices that don't
use FDE; as before, it still lists "Encrypt phone", followed by either
"Encrypted" or "Phone not encrypted" with no changeable settings.  Note
that the strings used for this have "crypt_keeper" in their names but
aren't specific to FDE; the next CL will rename them.

Test: On Cuttlefish with and without encryption enabled, tested visiting
      the "Encryption & credentials" settings.
Bug: 208476087
Change-Id: I3ce9894291ea1f1886f21980a86a92bfce38038a
(cherry picked from commit 36609c18d1)
Merged-In: I3ce9894291ea1f1886f21980a86a92bfce38038a
2022-03-07 22:18:38 +00:00
Eric Biggers
f8ca0a448c Remove CryptKeeper
Since Android 10, new devices have been required to use FBE (File Based
Encryption) instead of FDE (Full Disk Encryption).  FDE support was
already removed from system components such as init and vold.
Therefore, the CryptKeeper activity is no longer needed.  Remove it.

Note: this CL only removes CryptKeeper itself, i.e. the activity which
runs at boot time on devices that are using FDE or are being encrypted
with FDE in-place.  Later CLs will remove FDE-specific code from the
Settings app.

Bug: 208476087
Change-Id: I4aaf795e8cee1ff3cdd55a41c975273c8faeefa9
(cherry picked from commit 43616ed3b6)
Merged-In: I4aaf795e8cee1ff3cdd55a41c975273c8faeefa9
2022-03-07 22:18:32 +00:00
Weng Su
f86bdc9c69 Restrict WiFi network connection
- Use StandardWifiEntry#canConnect() to determine if the network should
  be disabled or not.

- Use StandardWifiEntry#getSummary() to retrieve the restriction message.

- Disabled WiFi network if it cannot connect.

- If WiFi network is connected or saved network, leave it enabled to
disconnect or configure.

- See the result screenshot in b/203168943#comment11

Bug: 203168938
Bug: 203168943
Test: manual test
make RunSettingsRoboTests ROBOTEST_FILTER=LongPressWifiEntryPreferenceTest
make RunSettingsRoboTests ROBOTEST_FILTER=NetworkProviderSettingsTest

Change-Id: I04aafaa5b383598a0f87eea15d06b38bbc662b9e
2022-03-08 04:27:28 +08:00
Marie Matheson
cc97297375 Minor bug fixes for Lockscreen Safety Center source
- use correct severity enum for issues
- update biomterics on lockscreen change
- clean up some nearby tests to use eq matcher instead of captor

Test: SettingsUnitTests
Test: Manually tested
Bug: 223170514
Bug: 222338885
Change-Id: I4e28a418473cbe7cd5d75daf0d62776654fa7917
2022-03-07 20:02:56 +00:00
TreeHugger Robot
d0c2f30970 Merge "Revert "Remove the fallback AddSupervisedUserActivity."" 2022-03-07 18:41:45 +00:00
Matt Pietal
b8c30c7c5d Add user button UX update
Visually align all add user/guest icons between settings and
systemui. Both areas may tint and size the icons slightly differently.

Fixes: 219078700
Test: visual, use the multiple users settings page
Change-Id: Ic88d5b2197f402f130d6cfeb94bdb2bb1b6aa58c
2022-03-07 13:37:20 -05:00
Chaohui Wang
45a0eb3483 Merge "Fix Other default preferences alignment" am: c73dfdb858 am: 18e2057de2 am: 64774540f2 am: 768a07fb9e am: da41990efb
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2010297

Change-Id: I4b2f2d7731eb275e35dd3346c167e1df26c5c63e
2022-03-07 14:32:21 +00:00
Chaohui Wang
05bf0dcd6b Merge "Fix Other default preferences alignment" am: c73dfdb858 am: 18e2057de2 am: 64774540f2 am: 768a07fb9e
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2010297

Change-Id: If7386dd2208592387d6e2d8cba015c70b29b7951
2022-03-07 14:10:56 +00:00
Chaohui Wang
da41990efb Merge "Fix Other default preferences alignment" am: c73dfdb858 am: 18e2057de2 am: 64774540f2 am: 768a07fb9e
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2010297

Change-Id: Icc04050787294eda3076b3368415a85cfcc02163
2022-03-07 14:07:03 +00:00
Chaohui Wang
768a07fb9e Merge "Fix Other default preferences alignment" am: c73dfdb858 am: 18e2057de2 am: 64774540f2
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2010297

Change-Id: I77465e94b94f274117f7555f580fc74fe9fb2762
2022-03-07 13:36:16 +00:00
Chaohui Wang
64774540f2 Merge "Fix Other default preferences alignment" am: c73dfdb858 am: 18e2057de2
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2010297

Change-Id: Icd2c470bbbc7144404b513beef5c6785eab8ca86
2022-03-07 13:06:22 +00:00
Chaohui Wang
18e2057de2 Merge "Fix Other default preferences alignment" am: c73dfdb858
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2010297

Change-Id: Ifa8dfd7f0d452b9e8e47e719eefadf26eee4309f
2022-03-07 12:41:09 +00:00
Chaohui Wang
c73dfdb858 Merge "Fix Other default preferences alignment" 2022-03-07 12:21:12 +00:00
Yuri Ufimtsev
f15bebe6c3 Inject different User IDs into biometric utils
Test: atest SettingsUnitTests

Bug: 222217132
Change-Id: I7939d78817f53814d0f8fb4636231a4833fbe26a
2022-03-07 10:04:25 +00:00
Chaohui Wang
71f2d6d44c Fix Other default preferences alignment
Bug: 222333696
Change-Id: Icdcfff728c891b81d3976f3d625aa93b5154198c
Test: Manual on Pixel device
2022-03-07 09:36:14 +00:00
Tsung-Mao Fang
00cbd72c60 Rename back button to navigate up button
A minor wording review.

Test: build pass
Bug: 219000314
Change-Id: I23bc580b193cc891b659514d13705db2c55b756a
Merged-In: I23bc580b193cc891b659514d13705db2c55b756a
2022-03-07 08:47:30 +00:00
SongFerng Wang
3da26e1ce8 Merge "In E+E, the user can't enable the PSIM" into tm-dev am: bdd37ce348 am: b5e8c78adb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17092188

Change-Id: I3f6ad6b92a8f9c4a37f70527c0e278a27bcbfd4c
2022-03-07 08:18:47 +00:00
SongFerng Wang
3254fc9703 Merge "In E+E, the user can't enable the PSIM" into tm-dev am: bdd37ce348
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17092188

Change-Id: I2adc398e5c374cb9efd55778da1ff8c64ee96cfb
2022-03-07 07:56:40 +00:00
SongFerng Wang
b5e8c78adb Merge "In E+E, the user can't enable the PSIM" into tm-dev am: bdd37ce348
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17092188

Change-Id: I001b72a18faa2a29279cf74a2fec1f633d3f7451
2022-03-07 07:55:29 +00:00
SongFerng Wang
bdd37ce348 Merge "In E+E, the user can't enable the PSIM" into tm-dev 2022-03-07 07:32:57 +00:00
TreeHugger Robot
19cd7f97b4 Merge "p2p: Close the channel when onStop is called." into tm-dev am: 8f8e9c98f4 am: e2daf9fe76
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16986446

Change-Id: I4c912034e04b6dc73f2defc8c14f3c8784b9089e
2022-03-07 07:24:50 +00:00
TreeHugger Robot
838fe4fe3c Merge "p2p: Close the channel when onStop is called." into tm-dev am: 8f8e9c98f4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16986446

Change-Id: Ic323b7acee01ff8c7526ea10804de1395bd92f93
2022-03-07 07:00:55 +00:00
TreeHugger Robot
e2daf9fe76 Merge "p2p: Close the channel when onStop is called." into tm-dev am: 8f8e9c98f4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16986446

Change-Id: Ie6c1ac6d7df31802f8b4e791bd01bf0abd587697
2022-03-07 06:59:41 +00:00
Stanley Wang
4da5ad1405 Merge "Fix the problem that the autofill could be searched." into tm-dev am: 96d82e3d05 am: 0b84af4f7d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17043948

Change-Id: Id91e253decf27c9e430a16b0440cc2b2666ad4cd
2022-03-07 06:49:57 +00:00
TreeHugger Robot
8f8e9c98f4 Merge "p2p: Close the channel when onStop is called." into tm-dev 2022-03-07 06:40:05 +00:00
Stanley Wang
0b84af4f7d Merge "Fix the problem that the autofill could be searched." into tm-dev am: 96d82e3d05
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17043948

Change-Id: Id21ed0f41820ff296c9d46099857edb2ad49a5f5
2022-03-07 06:28:39 +00:00
Stanley Wang
9fe433e219 Merge "Fix the problem that the autofill could be searched." into tm-dev am: 96d82e3d05
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17043948

Change-Id: I164e93b8d1db1ce5032ac83fb6ff6ea59bf9c3dd
2022-03-07 06:28:28 +00:00
Stanley Wang
96d82e3d05 Merge "Fix the problem that the autofill could be searched." into tm-dev 2022-03-07 06:11:52 +00:00
SongFerngWang
68cfaafe73 In E+E, the user can't enable the PSIM
In the E+E and there is the empty slot, the user can't enable PSIM.
Since the settings can't set the correct simSlotMapping.

Bug: 222231991
Test: atest UiccSlotUtilTest (All passes) and Build pass
Change-Id: Ia261e3b41c6c4a43a5429815d93ae9f6ff16f0ec
2022-03-07 12:44:00 +08:00