Commit Graph

22376 Commits

Author SHA1 Message Date
Edgar Wang
bd0dd5d886 Rearrange System settings
- Fork system_dashboard_fragment_v2 for dev.
- Reorder the preference
- Remove summary

Bug: 174965365
Test: manual & robotest
Change-Id: Icc994f3b2e38ad54958deb5c9f80b6cd085029f0
2021-01-29 12:10:58 +00:00
TreeHugger Robot
a7c0036a8c Merge "Fix the background color of the homepage." into sc-dev 2021-01-29 10:57:16 +00:00
Yi-Ling Chuang
a386cb27fc Fix the background color of the homepage.
- Remove the windowBackground override.

Fixes: 177715172
Test: open the homepage and see its color.
Change-Id: If8f6f789eef49caabf6d0f04eee33850e1c98e19
2021-01-29 17:19:40 +08:00
Jason Chiu
8863015827 Fix the suggestion button distortion
- The button is distorted when setting font/display size to largest.
- Auto resize and limit the max lines of the header so that the button
  won't be squeeze to the bottom.

Fixes: 178459387
Test: visual, robotest
Change-Id: I491be5c3d70c643244fa989324e828774e15b34d
2021-01-29 17:06:43 +08:00
TreeHugger Robot
097361797a Merge "[Provider Model] Dynamically update the Internet Panel title" into sc-dev 2021-01-29 07:37:50 +00:00
Jiashen Wang
b54d25ee13 Slot Change Receiver Migration
Implemented slot change cases when pSIM is inserted and removed.
Bug: 153811431
Bug: 170508680
Test: Manually tested

Change-Id: Ib0a96da1d7d702f7c64e75b929c73b8548f8e459
2021-01-28 14:15:53 -08:00
Yanting Yang
1e1c813354 Merge "Update the homepage icons" into sc-dev 2021-01-28 13:50:48 +00:00
Weng Su
28172b61c8 [Provider Model] Dynamically update the Internet Panel title
- Change from "Internet" to "Airplane mode networks"

- Screenshot:
  https://screenshot.googleplex.com/gk3RBcjPsXq5NTk

Bug: 176803442
Test: manual test
- atest InternetConnectivityPanelTest
- make RunSettingsRoboTests ROBOTEST_FILTER=PanelFragmentTest

Change-Id: Ifb2c24434e480861fc7c3eaece683d49eb99013e
2021-01-28 11:00:08 +00:00
TreeHugger Robot
f38af98895 Merge "Apply footer icon for Smart Storage" into sc-dev 2021-01-28 06:09:19 +00:00
Edgar Wang
9178f7cd66 Apply footer icon for Smart Storage
- Apply FooterPreference

Bug: 177968088
Test: manual & robotest
Change-Id: Ie934a139863a7522c6fd38cd27f8814fabcb541e
2021-01-28 04:55:15 +00:00
Yanting Yang
ff6a87458f Update the homepage icons
Based on the Android S design to update the homepage icons in Settings
codebase.

Bug: 178363516
Test: visual
Change-Id: I4f83912d118f85d7f13feb023d30431852efe065
2021-01-27 22:30:30 +08:00
Zoey Chen
27ab48c8df [Provider Model] Update the string to latest.
Bug: 178561739
Test: manual
Change-Id: I96a23af83b4a0786cd1e3714d6260008dbdcf081
(cherry picked from commit 2449c03927)
2021-01-27 13:59:59 +00:00
Wesley.CW Wang
0457af5347 Reorder Settings Battery main page index (1/2)
- Reorder battery page index
 - Remove option menu
 - Add battery usage preference
 - Remove last full charge and screen usage preference
 Screenshots:
 https://screenshot.googleplex.com/7VMeSVKHGViZyRv.png
 https://screenshot.googleplex.com/7v6wNL4qamfMAgM.png

Bug: 177407113
Test: make SettingsGoogleRoboTests -j40
Change-Id: I8a1fb30cdd3774840bf28d9c84017d946a4244df
2021-01-26 14:01:29 +00:00
TreeHugger Robot
6b603fc5e2 Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-01-26 08:33:54 +00:00
TreeHugger Robot
3b61be8766 Merge "Adjust margin to fix title overlapped with arrow" 2021-01-26 08:17:34 +00:00
Manish Singh
aa8bf5993d Merge "Add header to USB power options preference" 2021-01-26 05:31:33 +00:00
Chris Li
c175f356ec Merge "Allow non-resizable apps in split-screen (3/n)" 2021-01-26 02:53:25 +00:00
Bill Yi
c6ad86ae6a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I49757ce99764947b3afff8c87152b89da838ef94
2021-01-26 02:24:29 +00:00
Jiashen Wang
a975202b8f Merge "Add a config flag to control slot change receiver in Settings" 2021-01-26 00:17:27 +00:00
Yanting Yang
deda4bc359 Merge "Correct the screen title for AppNotificationSettings" 2021-01-25 18:52:42 +00:00
Weng Su
e9d44254c7 Merge "[Provider Model] Add connected ethernet network preference" 2021-01-25 14:46:05 +00:00
Yanting Yang
a31dcbb8e3 Correct the screen title for AppNotificationSettings
Add the screen title to resolve showing default title "Settings" on the
AppNotificationSettings.

Fixes: 177968781
Test: robotest & visual
Change-Id: I58e5e4cb6c1445b03d70fbb4e431cdcc9d3a09f0
2021-01-25 22:45:10 +08:00
Jason Chiu
524feaf31c Merge "Adjust homepage styles and layouts" 2021-01-25 09:43:22 +00:00
Mill Chen
01a48cdf3e Adjust margin to fix title overlapped with arrow
When both display size and font size are changed to largest option, a
word in the title of subsetting page will probably be wrapped into
multiple lines. Update the margin end of expanded title to prevent from
wrapping a word into multiple lines.

Fixex: 177969094
Test: visual verified
1) Enlarge both display size and font size as largest
2) Settings -> Display -> Lock screen -> Tap to check phone
or
Settings -> Notifications
3) Observe these titles of pages

Change-Id: Icecdf912e4764cb4592ff460cbc12cc1a7dd6b48
2021-01-25 16:56:39 +08:00
Weng Su
c7003e95a3 [Provider Model] Add connected ethernet network preference
- Show the preference if connected to ethernet network

- Hide the preference if not connected to ethernet network

- Screenshot:
  https://screenshot.googleplex.com/5ZkZXnTr9Hcfsyt

Bug: 176796623
Test: manual test
- atest ConnectedEthernetNetworkControllerTest
- make RunSettingsRoboTests ROBOTEST_FILTER=NetworkProviderSettingsTest

Change-Id: I0f062eb2ee4898976f5e7a1c3f2c4061b60a3126
2021-01-25 07:31:52 +00:00
Calvin Pan
e0ee1e1d74 Merge changes Icee8c85e,I98be6f30,I343b705b
* changes:
  [Smart forwarding] Enable/Disable Smart Forwarding flow
  [Smart forwarding] Add UI for Smart Forwarding
  [Smart forwarding] Add string and layout resource
2021-01-25 07:29:45 +00:00
calvinpan
e077e39a1b [Smart forwarding] Add string and layout resource
Add string and layout resource

Bug: 170178144
Test: By manual
1. Test turn on/turn off flow
2. Test enter phone number flow

Change-Id: I343b705b0491003d8a3e77ac65630966f02d3546
2021-01-25 10:07:26 +08:00
Bill Yi
4fc870219b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Id3a0b6565a0a8cf38f65bd9b8f537f4aa1da5d29
2021-01-24 13:39:50 +00:00
Jason Chiu
b56ea7e9e3 Adjust homepage styles and layouts
- Fine tune the header text size and position
- Fix the header overlapping problem on the homepage and collapsing
  toolbar pages when configuration changes by adding android:id.
- New AppBarScrollingViewBehavior for the homepage to avoid manually
  offsetting the IA
- Correct the formula of counting search box height

Test: robotest, manual
Fixes: 177967923
Fixes: 177968564
Change-Id: Id3ed44f4296fa2a19d6890b009d3881a5c140bbd
2021-01-22 13:27:22 +00:00
Stanley Wang
8e2ecd5918 Merge "Fix the ClassCastException of ChannelNotificationSettings" 2021-01-22 06:58:54 +00:00
Weng Su
bfefb8015a Merge "[Provider Model] Update internet preference icon and summary" 2021-01-22 05:34:14 +00:00
Tsung-Mao Fang
4c34eb8537 Merge "Fix truncated issue on search text" 2021-01-22 05:04:03 +00:00
Stanley Wang
b451e8f115 Fix the ClassCastException of ChannelNotificationSettings
Update the LayoutPreference to SettingsMainSwitchPreference.

Fix: 177907827
Test: Run robotest and apply the widget in Settings and see the ui
Change-Id: I7ce320b8e38432faf685914bf91cf1daa62b2687
2021-01-22 03:24:33 +00:00
Jiashen Wang
e9be9eb08b Add a config flag to control slot change receiver in Settings
Bug: 153811431
Bug: 170508680
Test: Manually tested
Change-Id: I4a06eba0d9e10c1eb9638a570af49df33758dba6
2021-01-21 14:53:27 -08:00
Tsung-Mao Fang
3692c70cc1 Fix truncated issue on search text
Test: See the screen
Fix: 177665666
Change-Id: I4941ff95320141c7ea7c9f1947138c6940bdf501
2021-01-21 10:23:44 +00:00
Weng Su
46837dc4d5 [Provider Model] Update internet preference icon and summary
- Airplane mode icon/summary

- Airplane mode networks icon/summary

- Wi-Fi network connected icon/SSID

- Cellular network connected icon/carrier-name

- Ethernet network connected icon/summary

- Screenshot:
  https://screenshot.googleplex.com/AzhCEX2HjwYUMtJ
  https://screenshot.googleplex.com/9BRfQLMW4UvHqqq
  https://screenshot.googleplex.com/5jdi8oEjMPUURdT

Bug: 176796623
Test: manual test
- atest -c InternetUpdaterTest \
           InternetPreferenceControllerTest

Change-Id: Icc8944dabdac597f12b67cffa72cb0be02d9671d
2021-01-21 17:24:10 +08:00
Arc Wang
02c9b032cd Show "Safety & emergency" in Settings search result
Add android:key to PreferenceScreen of EmergencyDashboardFragment.

Bug: 177426215
Test: manual
Change-Id: I9ad059a1dd051cb1ca0c038fd6c47b739852c54d
2021-01-21 07:24:47 +00:00
Manish Singh
ed0af5f88b Add header to USB power options preference
Since the separators for the preference categories are no longer shown
in Android, it makes sense to add a header for the power options
category just like rest of the categories in USB Preferences.

BUG=158466651
Test: manual.

Change-Id: I18e2e8acfcb66e2601137c6718f8b8335776416c
2021-01-21 03:11:07 +00:00
Chris Li
9cbc62824b Allow non-resizable apps in split-screen (3/n)
Update the developer option for enabling non-resizable for multi window
(freeform/splitscreen) instead of only freeform

Bug: 176061101
Test: manual
Test: make RunSettingsRoboTests
Change-Id: I56a9d8edca502d9449967f557c075b1408375a8a
2021-01-20 15:20:07 -08:00
Fan Zhang
e81091175e Default emergency gesture setting On.
And a few drive-by fixes:
* Move all emergency gesture fragments and controllers to emergency
  package for better code colocation.
* Remove the placeholder video preference from emergency_gesture_settings.xml

Bug: 178009196
Test: reran robotests
Change-Id: Ifcb591e7ab8e5e5494c480cbbe9410c08c296f8e
2021-01-20 13:08:04 -08:00
TreeHugger Robot
0f4b83a760 Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-01-20 15:55:00 +00:00
Bill Yi
be90f6318f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I19076a8152f6ba636d959f92303fcdd9d5df46e5
2021-01-20 12:01:54 +00:00
Ben Chung
1c7eba6660 Merge "Add audio adjustment fragment in a11y settings" 2021-01-20 08:49:35 +00:00
Abel Tesfaye
fc2582c0ea Merge "Correct Wifi Share UI margins and capitalization" 2021-01-19 20:00:49 +00:00
TreeHugger Robot
544310993e Merge "Update FingerprintEnrollFindSensor for UDFPS" 2021-01-19 17:51:32 +00:00
Mill Chen
057ce4055e Update FingerprintEnrollFindSensor for UDFPS
Since the education page of UDFPS is different from the one for rear
fingerprint, it's necessary to create a new education page for UDFPS and
update the decription.

Bug: 177026524
Test: visual verified
Change-Id: I70eb80484cccfbb583c32dbaadbc6c2744b5db60
2021-01-20 00:01:35 +08:00
TreeHugger Robot
119bbbd308 Merge "[Provider Model] Add Fix connectivity toggle to Internet Settings" 2021-01-19 07:28:18 +00:00
Weng Su
598934d645 [Provider Model] Add Fix connectivity toggle to Internet Settings
- Add Fix connectivity toggle in menu item

- Show "Resetting your internet..." when recovering

- Screenshot:
  https://screenshot.googleplex.com/BPyRADfNUoPE8Dc

Bug: 172297799
Test: manual test
- make RunSettingsRoboTests ROBOTEST_FILTER=NetworkProviderSettingsTest

Change-Id: I27594d24659ca281e224f86accc20d49514d5001
2021-01-19 06:08:53 +00:00
Bonian Chen
26552500f6 [Settings] Remaining part of Cross SIM calling (backup calling)
1. Change the wording
2. Add a list of summary within Calls and SMSs UI

Bug: 174012397
Test: manual
Change-Id: I6dde0cea9c1386029377b3ea2682ed8b977f9427
2021-01-18 20:41:39 +08:00
Bonian Chen
7c22644825 Merge "[Settings] Initial config UI support for cross sim calling" 2021-01-18 09:49:04 +00:00