Arc Wang
9e7d132ab8
Remove redundant spaces in ActivityPicker
...
Bug: 182438726
Test: compile
Change-Id: I8f0440530fcd95cc352dbef7e2bbcc7cdce495b9
2021-07-05 11:09:30 +08:00
TreeHugger Robot
22e62eaac1
Merge "Add permission checking to WifiDialogActivity" into sc-dev am: 27c928856e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15187819
Change-Id: Ief440310d2599718d9fc99cbee45e9be1012f5d2
2021-07-05 03:06:32 +00:00
Arc Wang
c6d5dcfc6c
Remove no-used EntityHeaderController in Storage Settings
...
The EntityHeaderController is a workaround to fix header
shadow, however, the header shadow does not exist and it's
safe to remove the EntityHeaderController.
Bug: 183078080
Test: manual visual
Change-Id: I5197ec62edbe7ab3ff981895ec7ff267caeb9448
2021-07-05 10:55:02 +08:00
TreeHugger Robot
27c928856e
Merge "Add permission checking to WifiDialogActivity" into sc-dev
2021-07-05 02:54:05 +00:00
Rajeev Kumar
b1a82dde1d
Merge "Show device admin warning dialog if force stop is not allowed" into sc-dev am: dc07fe1ad1 am: 43b16c4704
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15179293
Change-Id: Iab510479a2b4b7ecab8406e142a7c9853aab4400
2021-07-04 20:53:31 +00:00
Rajeev Kumar
cb6334ba99
Merge "Show device admin warning dialog if force stop is not allowed" into sc-dev am: dc07fe1ad1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15179293
Change-Id: I644fac2d129a2b4226263f5a9f2ffe268c31bbb3
2021-07-04 20:08:02 +00:00
Rajeev Kumar
dc07fe1ad1
Merge "Show device admin warning dialog if force stop is not allowed" into sc-dev
2021-07-04 19:14:33 +00:00
Ahaan Ugale
729dc283cb
Merge "Password settings: use EM DASH as the pwd count placeholder" into sc-dev am: 83e4f3c658 am: 5025ca7695
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15177778
Change-Id: I7031bd97057b77a6005e66806f85aa0767766632
2021-07-03 00:18:03 +00:00
TreeHugger Robot
974abdc1aa
Merge "Fix landscape to reverse landscape issue" into sc-dev am: 493db88bf4 am: e81e53e127
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15188505
Change-Id: Ie97b3811f03ab867dd38691c388663596d71daf6
2021-07-03 00:17:54 +00:00
Ahaan Ugale
0cc68e8510
Merge "Password settings: use EM DASH as the pwd count placeholder" into sc-dev am: 83e4f3c658
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15177778
Change-Id: I64edc40f8c59526707832dc7afb4e26cdb82d023
2021-07-03 00:07:27 +00:00
TreeHugger Robot
5adc2d8447
Merge "Fix landscape to reverse landscape issue" into sc-dev am: 493db88bf4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15188505
Change-Id: Iab537b422edbe98b94f90cb20a95d1ef8e09a61a
2021-07-03 00:07:16 +00:00
Ahaan Ugale
83e4f3c658
Merge "Password settings: use EM DASH as the pwd count placeholder" into sc-dev
2021-07-02 23:56:20 +00:00
TreeHugger Robot
493db88bf4
Merge "Fix landscape to reverse landscape issue" into sc-dev
2021-07-02 23:49:36 +00:00
Guojing Yuan
69a9368325
[CDM] Remove CDM companion apps from Connected Devices detail Settings
...
Remove CDM companion apps from Connected Devices details Settings when
there's a FastPair slice.
BUG: 191992001
Test: Manual
Change-Id: Ic373736ff6e32765f8c9d13e7358455a82cd8333
2021-07-02 23:02:38 +00:00
TreeHugger Robot
524f4979f5
Merge "Ensure settings maintains its Bluetooth device inquiry state" into sc-dev
2021-07-02 23:02:30 +00:00
Rahul Sabnis
1e2b873a0e
Merge "Ensure settings maintains its Bluetooth device inquiry state" am: bec574dca7 am: 3b68dd138c am: aa8275f8d3 am: 970df1c47d
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1716270
Change-Id: Ica2bae3a3f0c1a4133ede8f849faab03d5aade87
2021-07-02 22:45:26 +00:00
Mill Chen
7f2496219f
Fix landscape to reverse landscape issue
...
Fingerprint enrollment page needs to display different types of layout
for both landscape mode and reverse landscape mode. However
onConfigurationChanged doesn't get called when landscape mode rotates to
reverse landscape mode directly, that causes it displays a wrong layout
in the both landscape and reverse landscape modes.
Trying to monitor rotation event and checking if the case that directly
turns landscape mode to reverse landscape mode happens, if so, reCreate
method will get called to re-lay out the page. There will be a flicker
problem happening in re-laying out the page but this solution still
works for users to have the correct layout.
Fix: 186372522
Test: manual test
1) Navigate to fingerprint enrollment page
2) Rotate the screen from landscape mode to reverse landscape mode
3) Observe the page and see if it has a correct layout
Change-Id: Ie94f43a6546f453c10ae9f1c3ba83e1178784950
2021-07-03 06:40:25 +08:00
Rahul Sabnis
aa8275f8d3
Merge "Ensure settings maintains its Bluetooth device inquiry state" am: bec574dca7 am: 3b68dd138c
...
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1716270
Change-Id: I9c37ec40573808a91c6052e2d46cce28df7cfead
2021-07-02 22:31:25 +00:00
Rahul Sabnis
bec574dca7
Merge "Ensure settings maintains its Bluetooth device inquiry state"
2021-07-02 22:01:50 +00:00
TreeHugger Robot
9a85645574
Merge "Only launchHandoffToParent in SUW" into sc-dev am: 59b82fad2f am: 47cd5370f3 am: c1d6451625
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15179572
Change-Id: I88462071799ef6b38627aac5c30c1792b2ccfc5f
2021-07-02 20:36:47 +00:00
TreeHugger Robot
c1d6451625
Merge "Only launchHandoffToParent in SUW" into sc-dev am: 59b82fad2f am: 47cd5370f3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15179572
Change-Id: I21848b74c05430c73aa4107915adea72797b2898
2021-07-02 20:29:21 +00:00
TreeHugger Robot
4f33fea213
Merge "Only launchHandoffToParent in SUW" into sc-dev am: 59b82fad2f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15179572
Change-Id: I089b19e5cfbc10a4e22dced38e24b337a66bc41c
2021-07-02 20:28:39 +00:00
Rahul Sabnis
0b365c3e69
Ensure settings maintains its Bluetooth device inquiry state
...
Bug: 187165224
Test: Manual
Merged-In: I4dafb7bf5b410d99cba7e30ee17f966611458db7
Change-Id: I4dafb7bf5b410d99cba7e30ee17f966611458db7
2021-07-02 20:27:17 +00:00
TreeHugger Robot
cbb37cc2a8
Merge "Fix camera permission warning message not disappearing after permission is re-granted" into sc-dev am: 8f9488eefb am: c1a0610bd5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15084370
Change-Id: Ie516395b9c924adc7c42c9ebfa15f59c2b530f94
2021-07-02 20:19:41 +00:00
TreeHugger Robot
59b82fad2f
Merge "Only launchHandoffToParent in SUW" into sc-dev
2021-07-02 20:14:33 +00:00
TreeHugger Robot
eb353285eb
Merge "Fix camera permission warning message not disappearing after permission is re-granted" into sc-dev am: 8f9488eefb
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15084370
Change-Id: I4e2a09cf38bbc09cd776f8047201a14ec56fda5d
2021-07-02 20:11:26 +00:00
TreeHugger Robot
8f9488eefb
Merge "Fix camera permission warning message not disappearing after permission is re-granted" into sc-dev
2021-07-02 19:59:32 +00:00
Ahaan Ugale
30a3e3c3ed
Password settings: use EM DASH as the pwd count placeholder
...
The current blank space in the UI looks like a bug if the password
manager doesn't return a result. (though this should rarely happen)
Fix: 192531856
Test: manual
Change-Id: Ia1765e51f1d4e5080c9a8419c8e81c2771caba7b
2021-07-02 12:35:40 -07:00
Mill Chen
0508289edc
Merge "Update dynamic height adjusting" into sc-dev am: 81d98b0410 am: 2e23b3ff08
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15187825
Change-Id: I15f6d134c7084e9a03416b3f8f68f35adab2e64f
2021-07-02 19:20:51 +00:00
Kevin Chyn
c702e1bfba
Only launchHandoffToParent in SUW
...
Settings flow does not need to show this screen
Fixes: 192586840
Test: adb shell am start -a android.settings.BIOMETRIC_ENROLL --ez require_consent true --ez skip_return_to_parent <true/false>
Test: adb shell am start -a android.settings.BIOMETRIC_ENROLL --ez require_consent true
Test: atest com.android.settings.biometrics.ParentalConsentHelperTest
Change-Id: Ic2edbb5ec9693d05c89206d49249f59fd968aa2f
2021-07-02 12:04:06 -07:00
Mill Chen
7b059195cb
Merge "Update dynamic height adjusting" into sc-dev am: 81d98b0410
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15187825
Change-Id: If0575c7a060a3f16d75ae0b43886709023fdeff8
2021-07-02 19:03:08 +00:00
Mill Chen
81d98b0410
Merge "Update dynamic height adjusting" into sc-dev
2021-07-02 18:48:49 +00:00
Abel Tesfaye
2000bb8da2
Fix camera permission warning message not disappearing after permission is re-granted
...
Test: locally
Bug: 191907683
Change-Id: Idb45e99ff9f0569ad43aadcde830f0c69a3be4f3
2021-07-02 18:48:20 +00:00
Yanli Wan
796ce5ee10
Show device admin warning dialog if force stop is not allowed
...
Test: manual
Test: atest AppButtonsPreferenceControllerTest
Bug: 192082470
Change-Id: I2c0028b4ff4578221a7686a3fe4511c70e1eed7d
2021-07-02 17:52:17 +00:00
TreeHugger Robot
9c41116855
Merge "Align with the visibility logic from Dialer" into sc-dev am: 6d06f9bcad am: abbcd960cc
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15080735
Change-Id: Ie9739c235b10bd2e3ab37239419eaa368f37c44d
2021-07-02 16:45:54 +00:00
TreeHugger Robot
9adce86e56
Merge "Align with the visibility logic from Dialer" into sc-dev am: 6d06f9bcad
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15080735
Change-Id: Iab481dd43387d29b157043ab60f80fa3548d30eb
2021-07-02 16:40:44 +00:00
TreeHugger Robot
502bd5a438
Merge "Switch back to sync IInputMethodManager" into sc-dev am: d5f9f65390
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15177777
Change-Id: I553c1327ab3557bd15c8fd332158a958b5a9bdb1
2021-07-02 16:40:08 +00:00
Joshua Mccloskey
39d92e716a
Merge "Refactored bad_calibration string" into sc-dev am: f68524f421
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15157294
Change-Id: I598bd323c32adc29e4b557c80c903c124dfeb72d
2021-07-02 16:34:58 +00:00
TreeHugger Robot
6d06f9bcad
Merge "Align with the visibility logic from Dialer" into sc-dev
2021-07-02 16:17:09 +00:00
TreeHugger Robot
d5f9f65390
Merge "Switch back to sync IInputMethodManager" into sc-dev
2021-07-02 15:22:21 +00:00
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