Weng Su
71e728e934
Add permission checking to WifiDialogActivity
...
- Use getCallingPackage() to get calling package.
- Check if the calling package has ACCESS_COARSE_LOCATION or
ACCESS_COARSE_LOCATION permission.
- Only set result data to permission granted callers
Bug: 185126813
Test: manual test
make RunSettingsRoboTests ROBOTEST_FILTER=WifiDialogActivityTest
Change-Id: If7ca069c842ed2bd1aed23f9d4041473c68a4dad
2021-07-02 23:10:11 +08:00
Joshua Mccloskey
332f6734bf
Merge "Refactored bad_calibration string" into sc-dev am: f68524f421 am: b9a07f12bd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15157294
Change-Id: I26c2f18987d3323ac3667786c6f1b91021238323
2021-07-02 14:33:36 +00:00
Yohei Yukawa
b6ab3ad813
Merge "Switch back to sync IInputMethodManager"
2021-07-02 14:28:50 +00:00
Joshua Mccloskey
f68524f421
Merge "Refactored bad_calibration string" into sc-dev
2021-07-02 14:14:09 +00:00
Mill Chen
aede51f0e7
Update dynamic height adjusting
...
The current dynamic height adjusting workaround might cause that a
flicker problem happens in the collapsing toolbar and it might cause
that the collapsing toolbar has different background colors in some
setting pages. The new Material library has already supported the
dynamic height adjusting for multi-line titles, so we will use the new
mechanism instead.
Fix: 190997145
Test: go through Settings pages and check if there's a flicker problem
Change-Id: I9f27b1a887c8866ff7f5ed496de0c6e551a97b17
2021-07-02 21:56:34 +08:00
Rubin Xu
8e9d78ff91
Delay gargabe collection during onDestroy()
...
Allow the activity object to become unreachable before
iniating a gargabe collection to sanitize memory.
Bug: 189315376
Test: add device lock, confirm device lock in Settings,
then a memory dump and search for password shards.
Change-Id: I807d74628e1355814807855ad309d86ca1fb38a1
2021-07-02 14:32:03 +01:00
Stanley Wang
2f42899da0
Merge "Fix the problem that when the MainSwitchPreference is gone, there will be a blank area." into sc-dev am: 371f699681 am: 1db13f7a60
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15173151
Change-Id: Ib6efd95a638af34be93b0e9f7bb97a74a2642456
2021-07-02 13:20:24 +00:00
Tsung-Mao Fang
770f064d36
Align with the visibility logic from Dialer
...
Copy most visiblity logic from the Dialer app
We should check whether RTT is supported or not by querying Telecom.
Also, the rtt configuration won't be initialized properly before
user goes into the RTT page.
Prior to this cl, we set a wrong default value when we're showing
the subtext of RTT, this is not correct.
Currently, we simple show nothing in subtext if RTT haven't initilized
properly.
Test: Work with testing team to verify the behavior.
Fix: 188110773
Change-Id: I47c1983d15e22ef5a1fb3027334117a38a479558
2021-07-02 21:13:31 +08:00
Stanley Wang
8ec338480f
Merge "Fix the problem that when the MainSwitchPreference is gone, there will be a blank area." into sc-dev am: 371f699681
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15173151
Change-Id: Icd0f2235d966904192c4aec500fe7e48d0e17136
2021-07-02 13:03:08 +00:00
Stanley Wang
371f699681
Merge "Fix the problem that when the MainSwitchPreference is gone, there will be a blank area." into sc-dev
2021-07-02 12:51:23 +00:00
Alex Johnston
f2efb8f97b
Merge "Remove credential management app Settings" into sc-dev am: 713d325310 am: 1dc52643b2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15046667
Change-Id: I121b749a7a911bc788ef9eb7263fc31335ce4146
2021-07-02 11:25:06 +00:00
Alex Johnston
abf5a1a2f1
Merge "Remove credential management app Settings" into sc-dev am: 713d325310
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15046667
Change-Id: I27d1c919f05d0bf1e50844c47ed03938c0a18700
2021-07-02 11:15:46 +00:00
Alex Johnston
713d325310
Merge "Remove credential management app Settings" into sc-dev
2021-07-02 11:05:49 +00:00
Arc Wang
b5f5db3772
Merge "Fix profile tab text contrast problem" into sc-dev am: 8c8b79dab5 am: 440059f206
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15165937
Change-Id: I2a79ccf3a536955dd239a365f4294e6f4bc94443
2021-07-02 10:35:35 +00:00
Arc Wang
496b898bac
Merge "Fix incorrect storage size in Storage Settings" into sc-dev am: 68caefba32 am: 1e7e8d8104
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15175229
Change-Id: I86e6806cf37736696aef427f1c8c59a3e5aad6f0
2021-07-02 10:35:27 +00:00
Arc Wang
636602c313
Merge "Fix profile tab text contrast problem" into sc-dev am: 8c8b79dab5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15165937
Change-Id: Iebdfb991505c05ecf7c265855af9cb78d73713e7
2021-07-02 10:23:15 +00:00
Arc Wang
0110423665
Merge "Fix incorrect storage size in Storage Settings" into sc-dev am: 68caefba32
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15175229
Change-Id: I522dcf99202b6ab757c930477c92d3068187d4df
2021-07-02 10:23:08 +00:00
Arc Wang
8c8b79dab5
Merge "Fix profile tab text contrast problem" into sc-dev
2021-07-02 10:05:21 +00:00
Arc Wang
68caefba32
Merge "Fix incorrect storage size in Storage Settings" into sc-dev
2021-07-02 10:05:16 +00:00
Tom Hsu
fa298f3206
Merge "[Settings] Prevent NPE from getting MobileIconGroup instance." into sc-dev am: c09f986580 am: b9079b7521
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15173454
Change-Id: Id138f03d4c0477aae97256e1229c3ea1322b451d
2021-07-02 09:47:27 +00:00
Tom Hsu
ebb36d4126
Merge "[Settings] Prevent NPE from getting MobileIconGroup instance." into sc-dev am: c09f986580
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15173454
Change-Id: I8567ac8442256cd4beb0891fcfacb052a26e03b2
2021-07-02 09:21:32 +00:00
Tom Hsu
c09f986580
Merge "[Settings] Prevent NPE from getting MobileIconGroup instance." into sc-dev
2021-07-02 09:10:51 +00:00
Jernej Virag
36f9888e3b
Merge "Update Prevent Ringing setting to avoid conflict with long press power" into sc-dev am: 1d2371eecd am: 4efb8652a8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15175451
Change-Id: Id9520cb76d7bca2449f013d6f8e344fedb9c444f
2021-07-02 09:07:58 +00:00
TreeHugger Robot
25854227de
Merge "Password settings: Fix work profile" into sc-dev am: e6cff5497d am: e77a10c6e5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15153211
Change-Id: Id6ccd62924cc433f9eddb1ba3a2e70a74a6c29c1
2021-07-02 09:07:51 +00:00
Jernej Virag
73ac657abe
Merge "Update Prevent Ringing setting to avoid conflict with long press power" into sc-dev am: 1d2371eecd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15175451
Change-Id: I37862d807713adbbd721e832a7ba17cfa97c49ca
2021-07-02 08:54:50 +00:00
TreeHugger Robot
22cbf6cdde
Merge "Password settings: Fix work profile" into sc-dev am: e6cff5497d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15153211
Change-Id: I69b126f7af645331a2b4815bcb3aa9133ede1cfd
2021-07-02 08:54:31 +00:00
Jernej Virag
1d2371eecd
Merge "Update Prevent Ringing setting to avoid conflict with long press power" into sc-dev
2021-07-02 08:51:17 +00:00
Stanley Wang
b757a6e9f2
Fix the problem that when the MainSwitchPreference is gone,
...
there will be a blank area.
- Disable the visibility of preference when the the hide() method
is invoked.
Fix: 192332931
Test: robotest and see the UI
Change-Id: Iec5a06ca689843ebb692b1b7040f1d2be9f45bc2
2021-07-02 16:43:21 +08:00
TreeHugger Robot
e6cff5497d
Merge "Password settings: Fix work profile" into sc-dev
2021-07-02 08:42:26 +00:00
TreeHugger Robot
a8cee3e24f
Merge "Move selectability to switch from container" into sc-dev am: 235006fc35 am: 92928981f9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15177372
Change-Id: I983b8a6a80426a67adff66b4ee722b94f5e8c11f
2021-07-02 08:35:25 +00:00
TreeHugger Robot
cf423fbf96
Merge "Move selectability to switch from container" into sc-dev am: 235006fc35
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15177372
Change-Id: I2358bbcd3186012e583c8357ecbd5893deeea9a6
2021-07-02 08:19:14 +00:00
TreeHugger Robot
235006fc35
Merge "Move selectability to switch from container" into sc-dev
2021-07-02 08:03:25 +00:00
TreeHugger Robot
b8b81052a2
Merge "Hide battery saver warning and camera privacy lock on devices that do not support smart-auto-rotate" into sc-dev am: f1b07d7ddd am: c5fa705394
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15083652
Change-Id: I66a8bb70587ae35d4ef3a9a3e736caeb873102f5
2021-07-02 07:00:07 +00:00
TreeHugger Robot
593ab6faab
Merge "Hide battery saver warning and camera privacy lock on devices that do not support smart-auto-rotate" into sc-dev am: f1b07d7ddd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15083652
Change-Id: If5ffafd6426bd6d942b8a44fa1dd2c7317c31af0
2021-07-02 06:42:28 +00:00
George Chang
3f3d52481e
Merge "Separate NFC on/off strings" into sc-dev am: cd4a4ad90a am: 17612289b4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15182819
Change-Id: I09c4d1815f192b1463fe2d1b6d91354f4e9149a8
2021-07-02 06:42:26 +00:00
TreeHugger Robot
f1b07d7ddd
Merge "Hide battery saver warning and camera privacy lock on devices that do not support smart-auto-rotate" into sc-dev
2021-07-02 06:40:15 +00:00
George Chang
3096bae20d
Merge "Separate NFC on/off strings" into sc-dev am: cd4a4ad90a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15182819
Change-Id: Ic46613a626882f06ac273c1cfb9dc1020889db33
2021-07-02 06:38:16 +00:00
George Chang
cd4a4ad90a
Merge "Separate NFC on/off strings" into sc-dev
2021-07-02 06:23:03 +00:00
TreeHugger Robot
429d06a0cf
Merge "Correct the choose screen lock page" into sc-dev am: 77f0dbaa26 am: 37f74d4aab
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15171314
Change-Id: Ie9f7fbf6de904e3002772c6e2cb004f1f9099035
2021-07-02 05:51:48 +00:00
TreeHugger Robot
5864029f82
Merge "Fix multiple biometrics enrollment flow" into sc-dev am: 65c9b03fb5 am: 3b9e5510d4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15165945
Change-Id: I455deb9fa42d17862ad6b8b943cee62049cbb68d
2021-07-02 05:51:33 +00:00
TreeHugger Robot
58d95b41c9
Merge "Correct the choose screen lock page" into sc-dev am: 77f0dbaa26
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15171314
Change-Id: If663e6bfecc6c0576c8b619f16223d0fd23229f4
2021-07-02 05:38:18 +00:00
TreeHugger Robot
33a9e928fb
Merge "Fix multiple biometrics enrollment flow" into sc-dev am: 65c9b03fb5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15165945
Change-Id: Ie661943ee6352757a03f928c9db6e729927a8b7e
2021-07-02 05:38:12 +00:00
TreeHugger Robot
77f0dbaa26
Merge "Correct the choose screen lock page" into sc-dev
2021-07-02 05:26:38 +00:00
TreeHugger Robot
65c9b03fb5
Merge "Fix multiple biometrics enrollment flow" into sc-dev
2021-07-02 05:26:18 +00:00
Yohei Yukawa
a78e1f51fe
Switch back to sync IInputMethodManager
...
This logically reverts two recent CLs [1][2] to submit a corresponding
logical revert [3] into frameworks/base to address Bug 190486491.
[1]: I767069892c713023b064525105ef2b55946b7bb8
8279b8ee5a
[2]: I6733e8b500f5e02d4e14cde4ab7a46f4f716f5d0
fa01bf30ba
[3]: If16ac0de536d9089eb04f6e07b1ee47378124658
Bug: 163453493
Bug: 190486491
Test: make RunSettingsRoboTests ROBOTEST_FILTER="WinscopeTraceTest"
Change-Id: Idea98bd36935a27d886ca337154112e7dd293080
Merged-In: Idea98bd36935a27d886ca337154112e7dd293080
2021-07-01 21:24:02 -07:00
Yanting Yang
b7f21e9723
Merge "Remove stale search result about "Recent location requests" page" into sc-dev am: 62315005fd am: 4e4cae07b9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15172993
Change-Id: I56c9d4c8a80006e2a1186a1a573c3acd669e2b4e
2021-07-02 04:18:17 +00:00
Yohei Yukawa
3e20e0ec37
Switch back to sync IInputMethodManager
...
This logically reverts two recent CLs [1][2] to submit a corresponding
logical revert [3] into frameworks/base to address Bug 190486491.
[1]: I767069892c713023b064525105ef2b55946b7bb8
8279b8ee5a
[2]: I6733e8b500f5e02d4e14cde4ab7a46f4f716f5d0
fa01bf30ba
[3]: If16ac0de536d9089eb04f6e07b1ee47378124658
Bug: 163453493
Bug: 190486491
Test: make RunSettingsRoboTests ROBOTEST_FILTER="WinscopeTraceTest"
Change-Id: Idea98bd36935a27d886ca337154112e7dd293080
2021-07-01 21:17:59 -07:00
Yanting Yang
9fd3223b5a
Merge "Remove stale search result about "Recent location requests" page" into sc-dev am: 62315005fd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15172993
Change-Id: I8063aed6ceeaf85500d331ce793f38135abf4a9c
2021-07-02 04:09:17 +00:00
Yanting Yang
62315005fd
Merge "Remove stale search result about "Recent location requests" page" into sc-dev
2021-07-02 03:59:29 +00:00
George Chang
96b5af7e39
Separate NFC on/off strings
...
For pt-BR, it needs a different gender when we are referring to "NFC".
Bug: 189314407
Test: check On/Off strings
Change-Id: I87da43c66a65b3ef2fcd9c57632b36302d9920e8
2021-07-02 11:20:03 +08:00