Commit Graph

84059 Commits

Author SHA1 Message Date
Tsung-Mao Fang
26f3013c32 Prevent HTML Injection on the Device Admin request screen am: 80c3f6d4d8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14167794

Change-Id: Iac38c0d7f7517c8d4ecac036e73524d37c66fb6e
2021-04-29 06:21:38 +00:00
Hugh Chen
bb5be240c0 Fix unable to send file via OPP
Bluetooth app will indicate BluetoothOppReceiver to receive
device picker intent. But for fix the security issue we
removed the setClassName() method in ag/14111132 to avoid attack.
It causes BluetoothOppReceiver cannot receive the intent.

This CL will compare to calling package name with launch package name.
If they are not equal, the setClassName() will not invoke.

Bug: 186490534
Bug: 179386960
Bug: 179386068

Test: make RunSettingsRoboTests -j56
Change-Id: Ia51528f2a44ab73edbc86899ca0846d3262fe1f0
2021-04-29 13:53:50 +08:00
PETER LIANG
fb789f0c06 Merge "Update the BC style for the vision settings in SuW." into sc-dev am: 9246f6f8b0 am: 5db9770aba
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14319864

Change-Id: I3ae92539819b77c3efbee2246f26b7ec9192d58e
2021-04-29 03:42:19 +00:00
TreeHugger Robot
42c65e6b49 Merge "Settings: Turn Privacy hub on by default." into sc-dev am: 7bdbe80abe am: d481442b83
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14339809

Change-Id: Ieb6a8476d7afb27c8f3299a3cb6ef034a5b2f986
2021-04-29 03:41:54 +00:00
TreeHugger Robot
9891597029 Merge "Fix several challenge paths" into sc-dev am: fcb325c562 am: 1533fd1e11
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14342148

Change-Id: Iabc503b1abd3b3db6ab51747877552378f2cdaf1
2021-04-29 03:41:36 +00:00
TreeHugger Robot
7063ea4ef1 Merge "Remove icons of Location Services and App location permissions" into sc-dev am: 3eb980d41b am: 3006e0473b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14341501

Change-Id: Icda24f75b8f45bf6aa1bd38633c07208fae98cb1
2021-04-29 03:37:51 +00:00
PETER LIANG
5db9770aba Merge "Update the BC style for the vision settings in SuW." into sc-dev am: 9246f6f8b0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14319864

Change-Id: I431de866be724613d84548bf8ff314736dd09663
2021-04-29 02:47:36 +00:00
TreeHugger Robot
d481442b83 Merge "Settings: Turn Privacy hub on by default." into sc-dev am: 7bdbe80abe
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14339809

Change-Id: Ieb86cf2c80fc9cd4834472f74ca3d66fad4b7dac
2021-04-29 02:47:30 +00:00
TreeHugger Robot
1533fd1e11 Merge "Fix several challenge paths" into sc-dev am: fcb325c562
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14342148

Change-Id: I0c64891c95e3ad09dd8afb431a943a6d12dd6839
2021-04-29 02:47:12 +00:00
TreeHugger Robot
3006e0473b Merge "Remove icons of Location Services and App location permissions" into sc-dev am: 3eb980d41b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14341501

Change-Id: Ic61d297a31265d0e36c2959eff512ffe326a7254
2021-04-29 02:46:24 +00:00
PETER LIANG
7b52d3215a Merge "Update the BC style for the vision settings in SuW." into sc-dev am: 9246f6f8b0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14319864

Change-Id: I3080f1aabc8d738d85b424493ed1659ed0989190
2021-04-29 02:46:13 +00:00
TreeHugger Robot
b0c91f18d5 Merge "Settings: Turn Privacy hub on by default." into sc-dev am: 7bdbe80abe
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14339809

Change-Id: I1d6b1ed67cd59a90d886cb210b5d9934c804a574
2021-04-29 02:45:46 +00:00
TreeHugger Robot
995a40fec4 Merge "Fix several challenge paths" into sc-dev am: fcb325c562
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14342148

Change-Id: Ic193a8b8b46bd18a33a52a83c859a0c26fb28e3b
2021-04-29 02:45:25 +00:00
PETER LIANG
9246f6f8b0 Merge "Update the BC style for the vision settings in SuW." into sc-dev 2021-04-29 02:44:36 +00:00
TreeHugger Robot
6a2eeaca25 Merge "Remove icons of Location Services and App location permissions" into sc-dev am: 3eb980d41b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14341501

Change-Id: I78aec9587a7b64c23e0e2e6e0d2477d2536055c5
2021-04-29 02:44:30 +00:00
TreeHugger Robot
7bdbe80abe Merge "Settings: Turn Privacy hub on by default." into sc-dev 2021-04-29 02:07:09 +00:00
TreeHugger Robot
fcb325c562 Merge "Fix several challenge paths" into sc-dev 2021-04-28 23:48:32 +00:00
TreeHugger Robot
3eb980d41b Merge "Remove icons of Location Services and App location permissions" into sc-dev 2021-04-28 23:46:54 +00:00
Kevin Chyn
1f0cd17e3e Fix several challenge paths
1) Combined settings page should finish() when losing foreground
   (but not if fingerprint or face settings are launched from it)
2) Challenge should be generated when entering FaceSettings or
   FingerprintSettings each time. This allows us to leave the existing
   revokeChallenge paths in FaceSettings and FingerprintSettings.

Fixes: 186257202
Test: Manual

Change-Id: I1b6452f787279001a71628f220c01fcb86b88f3d
2021-04-28 13:01:28 -07:00
Matt Pietal
558ace6aca SUW - Apply theme to FRP PIN pages
It is safe to always attempt to copy SUW intent extras, as they will
only be applied if they exist.

Fixes: 171950236
Fixes: 181212237
Fixes: 183711331
Test: SUW FRP verify, settings confirm existing PIN
Change-Id: I6d35683abdc864aea7b1ed0190d6776a75b3e116
2021-04-28 13:29:29 -04:00
tom hsu
a3f00c0d18 [ApnEditor] Create another string id for translation
- make translation of MVNO value be diversity.

Bug: 185209214
Test: Maunal test passed
 - https://screenshot.googleplex.com/33vyFFBp8EnTpQ8
 - atest passed
Change-Id: I9b26e23bf61f06a987682fe64d9ce079e2194818
2021-04-29 01:12:34 +08:00
TreeHugger Robot
cfc3968b4e Merge "Apply settings page transition" into sc-dev am: d3de9a1352
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14292669

Change-Id: I07dd19e42f3b1956ae401ac2cd99d4f8c5db57c4
2021-04-28 14:01:19 +00:00
TreeHugger Robot
2fb902fda3 Merge "Apply settings page transition" into sc-dev am: d3de9a1352
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14292669

Change-Id: I8417234b9cb403ae75afed202c161e4ccc140df1
2021-04-28 13:59:08 +00:00
Narayan Kamath
c80e4ce3a1 Settings: Turn Privacy hub on by default.
Bug: 176902658
Test: manual
Change-Id: I44027f29ce1a6b5a0c5eeba1e68cabb7476e7cc6
2021-04-28 13:48:16 +00:00
TreeHugger Robot
d3de9a1352 Merge "Apply settings page transition" into sc-dev 2021-04-28 13:41:04 +00:00
TreeHugger Robot
dd31e73878 Merge "Tweak spacing for private DNS mode dialog" into sc-dev am: b07079dab8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14319873

Change-Id: I6163e9dc52fe9634da1b6ab4b8477e3e8d7e1893
2021-04-28 12:20:26 +00:00
TreeHugger Robot
a5aecd4f6c Merge "Tweak spacing for private DNS mode dialog" into sc-dev am: b07079dab8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14319873

Change-Id: I29555c2d1033c578dfd44323a11bcd9e54e619ff
2021-04-28 12:18:45 +00:00
TreeHugger Robot
b07079dab8 Merge "Tweak spacing for private DNS mode dialog" into sc-dev 2021-04-28 12:01:57 +00:00
jasonwshsu
b625e8a98d Improve search by adding the settings keywords for supported framework feautres
* Improve search list: Magnification, Live Caption, Font size, Display size, Bold text, Dark theme, Extra dim, Color correction, Color inversion, Autoclick, Hearing aids, Real-time text

Bug: 184171842
Test: build pass
Change-Id: Ib8de8c736d6703e5028a8baa9fe2077aad8ee8cb
2021-04-28 17:59:57 +08:00
TreeHugger Robot
77f7afac7a Merge "Make collapsing toolbar load font synchronously" into sc-dev am: 9d3442bd47
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14327008

Change-Id: If105c32959e2b7f4641581c1b99b30a859abfab4
2021-04-28 09:35:08 +00:00
Hugh Chen
433dbcc6f7 Fix usb tethering switch back to none after off/on the screen am: ddafb202bd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14297855

Change-Id: I023176a52a05b7aa0c9d45357f198c8363250286
2021-04-28 09:34:59 +00:00
TreeHugger Robot
b661a67bf5 Merge "Make collapsing toolbar load font synchronously" into sc-dev am: 9d3442bd47
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14327008

Change-Id: I06eb305e4e9a9eed400a5ca8d22a1bfe23d693ee
2021-04-28 09:30:06 +00:00
Hugh Chen
be48d7e319 Fix usb tethering switch back to none after off/on the screen am: ddafb202bd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14297855

Change-Id: I08dedbbf5a26cdb69b926350c11e4b3469140d59
2021-04-28 09:29:57 +00:00
Yi-Ling Chuang
58813f7b6c Apply settings page transition
This change applies Shared X-Axis transition across settings pages. For
injected settings, the injected apps have to also apply the same
transition to take effect.

Fixes: 177479937
Test: robotests and navigate through settings pages
Change-Id: I6241860766f5969428faf9a5b3730a7614fdcd92
2021-04-28 17:29:49 +08:00
TreeHugger Robot
9d3442bd47 Merge "Make collapsing toolbar load font synchronously" into sc-dev 2021-04-28 09:29:24 +00:00
Hugh Chen
ddafb202bd Fix usb tethering switch back to none after off/on the screen
This CL adds conditions to check whether usb is connected or not.
If usb is not connected or tethering is not started don't update the
state.

Bug: 157709648
Test: make RunSettingsRoboTests -j56
Change-Id: Ifbf5900923419d6abf35834b196aab12601076e4
2021-04-28 09:12:15 +00:00
TreeHugger Robot
b17996e9bb Merge "Bring the search icon back in developer page" into sc-dev am: e06f5a93b1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14293744

Change-Id: Ie6b306402257a21a4d9e6d89103d914e4cd4fd9e
2021-04-28 08:55:40 +00:00
TreeHugger Robot
8ebeb120ce Merge "Bring the search icon back in developer page" into sc-dev am: e06f5a93b1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14293744

Change-Id: If1e20032acef06f3fb435bfe3881e39688a826e5
2021-04-28 08:53:57 +00:00
TreeHugger Robot
e06f5a93b1 Merge "Bring the search icon back in developer page" into sc-dev 2021-04-28 08:36:58 +00:00
SongFerng Wang
3333935a67 Merge "Ui show "No connection" when WiFi is turned on and no available network" into sc-dev am: 03fbae7fc5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14281929

Change-Id: I626b44973e66e9d2a261c654b92df17a84c48080
2021-04-28 07:34:42 +00:00
SongFerng Wang
112eb9d000 Merge "Ui show "No connection" when WiFi is turned on and no available network" into sc-dev am: 03fbae7fc5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14281929

Change-Id: Id650d942223e5c097c1d16f38c5c6a05ce1566e8
2021-04-28 07:33:08 +00:00
SongFerng Wang
03fbae7fc5 Merge "Ui show "No connection" when WiFi is turned on and no available network" into sc-dev 2021-04-28 07:18:01 +00:00
Tom Hsu
563198613f Merge "[Provider model] Show no connection during out of service." into sc-dev am: 463805b142
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14187782

Change-Id: I9a2ed61da03616f09a85c6e46804eca8736a5023
2021-04-28 06:58:19 +00:00
Tom Hsu
b400088813 Merge "[Provider model] Show no connection during out of service." into sc-dev am: 463805b142
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14187782

Change-Id: I6770d0bc2e3662a4e0b440ad69999552a7d73e58
2021-04-28 06:56:22 +00:00
Tom Hsu
463805b142 Merge "[Provider model] Show no connection during out of service." into sc-dev 2021-04-28 06:32:33 +00:00
YUKAI HUNG
8b589f1a82 Merge "Update string for battery usage footer to include charging info" into sc-dev am: 40114d8cf1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14327007

Change-Id: If0b6c47a35489f5850a723999d7d32ce71b563a7
2021-04-28 06:14:06 +00:00
YUKAI HUNG
22dc9af726 Merge "Update string for battery usage footer to include charging info" into sc-dev am: 40114d8cf1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14327007

Change-Id: Ie495e3a506a44cc1a97ac2f1d4fe16224b038475
2021-04-28 06:12:33 +00:00
YUKAI HUNG
40114d8cf1 Merge "Update string for battery usage footer to include charging info" into sc-dev 2021-04-28 06:00:04 +00:00
SongFerngWang
8e0349a67b Ui show "No connection" when WiFi is turned on and no available network
Follow this table to display the UI.
https://docs.google.com/spreadsheets/d/1w7R7Q3EXkep7iO4VcgioNp00DWas3Xve5i1rWexAkz8/edit#gid=954295315
Bug: 183593681
Test: atest ProviderModelSliceTest
atest ProviderModelSliceHelperTest
atest InternetConnectivityPanelTest
make RunSettingsRoboTests -j

Change-Id: I103f9b2fafe4fc543452a74b7ee7b2e537f879b5
2021-04-28 12:35:37 +08:00
YUKAI HUNG
5f84a08a50 Merge "Draw timestamp information into BatteryChartView manually (2/2)" into sc-dev am: 70c872c160
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14319868

Change-Id: Ib29387457cba307584e21835b5cd194e760ea8a6
2021-04-28 04:28:54 +00:00