Commit Graph

78930 Commits

Author SHA1 Message Date
TreeHugger Robot
f10d5d29bb Merge "Fix crash when enter Special Access settings" 2021-01-15 09:23:47 +00:00
Weng Su
7686bf26dc Merge "[Provider Model] View airplane mode networks button" 2021-01-15 08:32:59 +00:00
Bill Yi
d63dd2b366 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: d0e76c6245 -s ours am: f1d3def534 -s ours
am skip reason: subject contains skip directive

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I85e07f70a6648efe648652700470acebe4017a7e
2021-01-15 08:32:42 +00:00
Bill Yi
f1d3def534 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: d0e76c6245 -s ours
am skip reason: subject contains skip directive

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I09ad3498255e42ca23debb04cb6eed6cfb5bc488
2021-01-15 07:48:35 +00:00
Edgar Wang
1b809ea448 Fix crash when enter Special Access settings
- Update SpecialAccess to use AppPreference

Bug: 177631064
Test: manual & robotest
Change-Id: I3974eb189deda8ba08ee31b80739b9784bec2c6c
2021-01-15 15:45:38 +08:00
Yanting Yang
82fa39cfc4 Merge "Update the icon size of homepage preference for injected IAs" 2021-01-15 07:20:50 +00:00
Weng Su
ee414fdc81 [Provider Model] View airplane mode networks button
- Airplane mode message
  - WiFi Disable: “Airplane mode is on”
  - WiFi Enabled: “Viewing airplane mode networks”

- “View airplane mode networks” button
  - WiFi Disable: “View airplane mode networks”
  - WiFi Enabled: hide button

- Screenshot
  https://screenshot.googleplex.com/7PuKwaJMLpiDdKh

Bug: 177155647
Test: manual test
- atest ViewAirplaneModeNetworksLayoutPreferenceControllerTest
- make RunSettingsRoboTests ROBOTEST_FILTER=NetworkProviderSettingsTest

Change-Id: I3222cb04a66d07681709cc95b729b5ecdf999298
2021-01-15 07:10:57 +00:00
TreeHugger Robot
6987b78782 Merge "Redirect users from Search to Settings with transition." 2021-01-15 06:12:49 +00:00
Bill Yi
d0e76c6245 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I84b4dc12bad46b115fabd1c1dd6a756d5705a712
2021-01-14 22:07:28 -08:00
TreeHugger Robot
685be3a19a Merge "Rearrange Sound page." 2021-01-15 05:15:54 +00:00
Yanting Yang
6ee00431e7 Merge "Move preferences to Notification page" 2021-01-15 04:55:32 +00:00
Yanting Yang
155634c02a Update the icon size of homepage preference for injected IAs
Based on the Android S design, apply the new foreground image inset to
AdaptiveIcon to generate the new injected IAs icon.

Fixes: 177213699
Test: robotest & visual with turning on/off silky home
Change-Id: If1961a3a41cda92f5435beb47799e8250820d9fb
2021-01-15 12:32:33 +08:00
Yan Zhu
11cbb5f6f9 Merge "Clean up split system user code in packages/apps/Settings/" 2021-01-15 04:18:25 +00:00
Yi-Ling Chuang
2eba9955a7 Rearrange Sound page.
- Reorder the items.
- Remove dividers.
- Expose items in Advanced.

Bug: 174964721
Test: View Sound page.
Change-Id: I7a1b52af50a35a6afebfbce312c352bc1b7b456e
2021-01-15 11:43:47 +08:00
TreeHugger Robot
fd401c0167 Merge "Provider model slice: The icon of mobile data's color is too light" 2021-01-15 02:29:31 +00:00
Jeremy Goldman
5a75bf7828 Merge "Utility to compute a single subscription's unique display name." 2021-01-15 02:27:53 +00:00
SongFerng Wang
985bb16057 Merge "Provider model: add string for airplane mode" 2021-01-15 02:15:49 +00:00
Stanley Wang
6a824b3535 Merge "Use SettingsLib's MainSwitchBar to replace SwitchBar in Settings." 2021-01-15 02:14:52 +00:00
Tsung-Mao Fang
8b1b0dc0c3 Use new homepage preference for injected IAs
We use homepage preference when it's a injected IAs on homepage

Test: See the screenshot for Google icons
Fix: 177213699
Change-Id: Ibd08ff305cdd6b556b5ceee486df01678c9212a6
2021-01-15 03:46:58 +08:00
Yanting Yang
298991c498 Move preferences to Notification page
Based on the Android S design,
- Fork configure_notification_settings_v2 for dev.
- Move "Conversations" from Apps to Notification above "Bubbles".
- Move "Wireless emergency alerts" from Apps to Notifications.

Bug: 174964405
Test: robotest & visual with turning on/off silky home

Change-Id: Ib8e19956ed7717924423eb632d4546314a34d549
2021-01-15 00:28:39 +08:00
TreeHugger Robot
78c6656981 Merge "Refactor AppPreference and AppSwitchPreference" 2021-01-14 15:28:17 +00:00
Stanley Wang
b87ddba6cd Use SettingsLib's MainSwitchBar to replace SwitchBar in Settings.
To log Settings metrics, the MainSwitch extends MainSwitchBar and
replace the SwitchBar in SettingsActivity.

Bug: 175181773
Test: Run robotest and apply the widget in Settings and see the ui

Change-Id: I3add3702e9058ad9192b5172c7cf0e2ccfb55a70
2021-01-14 22:48:31 +08:00
SongFerngWang
25690691b2 Provider model slice: The icon of mobile data's color is too light
Bug: 17752644
Test: (PASS)atest NetworkProviderWorkerTest
(PASS)atest ProviderModelSliceTest
(PASS)atest ProviderModelSliceHelperTest

Change-Id: I5474396b0a6464f513c76f0984917af083dcf54c
2021-01-14 14:24:28 +00:00
Zoey Chen
5d34370e2f Merge "[Provider Model] Update the icon's path" 2021-01-14 13:13:41 +00:00
SongFerngWang
b114e490d5 Provider model: add string for airplane mode
Bug: 177399563
Test: build PASS and verify the slice's airplane screen.
(PASS)atest NetworkProviderWorkerTest
(PASS)atest ProviderModelSliceTest
(PASS)atest ProviderModelSliceHelperTest

Change-Id: I9f212b8c2c66bf8af32936fca92c46fe86a9b3ef
2021-01-14 12:47:26 +00:00
Yi-Ling Chuang
2af2d0bf39 Redirect users from Search to Settings with transition.
Currently there is no transition while redirecting users from Settings
Search result to Settings. This CL gets Shared X-Axis transition applied
to make a better visual experience.

Bug: 177480699
Test: Click on a search result and see the transition.
Change-Id: Iad9b0c1168a939582e2648bc023c1321f9ec8049
2021-01-14 19:07:18 +08:00
Zoey Chen
a9d3a5ee36 [Provider Model] Update the icon's path
Screenshot: https://screenshot.googleplex.com/6GSkuoDG3Yr4BAS.png

Bug: 172053880
Test: manual
Change-Id: I82c21e274a8e2dd617430c1b6402d4a0b7ed373f
2021-01-14 10:52:23 +00:00
TreeHugger Robot
56dc7f9b18 Merge "Visual updated for CollapsingToolbarLayout" 2021-01-14 08:31:53 +00:00
Alex Johnston
05137ea2e7 Merge "Add cred mng app metrics to Settings" 2021-01-14 08:27:32 +00:00
Yi-yo Chiang
35d0c51273 Merge "Remove feature flag "settings_dynamic_system"" 2021-01-14 07:29:43 +00:00
Mill Chen
02811e52bd Visual updated for CollapsingToolbarLayout
- Tweak the margin for expanded title
- Increase the height of content scrim
- Enlarge the font size for expanded title

Bug: 177191754
Test: visual verified
Change-Id: I2463aa45cd60de1333b6433310f9bf69f090c958
2021-01-14 15:11:50 +08:00
Zoey Chen
c61c2fb1d7 Merge "[Provider Model] Modify the title and summary of airplane mode networks" 2021-01-14 05:26:22 +00:00
Zoey Chen
01824b9e57 Merge "[Provider Model] Use correct icon for Calls & SMS" 2021-01-14 03:36:19 +00:00
TreeHugger Robot
83f7895fe3 Merge "Update FingerprintEnrollEnrolling for UDFPS" 2021-01-14 03:30:56 +00:00
TreeHugger Robot
98814b89cf [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: bb974b69a0 -s ours am: a8b695c31f -s ours
am skip reason: subject contains skip directive

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic48d5d7e0e3e9d0b20546c88521cce6cc2e02687
2021-01-13 19:02:01 +00:00
Wesley.CW Wang
f3db5cb678 Adjust Battery Saver percentage slide size
- Increase seekbar size to 48dp to fit the GAR requirement
 Screenshots:
     https://screenshot.googleplex.com/72qRevtZXA4PTcg.png
     https://screenshot.googleplex.com/3rJjDRehdsPL8AQ.png

Bug: 157532287
Test: make SettingsGoogleRoboTests
Change-Id: Ibeaec5e09b45bf1145cff1b2515a3f79548a25a5
2021-01-13 18:52:48 +00:00
TreeHugger Robot
a8b695c31f [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: bb974b69a0 -s ours
am skip reason: subject contains skip directive

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I890c875c147001a6d2318b95f7091327e9063c78
2021-01-13 18:42:26 +00:00
TreeHugger Robot
bb974b69a0 Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-01-13 17:58:40 +00:00
TreeHugger Robot
1164ce5afa Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-01-13 17:53:12 +00:00
TreeHugger Robot
877ff557fa Merge "Correct the naming for homepage preference" 2021-01-13 16:53:57 +00:00
TreeHugger Robot
9dbab5a63a Merge "Add toggle for Prevent Ringing setting in Gesture page." 2021-01-13 16:50:36 +00:00
TreeHugger Robot
0b2c7f99e8 Merge "Add a flag for controlling location indicator settings." 2021-01-13 16:48:37 +00:00
Bill Yi
c03e06141b Merge changes from topic "presubmit-am-585647fb31ff406c921b46855d4bcb2b"
* changes:
  [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 1fa997bb14
  Import translations. DO NOT MERGE ANYWHERE
2021-01-13 16:38:47 +00:00
Tsung-Mao Fang
1b849dbe2a Correct the naming for homepage preference
- Have a consistent naming rule for homepage.
- Make the font family of title can be modified by system.

Test: See the screen, and font family of title is correct.
Bug: 177213699
Change-Id: I8e3ebbf06a8c1849956100c8d2825f98ad251b37
2021-01-13 23:14:58 +08:00
Yi-Ling Chuang
6735292dab Add toggle for Prevent Ringing setting in Gesture page.
- Replace Preference with PrimarySwitchPreference.

Fixes: 177408128
Test: open gesture page
Change-Id: I25079632459b3457995792347f4904c25374d47d
2021-01-13 23:11:26 +08:00
Jeremy Goldman
3c334cc47f Utility to compute a single subscription's unique display name.
Bug: 150370656
Bug: 148303118
Test: atest -c SubscriptionUtilTest
Change-Id: Id4600dbf038117129c62331f9e00b7035af1c0fd
2021-01-13 22:03:03 +08:00
Zoey Chen
cadf1b0267 [Provider Model] Modify the title and summary of airplane mode networks
Bug: 171874190
Test: manual
Change-Id: I7acd483616295c41bddc491145cbd5b1637e9b0c
2021-01-13 20:59:02 +08:00
Zoey Chen
48052e5069 [Provider Model] Use correct icon for Calls & SMS
Bug: 172053880
Test: manual
Change-Id: I48219042f5dca7d5760da59a7911d46ed9029138
2021-01-13 20:16:43 +08:00
Jeremy Goldman
3c3ce5ea66 Merge "Return mapping of subscription id to unique display name." 2021-01-13 12:04:54 +00:00
Yanting Yang
79c21c07d6 Merge "Override homepage tile positions for silky home" 2021-01-13 11:26:55 +00:00