Commit Graph

91893 Commits

Author SHA1 Message Date
TreeHugger Robot
88605e7b2a 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: Ib33ab9d9c7eccbefa20f65d3855368836671b734
2021-07-02 15:36:53 +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
Stanley Wang
c26f538aeb Merge "Update Adaptive brightness page." into sc-dev am: 88e914e74e am: ed113a13a6 am: c73ec5673e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15153302

Change-Id: I131a2275b6ca94b4d82eb7e04497ab3f25754837
2021-07-02 15:01:25 +00:00
Stanley Wang
c73ec5673e Merge "Update Adaptive brightness page." into sc-dev am: 88e914e74e am: ed113a13a6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15153302

Change-Id: I56c1c4169f88047ef8cb84ff46241ffce7c49058
2021-07-02 14:52:01 +00:00
Stanley Wang
50ae642680 Merge "Update Adaptive brightness page." into sc-dev am: 88e914e74e am: 8ac219bea0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15153302

Change-Id: Ib37d6cdfc4bbb7b651cb24e6257f81a04734f4b3
2021-07-02 14:51:33 +00:00
Stanley Wang
ed113a13a6 Merge "Update Adaptive brightness page." into sc-dev am: 88e914e74e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15153302

Change-Id: I937accc49da79a856614b892a4e7447e2ebd35c7
2021-07-02 14:36:30 +00:00
Stanley Wang
8ac219bea0 Merge "Update Adaptive brightness page." into sc-dev am: 88e914e74e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15153302

Change-Id: Idb4612119bcba83050f3882aa22bf3d1b54ccecf
2021-07-02 14:35:41 +00:00
Joshua Mccloskey
ad264114b4 Merge "Refactored bad_calibration string" into sc-dev am: f68524f421 am: c248869813 am: f61582576e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15157294

Change-Id: I38d7f3c945b7ad9774d74866f8965cfb5c33ddd1
2021-07-02 14:33:48 +00: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
Joshua Mccloskey
f61582576e Merge "Refactored bad_calibration string" into sc-dev am: f68524f421 am: c248869813
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15157294

Change-Id: I30759839032803fac82f4c39a8d0a969c1c9d0ec
2021-07-02 14:29:23 +00:00
Yohei Yukawa
b6ab3ad813 Merge "Switch back to sync IInputMethodManager" 2021-07-02 14:28:50 +00:00
Stanley Wang
88e914e74e Merge "Update Adaptive brightness page." into sc-dev 2021-07-02 14:24:34 +00:00
Joshua Mccloskey
b9a07f12bd 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: Ibdf3885f06d4d313ef422d4a677de498342ef47d
2021-07-02 14:17:35 +00:00
Joshua Mccloskey
c248869813 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: I73ef5fd5b2fded5f75d34eedc715d1e7a7188bdf
2021-07-02 14:16:58 +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
Stanley Wang
4250e9795a Merge "Fix the problem that when the MainSwitchPreference is gone, there will be a blank area." into sc-dev am: 371f699681 am: 8ec338480f am: d3ee311ab4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15173151

Change-Id: If1a1ced170ff1340b8f624a23136666cad48db40
2021-07-02 13:33:44 +00:00
Stanley Wang
924f32ccde Merge "Fix the problem that when the MainSwitchPreference is gone, there will be a blank area." into sc-dev am: 371f699681 am: 0727b0e730 am: 6d903b19fb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15173151

Change-Id: I2255c430212f22f701ef8405ad6c5889af599c39
2021-07-02 13:33:28 +00: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
d3ee311ab4 Merge "Fix the problem that when the MainSwitchPreference is gone, there will be a blank area." into sc-dev am: 371f699681 am: 8ec338480f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15173151

Change-Id: Ia79a077f5cf3dc79a47a0e267efaba68874de819
2021-07-02 13:21:19 +00:00
Stanley Wang
6d903b19fb Merge "Fix the problem that when the MainSwitchPreference is gone, there will be a blank area." into sc-dev am: 371f699681 am: 0727b0e730
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15173151

Change-Id: I8833fff766451648d327038236385e961d555201
2021-07-02 13:20:53 +00: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
8f774b908f Update Adaptive brightness page.
- Use the IllustrationPreference widget and update the
  new illustration.

Fix: 192415034
Test: robotest and see the UI
Change-Id: I2feb3faab0abd2fa0fc36b8bb94f6b02ec3f7dd7
2021-07-02 13:07:10 +00:00
Stanley Wang
0727b0e730 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: I5938687eeea4e8886a41a242f860ea84c35e14b1
2021-07-02 13:03:52 +00:00
Alex Kershaw
96d184e106 Tweak work contact search strings
Bug: 184610902
Test: treehugger
Change-Id: I06660aef9a21fb5fc6a1ea2e50496e92181cd865
2021-07-02 14:03:40 +01: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
1db13f7a60 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: I0c6616ba04ce29e43a7040f56851aa084bc17ac5
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
TreeHugger Robot
61d2aeb200 Merge "Update the dialog of SIM status and IMEI in About phone page" into sc-dev am: 71a3e2093c am: 335e58e0a8 am: 3df301ea0d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15186115

Change-Id: I1dcfd3c69ba4da0d4b30e4030ea027486329ee6d
2021-07-02 12:24:31 +00:00
TreeHugger Robot
98e19c1a0a Merge "Update the dialog of SIM status and IMEI in About phone page" into sc-dev am: 71a3e2093c am: 2580fd071f am: 9b1328d829
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15186115

Change-Id: Ifb410b6388ab46764fb029ec780bce3721d7cd56
2021-07-02 12:24:23 +00:00
TreeHugger Robot
3df301ea0d Merge "Update the dialog of SIM status and IMEI in About phone page" into sc-dev am: 71a3e2093c am: 335e58e0a8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15186115

Change-Id: I61ccd18307b79cb90ae4d16ce4c0c9d40c5b2a99
2021-07-02 12:17:26 +00:00
TreeHugger Robot
9b1328d829 Merge "Update the dialog of SIM status and IMEI in About phone page" into sc-dev am: 71a3e2093c am: 2580fd071f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15186115

Change-Id: If2253bf95ff231d3b5bd81e97fd1827854300159
2021-07-02 12:17:00 +00:00
TreeHugger Robot
ff9e9512cf Merge "Update the dialog of SIM status and IMEI in About phone page" into sc-dev am: 71a3e2093c am: 4284058c7c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15186115

Change-Id: I390f946b6d55021f172bad5658efa51ec697f5c0
2021-07-02 12:16:35 +00:00
Syaoran Kuo
3c505155e1 Merge "Fix mobile network test cause process crashed." 2021-07-02 12:11:50 +00:00
TreeHugger Robot
2580fd071f Merge "Update the dialog of SIM status and IMEI in About phone page" into sc-dev am: 71a3e2093c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15186115

Change-Id: Ia78da4cef395b90e1e348ed33082f7473e747225
2021-07-02 12:04:18 +00:00
TreeHugger Robot
335e58e0a8 Merge "Update the dialog of SIM status and IMEI in About phone page" into sc-dev am: 71a3e2093c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15186115

Change-Id: Iec1b3a95c90e87494152fc2af54ed5b91f3a4580
2021-07-02 12:03:32 +00:00
TreeHugger Robot
4284058c7c Merge "Update the dialog of SIM status and IMEI in About phone page" into sc-dev am: 71a3e2093c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15186115

Change-Id: I26fa93db04482f21d5fd610d89879df8ba047d0b
2021-07-02 12:03:32 +00:00
Joy Babafemi
47137d663f Merge "Remove UWB Toggle temporarily." into sc-dev am: 4664bd9684 am: 0041cab4e1 am: 03cf9a2c8a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15164283

Change-Id: I9b3c5e3d5e505f63c5f8e5ccffbe8b85a160edd4
2021-07-02 11:54:25 +00:00
TreeHugger Robot
71a3e2093c Merge "Update the dialog of SIM status and IMEI in About phone page" into sc-dev 2021-07-02 11:52:29 +00:00
Joy Babafemi
03cf9a2c8a Merge "Remove UWB Toggle temporarily." into sc-dev am: 4664bd9684 am: 0041cab4e1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15164283

Change-Id: I8ec10bac2c7cb30a39977b95bdac8b2310b42e06
2021-07-02 11:47:33 +00:00
Joy Babafemi
2801868f5e Merge "Remove UWB Toggle temporarily." into sc-dev am: 4664bd9684 am: 4def00e199
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15164283

Change-Id: I3d273226f30525c9611f909a177c0200312c4820
2021-07-02 11:46:43 +00:00
Joy Babafemi
80d5d7371d Merge "Remove UWB Toggle temporarily." into sc-dev am: 4664bd9684 am: d9f25efe26 am: b24bbede09
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15164283

Change-Id: Ideb6ac1f4c47e645d21954fb704e29ae2553fd2e
2021-07-02 11:39:07 +00:00
Alex Johnston
345728dfff Merge "Remove credential management app Settings" into sc-dev am: 713d325310 am: ea8d3c5341 am: 582f9fd534
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15046667

Change-Id: Ic2d2d32229dd44f3a25066d220e2c90d6de47969
2021-07-02 11:39:00 +00:00
TreeHugger Robot
03b19e3f13 Merge "Refine the ripple effect and text style of ActionPrimaryButton" into sc-dev am: 74e1408513 am: 25edbc5f5d am: ec959703ec
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15183771

Change-Id: Ia1bff658f1b60ddcd6e6edc18a46af5d86884fbf
2021-07-02 11:38:51 +00:00
Joy Babafemi
b24bbede09 Merge "Remove UWB Toggle temporarily." into sc-dev am: 4664bd9684 am: d9f25efe26
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15164283

Change-Id: I38cefedc648495cd6d8e59b642ade0ca6d5baa81
2021-07-02 11:38:33 +00:00
Alex Johnston
11430c4611 Merge "Remove credential management app Settings" into sc-dev am: 713d325310 am: abf5a1a2f1 am: cc2b5aa80b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15046667

Change-Id: I32fc1c4b47afebd0a731864bd73cfdccd1af0ea3
2021-07-02 11:38:29 +00:00
TreeHugger Robot
b07993285b Merge "Refine the ripple effect and text style of ActionPrimaryButton" into sc-dev am: 74e1408513 am: 8718963d52 am: 0474160900
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15183771

Change-Id: Ie3d20405b1894e00a46546529793e4d05163bafb
2021-07-02 11:38:19 +00:00
Joy Babafemi
d9f25efe26 Merge "Remove UWB Toggle temporarily." into sc-dev am: 4664bd9684
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15164283

Change-Id: I11e7e81a59832031e2a01e49ea5b3b2a5841d0da
2021-07-02 11:34:28 +00:00