Commit Graph

79217 Commits

Author SHA1 Message Date
TreeHugger Robot
535da9c98d Merge "Revert^2 "Expose role API for Settings on RoleManager."" 2021-01-16 00:20:00 +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
Tom Hsu
7c8e8eb6c2 Merge "[Provider mode] Display network type on mobile data preference." 2021-01-15 19:47:17 +00:00
TreeHugger Robot
35a2791ac2 Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-01-15 19:19:53 +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
tom hsu
b392d43fff [Provider mode] Display network type on mobile data preference.
Connect to 5G mobile network
  - https://screenshot.googleplex.com/8RziSbSjstMaFiK
 Connect to Wi-Fi
  - https://screenshot.googleplex.com/6ND3DFFsnLKSQRd

Bug: 176141828
Test: Manual test passed.
Test: Atest passed

Change-Id: I69b8ce0c1f5a16f0ff492be0b4ab26166a51bdc3
2021-01-16 01:56:39 +08:00
Bill Yi
0df2d56e78 Merge changes from topic "presubmit-am-f6d8cfa57c9a4f2e8262bec345cf6a18"
* changes:
  [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 65dbe17add
  Import translations. DO NOT MERGE ANYWHERE
2021-01-15 17:09:15 +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
TreeHugger Robot
8277a0f7dd Merge "Update homepage notification background color" 2021-01-15 14:26:33 +00:00
TreeHugger Robot
6b1e7c616d Merge "Remove both help and search icons from toolbar of wifi calling" 2021-01-15 12:43:21 +00:00
Yanting Yang
daca263f46 Update homepage notification background color
Bug: 177213699
Test: visual
Change-Id: Ifc49145551d984567a42c0df5e944f23a8cb8a54
2021-01-15 20:25:55 +08:00
Mill Chen
b126caa0e7 Remove both help and search icons from toolbar of wifi calling
On Android S, both help and search icons will be removed from each
toolbar of subsetting page. Using a feature flage to turn on/off these
menu items. After the collaping toolbar feature rolled out, the option
menu of toolbar will be removed entirely.

Bug: 177640645
Test: visual verified
Change-Id: I005fe85f23f8d28b3a6ca273ddb86ad3390ee0da
2021-01-15 19:01:03 +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
5d7f5ddf18 Merge "Remove help icon from the toolbar of App info page" 2021-01-15 10:20:12 +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
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
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
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
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
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
Bill Yi
658f18279f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I7fd0f83075a30c4983de9de979c91adecbe7e393
2021-01-14 22:54:50 -08: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
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
Mill Chen
3d7a3189a7 Remove help icon from the toolbar of App info page
On Android S, the help menu will be removed from the toolbar in all
setting pages. This is using a feature flag to turn on/off the help
menu. Then, it should be entirely removed when the collapsing toolbar
feature rolled out.

Bug: 177274632
Test: visual verified
Change-Id: I5aceb9f0a99ecee948272ee584bbebdcce7b7943
2021-01-15 13:44:32 +08:00
Bill Yi
5d8d1ac794 [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 65dbe17add
Blank merge reason: commit message contains skip directive

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

Change-Id: Ic561fa09d0753304a2d1c31694276ffc1826c6bf
2021-01-15 05:19:59 +00:00
Bill Yi
65dbe17add Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I15adf2fb53f5b1622970fe930b779e2d73093256
2021-01-14 21:19:36 -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