Commit Graph

22376 Commits

Author SHA1 Message Date
Bonian Chen
5e12677d00 [Settings] Initial config UI support for cross sim calling
This is the initial configuration UI support for cross SIM calling.

Mock UI: https://docs.google.com/presentation/d/1u9eO9Fs2_kr1mqkzyVe-_iNldM6OBv4ucmhUTr3Z-0w/edit?resourcekey=0-siV3RVBkI_fjH8mMWHbtHg#slide=id.gb4a3581a82_0_0
Screenshot: https://screenshot.googleplex.com/3QX3Y6vAhBYv7LC

Bug: 174012397
Test: manual
Change-Id: Id96b72054bee9b3359e5336cc90acbff7e6d78ea
2021-01-18 15:36:27 +08:00
Bill Yi
334e0f43e8 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I5781b721a5b71cb3ee6fed75208e1d89539ee821
2021-01-17 10:50:04 +00:00
Abel Tesfaye
cb03fb955f Correct Wifi Share UI margins and capitalization
Test: locally with crosshatch

Bug: 176926579
Change-Id: Ida59174f93ae696e4f2a91c353cf9b1649f1faac
2021-01-15 20:15:45 +00:00
TreeHugger Robot
fa0809fb9d Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-01-15 18:33:11 +00:00
TreeHugger Robot
562aabf93d Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-01-15 18:29:44 +00:00
TreeHugger Robot
65251cb82b Merge "Refine behaviors of new app page" 2021-01-15 16:33:51 +00:00
Bill Yi
810e6d49a1 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I5f6bc4e337cd9bab774f82cf3ec9eafce5cd807e
2021-01-15 14:58:29 +00:00
Yanting Yang
45b8181f46 Refine behaviors of new app page
- Make the new app page unsearchable when the silky home is disable.
- Add Special app access back since the move action is not confirmed.
- Update preference keys to fix the search conflict with old app page.

Bug: 174964405
Test: robotest & visual on Settings Search
Change-Id: If92b084170ef0694d034ddde786f333b4b576572
2021-01-15 22:42:37 +08:00
Yanting Yang
daca263f46 Update homepage notification background color
Bug: 177213699
Test: visual
Change-Id: Ifc49145551d984567a42c0df5e944f23a8cb8a54
2021-01-15 20:25:55 +08:00
Yanting Yang
d4ed8b2f81 Merge "Create a new apps page for silky home" 2021-01-15 10:57:58 +00:00
TreeHugger Robot
0cb063c9e4 Merge "Remove redundant toolbar from CollapsingToolbarLayout" 2021-01-15 10:21:38 +00:00
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
Yanting Yang
92fce8ede4 Create a new apps page for silky home
- Change recent apps to the list view.
- Remove Conversations, Notifications and Permission manager.
- Remove Wireless emergency alerts and Special app access.
- Show App info preference if there's no recent apps.
- Show general category with recent apps.
- Use this page as the new apps entry on homepage for silky home.
- Make old apps page unsearchable when silky home is enabled.
- Exported new apps page in AndroidManifest.

Bug: 168166015
Bug: 174964405
Test: robotest & visual
Change-Id: I50d35a9d4723612214fce45a9e129fc175bc6831
2021-01-15 16:16:24 +08: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
Bill Yi
b9ed261662 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ifdfc3bcb22c5f3fc6b61c0a86e2761af6991a648
2021-01-14 23:42:04 -08: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
Mill Chen
7b163e2566 Remove redundant toolbar from CollapsingToolbarLayout
The new material library has been updated to be able to support
android.widget.Toolbar, so the redundant toolbar has to be removed.

Bug: 176882938
Test: visual verified
Change-Id: Ibada6b9d315c14d79e9f9f8015cbb5e00fbeea38
2021-01-15 14:43:30 +08:00
Ben Chung
b6e03f21b9 Add audio adjustment fragment in a11y settings
Accessibility settings audio and on-screen text category restructure,
add audio adjustment fragment for related accessibility services.

Bug: 174829936
Test: atest AudioAdjustmentFragmentTest, atest AccessibilitySettingsTest
Change-Id: I8b4397d042a0e7ce1242f95319a6a25cc45f38bb
2021-01-15 06:20:18 +00:00
TreeHugger Robot
6987b78782 Merge "Redirect users from Search to Settings with transition." 2021-01-15 06:12:49 +00: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
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
Stanley Wang
6a824b3535 Merge "Use SettingsLib's MainSwitchBar to replace SwitchBar in Settings." 2021-01-15 02:14:52 +00: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
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
Zoey Chen
5d34370e2f Merge "[Provider Model] Update the icon's path" 2021-01-14 13:13:41 +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
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
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
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
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
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
Yanting Yang
79c21c07d6 Merge "Override homepage tile positions for silky home" 2021-01-13 11:26:55 +00:00
Ben Chung
613ad3f88b Merge "Accessibility settings interaction controls category restructure, add system controls fragment for related accessibility services." 2021-01-13 11:19:57 +00:00
Bill Yi
d536b71847 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Icdfdb30a8be902a86187aa702e7e121112c553b4
2021-01-13 01:02:17 -08:00
Ben Chung
29ace16b35 Accessibility settings interaction controls category restructure, add system controls fragment for related accessibility services.
Bug: 174829936
Test: atest SystemControlsFragmentTest, atest AccessibilitySettingsTest
Change-Id: I609207c8c7bf0e5cb4beda0d5c578669bcd005a4
2021-01-13 16:29:44 +08:00
Yanting Yang
b3381de206 Override homepage tile positions for silky home
Create configs to record the packages and orders of homepage tiles and
then according to these data to override homepage tile positions.

Bug: 168166015
Test: visual with turning on/off silky home
Change-Id: I3fcb54ac531a124101084bb40064b5a7227bf311
2021-01-13 15:42:41 +08:00
TreeHugger Robot
bfcb1dc2c4 Merge "Extend character limit for accessibility_toggle_primary_mono_summary" 2021-01-13 03:04:59 +00:00
Kevin Chyn
95ca345b23 Update FingerprintEnrollEnrolling for UDFPS
SysUI is now responsible for showing the fingerprint icon and
circle (when finger is not down). This changes makes slight tweak
so the progress indicator is not covered by SysUI.

Fixes a few corner cases when onConfigurationChange occurs

Bug: 177026664
Bug: 177275693
Test: No effect on existing devices

Change-Id: Id06eab00861878a867804a27f4778f1e3fbd174e
2021-01-12 18:31:13 -08:00
Edgar Wang
e451e03694 Extend character limit for accessibility_toggle_primary_mono_summary
Bug: 165016056
Change-Id: Icef2807767656e5c4e83b4c52c28c5160521a490
Test: rebuild
2021-01-13 01:08:35 +00:00
Stanley Wang
57098f4589 Use SettingsLib's MainSwitchPreference to replace the Switches which use
LayoutPreference.

Bug: 175181773
Test: Run robotest and apply the widget in Settings and see the ui
Change-Id: I4588d1fc3004970b174e7c5c5d1aa7745f774985
2021-01-12 23:12:01 +08:00