Commit Graph

84901 Commits

Author SHA1 Message Date
Evan Severson
39e7cb2721 Merge "Update the settings privacy page to the latest mocks" into sc-dev 2021-05-18 00:23:22 +00:00
Chloris Kuo
36b42c90f4 Fix NAS dialog string
Bug: 188351469
Test: manually on device
Change-Id: I527b12b9414f97dc1a9a251b45b8d8453b0956b3
2021-05-17 16:28:52 -07:00
Evan Severson
175ca1c4b0 Update the settings privacy page to the latest mocks
Add the mic and camera toggles to the page. Also create an helper class
to keep binder calls to the system_server at a minimum.

Test: make RunSettingsRoboTests
Test: atest SettingsUnitTests
Test: Manual
Bug: 183985427
Change-Id: Iff6ee1c9a2c30095307f636decbcfcf298ed31b0
2021-05-17 22:49:28 +00:00
Mill Chen
9edcc5b5e3 Tweak the layout for Pattern/PIN/Password enrollment
- Fix the problem with invisible title
- Fix the wrong layout for landscape mode
- Apply color extraction

Fix: 185076320
Fix: 182339941
Fix: 182440016
Fix: 184715547
Fix: 183710293
Test: robotests and visual verified
Change-Id: Ib8e2a015bc52fcac2d285777972177e53bde7489
2021-05-18 03:23:37 +08:00
TreeHugger Robot
80b90cfadf Merge "Expose Lock screen settings page." into sc-dev am: cbb2bd6d13
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14544233

Change-Id: I04f0f22462f07dda215e04325adc7cde2562a7d8
2021-05-17 17:55:13 +00:00
TreeHugger Robot
cbb2bd6d13 Merge "Expose Lock screen settings page." into sc-dev 2021-05-17 17:48:18 +00:00
TreeHugger Robot
8bc674c0d9 Merge "Controls/Wallet privacy settings" into sc-dev am: 67fd37c837 am: 8f26c5c25f am: c658dfe610
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14470513

Change-Id: Ic6790b1d9da69bd89480fc7b96cc80424f3cd916
2021-05-17 17:09:51 +00:00
changbetty
c5310279aa [GAR] Set selectable attribute to W+ network preference
[Root Cause]
The Preference defautl is clickable. So if the preference is only to
display information to user. Need to set the attribute to false.

Bug: 187442654
Test: Manual test
Change-Id: I8a9c3156e3166db3043cca521f28489b4bd3e89f
2021-05-18 00:37:44 +08:00
YUKAI HUNG
c0ab21eaa3 Merge "Fix legacy failed unit test for BatteryInfoLoader" into sc-dev am: 10559fb9de
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14554353

Change-Id: I8e4cbfb8ac88d765325c4f2a8131aa714631d180
2021-05-17 13:38:41 +00:00
YUKAI HUNG
10559fb9de Merge "Fix legacy failed unit test for BatteryInfoLoader" into sc-dev 2021-05-17 13:19:50 +00:00
Tsung-Mao Fang
582f4a961e Fix search highlight issues
This cl fixes two kinds of issues.
1) Highlight two different preferences while clicking a search result.
2) Preference only is  highlighted one time.

For the first problem, we don't allow to reuse view holder in the
highlight scenario, and then allow it later.

The root cause of second problem is scrolling to target preference
needs x milliseconds. Thus, we should wait a few milliseconds, and
then start to highlight preference.

Test: Test some search results, and see the correct behavior
Fix: 186060148
Fix: 186010165
Fix: 187886982
Change-Id: I7df3e34efe39ee386fe9ce91d7d6c52cf390e2e7
2021-05-17 19:42:41 +08:00
SongFerngWang
d7969369de API Review: Rename CAPABILITY_ALLOWED_NETWORK_TYPES_USED
CAPABILITY_ALLOWED_NETWORK_TYPES_USED is renamed CAPABILITY_USES_ALLOWED_NETWORK_TYPES_BITMASK
Bug: 182198501
Test: atest packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/Enable2gPreferenceControllerTest.java
atest frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/RadioConfigResponseTest.java

Change-Id: Id9a27ad972ba7b27311e1b8c6b245f42b94fc7be
2021-05-17 17:20:54 +08:00
Menghan Li
d5c5b6606d Merge "Remove above divider of main switch" into sc-dev am: c6e056b7f4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14554350

Change-Id: I800e3629fb28711c480090152803dcfc0f3bb322
2021-05-17 08:25:54 +00:00
Menghan Li
b11c11196c Merge "Fix “Learn more” link not working on Magnification shortcut page from Vision Settings" into sc-dev am: 94ac5181ba
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14554349

Change-Id: I485da80621c760415616aaf43d1bcbfdf382a7d8
2021-05-17 08:25:46 +00:00
Arc Wang
9c191a1018 Rename audios to audio am: 6062b6491d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14518465

Change-Id: I5a004d25ba38d510ffdb446e49fd5b964463f434
2021-05-17 08:25:41 +00:00
Arc Wang
44bc515588 Storage Settings shift profile selection tab position am: c0b5ba5225
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14441414

Change-Id: Icd44f180bf49677adceae632ead24611fed95ffa
2021-05-17 08:25:36 +00:00
Menghan Li
c6e056b7f4 Merge "Remove above divider of main switch" into sc-dev 2021-05-17 08:22:45 +00:00
Menghan Li
94ac5181ba Merge "Fix “Learn more” link not working on Magnification shortcut page from Vision Settings" into sc-dev 2021-05-17 08:21:16 +00:00
Xin Li
855c629a42 [automerger skipped] Merge "DO NOT MERGE - Mark RQ2A.210105.001 as merged." am: 6811428c9c -s ours am: 1b68f3bfd3 -s ours am: a7d220aad7 -s ours am: e49a0d1b4e -s ours am: 93c8398216 -s ours am: 1c0267e8c4 -s ours
am skip reason: subject contains skip directive

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1700268

Change-Id: Ibae959b15a5e2b738577d6f1f5e6d50cb7adbfcb
2021-05-17 07:03:24 +00:00
ykhung
f49eaf54e6 Fix legacy failed unit test for BatteryInfoLoader
fix the legacy failed test since the scale is different, setting the
testing value in ms scale (getBatteryTimeRemainingMs()), but getting
the data in us scale (info.remainingTimeUs)

Bug: 188244142
Test: make SettingsRoboTests
Change-Id: Ib389976985eb3741cc96e0ee4a3a000c7f690b37
2021-05-17 06:19:09 +00:00
Arc Wang
6062b6491d Rename audios to audio
Bug: 186635176
Test: build pass
Change-Id: I0d909f639fe36edf2e5088c7ec219cceee4e963a
2021-05-17 14:11:17 +08:00
Arc Wang
c0b5ba5225 Storage Settings shift profile selection tab position
In this change, Storage Settings main UI is composed by 3 fragments.

StorageDashboardFragment only shows when there is only personal profile for
current user.

ProfileSelectStorageFragment (controls preferences above profile tab) and
StorageDashboardNoHeaderFragment (controls preferences below profile tab)
only show when current user has installed work profile.

Bug: 174964885
Test: atest com.android.settings.deviceinfo
      atest com.android.settings.deviceinfo.storage
      make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.deviceinfo
      make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.deviceinfo.storage
Change-Id: I50dea2fbcae39a1488e648f3ca615f54840e19d5
2021-05-17 14:07:24 +08:00
TreeHugger Robot
63e5d424c1 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: 31e0f46d87 -s ours am: 2332a37557 -s ours am: 0c847ab549 -s ours am: 7eee3839c9 -s ours am: bb837f1ec0 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14469856

Change-Id: I73b477950f96905732cf8e7d89c3a965fa4e9cf4
2021-05-17 06:02:13 +00:00
Bill Yi
61d5ef8d29 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 5ced13c831 -s ours am: d32b02b4b4 -s ours am: 8d2d27953d -s ours am: 07eb180b1a -s ours am: 23c2c7dc7f -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14469860

Change-Id: I33454fca3b0c3fc551e20e437dcf805065281f6e
2021-05-17 06:02:07 +00:00
Wesley.CW Wang
2b6a081a0b Update style name
Bug: 187923403
Test: make SettingsRoboTests
Change-Id: I01455cef919cb8692df9d275c8dff0c68d75861f
2021-05-17 14:02:05 +08:00
TreeHugger Robot
fc61d31128 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod am: 2450eeb436 -s ours am: fc9217fca5 -s ours am: b3c02e1811 -s ours am: af8c6c83da -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14469644

Change-Id: Ia535ac639d4f240444d785b944ea53bcd736a433
2021-05-17 06:02:01 +00:00
Bill Yi
024a75dddc [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: b5d257a72d -s ours am: bd905bff88 -s ours am: cc4940cc2a -s ours am: e9e254a992 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14469653

Change-Id: Ib3148ebf71a58939452b36ddbc569d817ad41a2b
2021-05-17 06:01:55 +00:00
TreeHugger Robot
443529b86a Merge "Prevent multi-sensor enrollment from doing nothing." into sc-dev am: 0842cc9adc am: 4fbf1990bf am: 5bdef1f980
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14463204

Change-Id: I9bfb63b8eb0521e41b0d0aec48ab57571172e836
2021-05-17 06:01:49 +00:00
ykhung
6679ca1870 Fix corner case IndexOutOfBound exception for null content am: bf5dd80d4f am: 985c9a3d42 am: 246884a4e9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14456006

Change-Id: Ibc349f4c59363063f09ebe2747c41c1ab2ec3dad
2021-05-17 06:01:42 +00:00
menghanli
79889460ae Remove above divider of main switch
Problem: The main switch won't be the ceiling preference. It has chance to show the divider if another preference won't disable the below divider.
Solution: Remove the above divider.

Bug: 186066199
Test: Test: Manual testing
Change-Id: I49893fa71b016f82dce9f402d47c86ec3df20a54
2021-05-17 05:52:50 +00:00
menghanli
6be6377079 Fix “Learn more” link not working on Magnification shortcut page from Vision Settings
Root cause: It does not allow to start another activity before SuW
Completed. We should not show link for users.
Solution: Remove the link

Bug: 188034493
Test: Manual testing
Change-Id: I25d3eb3d02a2b992411ea7b73308f3e3503cd70a
2021-05-17 12:44:29 +08:00
Treehugger Robot
21c08903e2 Merge "Settings: remove Bluetooth related text from DNS-dialog" am: ca3051403f am: a786f86808
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1708562

Change-Id: I87d9bdbe2743e45493ecd38d4aa7bd280593f9c3
2021-05-17 04:17:12 +00:00
Treehugger Robot
a786f86808 Merge "Settings: remove Bluetooth related text from DNS-dialog" am: ca3051403f
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1708562

Change-Id: Id142445ac2a16be54f0bbc8afdc9ce03b1676ea7
2021-05-17 03:51:53 +00:00
Treehugger Robot
ca3051403f Merge "Settings: remove Bluetooth related text from DNS-dialog" 2021-05-17 03:19:59 +00:00
Silin Huang
c80b3ab718 Expose Lock screen settings page.
Test: atest
Bug: 188105349
Change-Id: I7646f712608076037634c26d2334de4367b4452b
2021-05-17 02:57:38 +00:00
Alex Stetson
a11ef76365 Merge "Use shared model for non-system overlay toggle" into sc-dev am: 413893244d am: 2f3826948a am: 74e9845ba2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14441754

Change-Id: I625517766e3038a10263eae00fa5cf351429e54e
2021-05-17 02:43:10 +00:00
TreeHugger Robot
56313dcb81 Merge "Refine the interpolation rule and clip the usage time data" into sc-dev am: 180051cf05 am: adfbb68838 am: d4ddfe7496
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14455999

Change-Id: I9167d8cffb12b21f83349fa799953c04d19c6671
2021-05-17 02:11:36 +00:00
TreeHugger Robot
b8c7782bc3 Merge "Turn on the transition flag" into sc-dev am: ac1b7661ad am: 3fb211bc4e am: e2608c118b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14456000

Change-Id: I67a5cb100101fee0e67dacc1ad71aab7964b38e1
2021-05-17 02:11:30 +00:00
Yanting Yang
2d28b68e90 Merge "Add summary back to the homepage" into sc-dev am: c37abc9edb am: f94fe0e86c am: aa904a9ea2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14442216

Change-Id: I67e045bad39b560777a1642f740df7cd0e5308c0
2021-05-17 02:11:24 +00:00
Syaoran Kuo
fbad14ff5a Merge "Remove wifi related test." into sc-dev am: 7dd05a8c05 am: 84dfab789e am: bdb5723002
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14441410

Change-Id: I8e85c46eb205c0f582ab55ec7dc512c9adb417e2
2021-05-17 02:11:17 +00:00
TreeHugger Robot
29882e1031 Merge "Wallet/controls - Migrate existing settings" into sc-dev am: db624992ed am: 1b2bf94780 am: b2baeba56a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14353975

Change-Id: I6f2c8e95151bee24c11a00d49c9c60ed94ab33bf
2021-05-17 02:11:12 +00:00
Edgar Wang
d5e6cbab00 Merge "Add personal dictionary summary text" am: 0cbc974638 am: 7106d10dd0 am: b4ada164a0 am: febe901c8e am: 2b301c466f am: 116b57797b
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1683874

Change-Id: Idab785fabeb96b5505e51459a51c2735857fe331
2021-05-17 02:11:05 +00:00
TreeHugger Robot
20771f8453 Merge "Fix the battery usage screen left alignment issue" into sc-dev am: 8642ee35ad am: 947f4d458a am: 3bfdd162a8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14455997

Change-Id: If4ba7a42676c695237a0c56b9dc7aae728aedcae
2021-05-17 02:10:57 +00:00
Treehugger Robot
bc48f281c8 Merge "Move myself to the emeritus section" am: 9119105da9 am: 27a27acb2c am: 026ecdd388 am: e24cba9b59 am: 151435a12f am: 3a39be999a
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1697923

Change-Id: I046c881ceb1fa7de62b9c39ef23317498a385495
2021-05-17 02:10:37 +00:00
TreeHugger Robot
0c2baecbdf Merge "Add require scrolling button for FingerprintEnrolling intro" into sc-dev am: b1b7029fa6 am: b829a124a1 am: 50073054dd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14441409

Change-Id: Ic74eacd0d60c6ad03a211e27c14526beb9019993
2021-05-17 02:03:39 +00:00
Betty Chang
bce38c31b1 Merge "Change Network detail string form TYPE to Type" into sc-dev am: 19f21656a1 am: f843e9f9f1 am: c041e2123f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14441413

Change-Id: I9597345b6954ede79d20e1489a23fe4b45b5cb50
2021-05-17 02:03:33 +00:00
TreeHugger Robot
0b2527adeb Merge "Adopt new battery history map with interpolation method" into sc-dev am: b7ffc45052 am: ceece92af2 am: 2cdb44cb6e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14441406

Change-Id: Ic440d822af85ebf9d518279549bac9d766877700
2021-05-17 02:03:27 +00:00
TreeHugger Robot
1674554eba Merge "Refactor ChooseLockGenericController" into sc-dev am: b3b59d6edd am: fa9a904c1f am: 493da906c0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14269154

Change-Id: I3a617b929dbb5922b0fe5c2ca7d10e11e72afd6a
2021-05-17 02:03:20 +00:00
Julia Reynolds
880972e58e Merge "Update the theme for Notification history page" into sc-dev am: 7d3c283e27 am: ffde414545 am: c644ded2c5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14442218

Change-Id: I522f44e4b855e26311152d49165ca369acfc860b
2021-05-17 02:03:14 +00:00
TreeHugger Robot
c805d6fcc6 Merge "Fix inconsist color filling on collapsing toolbar" into sc-dev am: bbb6562684 am: 7bb2eff8cc am: adcdff9e06
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14442217

Change-Id: I9dea05bfb7876beb3da5972a579301c8229198f9
2021-05-17 02:03:09 +00:00