Commit Graph

79339 Commits

Author SHA1 Message Date
TreeHugger Robot
e63109e4d9 Merge "Fix the non-working bluetooth slice in the Assistant." 2021-01-13 10:19:51 +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
Jeremy Goldman
2fb7e1bbc4 Return mapping of subscription id to unique display name.
Fallback 1: if display names are the same, use the last 4 digits of a
phone number
Fallback 2: if the phone number cannot be displayed or the last 4 digits
are identical, fallback to use the subscription id

This function depends on DeviceInfoUtils for the phone number
formatting. Because DeviceInfoUtils is within SettingsLib, this function
(at least for now) is located within the Settings codebase itself.

go/unique-sub-display-names

Bug: 148303118
Bug: 150370656
Test: atest -c SubscriptionUtilTest
Change-Id: Id3e26254d4b193c13506df52fb59e97643df7a32
2021-01-13 16:18:00 +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
Bill Yi
129b3b91d1 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iaea90af3fb9836088e85de6a8a692b965b4419fa
2021-01-12 23:26:57 -08:00
Bill Yi
930589ef7c [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 1fa997bb14
Blank merge reason: commit message contains skip directive

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

Change-Id: I1a891d20b6cebabdc3405c9cc8a5025926b34ba9
2021-01-13 06:40:14 +00:00
Bill Yi
1fa997bb14 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ieda9ae4468f5d7d1c45f480780b9893b952c2e02
2021-01-12 22:39:28 -08:00
Yo Chiang
a366690de1 Remove feature flag "settings_dynamic_system"
Bug: 176795908
Test: Presubmit
Test: DSULoader
Change-Id: Ib6b450489c63913c47858cf295e4785fd5d0cfbb
2021-01-13 12:32:00 +08:00
Yi-Ling Chuang
cc00c0de8c Fix the non-working bluetooth slice in the Assistant.
The bluetooh slice has an inline control, which means the PendingIntent
of the slice action should be mutable. Update the mutability flag to fix
this issue.

Fixes: 171521962
Test: Use voice command to turn on bluetooth and the bt slice should
work properly.

Change-Id: I488eef5c94b2bf66a67fb97b4102d5da2971bf04
2021-01-13 12:24:33 +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
Stanley Wang
4c7b61ab14 Merge "Use SettingsLib's MainSwitchPreference to replace the Switches which use LayoutPreference." 2021-01-13 02:17:01 +00:00
Edgar Wang
2abd062140 Merge "Fix crash when TestingSettingsBroadcastReceiver handling intent" 2021-01-13 01:35:53 +00: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
Yan Zhu
460c2cbc0f Clean up split system user code in packages/apps/Settings/
Remove legacy code belonged to Andrometa project. Split system user
feature is always turned off now.

Bug: 137101239
Test: build, sync and reboot
Change-Id: Ieb84a6e131383dcd263a5d9b29a49dc64d905fe0
2021-01-12 16:57:49 -08:00
Wei Wang
a6daf85a32 Add a flag for controlling location indicator settings.
Bug: 177334097
Test: Manual && make RunSettingsRoboTests ROBOTEST_FILTER=LocationIndicatorsPreferenceControllerTest
Change-Id: I33821ab8328fd18b796a78813b7354a928832792
2021-01-12 16:02:57 -08:00
TreeHugger Robot
050b54165f Merge "Fix broken tests" 2021-01-12 19:56:47 +00:00
Joshua Mccloskey
0fa6e5eb41 Merge "Add immutability flag to face slice" 2021-01-12 19:27:17 +00:00
Jeff DeCew
1483080962 Fix broken tests
Fixes: 177280083
Test: export ROBOTEST_FILTER="SimSelectNotificationTest"; make -j RunSettingsRoboTests
Change-Id: I2e40c3f530c7466bd1f9c752da67e95805ac2294
2021-01-12 13:24:42 -05:00
Alex Johnston
c3b31dd94c Add cred mng app metrics to Settings
Log:
* package name
* number of remote apps/URIs
* request accepted
* request failed
* request cancelled
* removed

Bug: 165641221
Test: manual
Change-Id: I629b95626c9581da8d7f1ea6758120768471a60e
2021-01-12 16:49:44 +00:00
Benjamin Franz
1a40f22c36 Merge "Update constructor usage for CompatibilityChangeInfo" am: 39a920dd22 am: 9229794727 am: 04bbd87254
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1541372

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I9870c806d1638298a6f1855dc9ffd973d7f2cf24
2021-01-12 16:48:26 +00:00
Benjamin Franz
04bbd87254 Merge "Update constructor usage for CompatibilityChangeInfo" am: 39a920dd22 am: 9229794727
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1541372

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I91b4bd641afa6811cb5837763e60fbfd0decb82e
2021-01-12 16:41:53 +00:00
Benjamin Franz
9229794727 Merge "Update constructor usage for CompatibilityChangeInfo" am: 39a920dd22
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1541372

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I4946065f619aac04cf681c310bfe04a6e5e68099
2021-01-12 16:22:18 +00:00
Benjamin Franz
39a920dd22 Merge "Update constructor usage for CompatibilityChangeInfo" 2021-01-12 15:38:01 +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
TreeHugger Robot
adcd4f165d Merge "Add inline toggle for Prevent Ringing gesture." 2021-01-12 15:03:32 +00:00
Jeremy Goldman
4efd9e6477 Merge "EuiccOperationSidecar PendingIntent includes Immutable flag." 2021-01-12 12:16:13 +00:00
Jeremy Goldman
1cd42ba295 Merge "MobileDataSlice PendingIntents include an immutable flag" 2021-01-12 12:14:18 +00:00
Jeremy Goldman
5a97ce8a0a Merge "WifiSliceHelper and associated test uses immutable PendingIntent flags" 2021-01-12 12:14:13 +00:00
SongFerng Wang
91c03a3254 Merge "Rephrase the see more button of Internet panel when ProviderModel is enabled" 2021-01-12 12:13:40 +00:00
Jeremy Goldman
9f227b2aaa Merge "SimSelectNotification pending intent include an Immutable flag" 2021-01-12 12:13:30 +00:00
TreeHugger Robot
3180917a1d Merge "Refine the preference layout for homepage" 2021-01-12 09:01:54 +00:00
Jeremy Goldman
ad83060bd9 MobileDataSlice PendingIntents include an immutable flag
Bug: 172209293
Test: atest SettingsUnitTests
Change-Id: Ie71e104ca9ff3dff1d347178381656046d6068d7
2021-01-12 16:52:24 +08:00
Jeremy Goldman
cd669b84bc WifiSliceHelper and associated test uses immutable PendingIntent flags
Bug: 172203646
Bug: 172810495
Test: atest -c WifiSliceHelperTest
Change-Id: Ie4de9517461a56b2328e8506d9eb640914924822
2021-01-12 16:49:36 +08:00
Jeremy Goldman
fb41503ca8 SimSelectNotification pending intent include an Immutable flag
Bug: 172212792
Test: atest SettingsUnitTests
Change-Id: Id40e145eed1d268e8147ad21d9b9147268a20453
2021-01-12 16:46:58 +08:00
Jeremy Goldman
af60e537f4 EuiccOperationSidecar PendingIntent includes Immutable flag.
Bug: 172206956
Test: atest SettingsUnitTests
Change-Id: I8378746660777082d714ace21d9a459775fefc95
2021-01-12 16:45:26 +08:00
SongFerngWang
19cd9506c7 Rephrase the see more button of Internet panel when ProviderModel is enabled
Bug: 176871139
Test: build Test and manaual test(check the UI)
make RunSettingsRoboTests -j ROBOTEST_FILTER=InternetConnectivityPanel
(PASS)

Change-Id: I5e601c6639d979ca776f4bdf7f5e870a0513c7f5
2021-01-12 16:31:41 +08:00
Ben Chung
f27d3c33c4 Merge "Accessibility settings interaction controls category restructure, add tap assistance fragment for related accessibility services." 2021-01-12 04:53:55 +00:00
Yi-Ling Chuang
b058221b62 Add inline toggle for Prevent Ringing gesture.
- Fork sound_settings_v2 for dev.
- Replace Preference with PrimarySwitchPreference for the Prevent
Ringing entry.
- When the toggle is on, only show the status text without the on/off
info.
- Remove unused codes.

Bug: 174964721
Test: robotests
Change-Id: I990f5c778436c8058d4a5953c7f15a9a7eb580d8
2021-01-12 12:48:41 +08:00
Tsung-Mao Fang
6c921e5b6c Refine the preference layout for homepage
Based on the Android S design, we update the layout
for homepage.

The scope covers the layout of preference and icons itself.

- Change the icon size for IA items.
- Change the layout spacing of preference.
- Change the margin or search bar.

Test: See the screen and confirm with UX
Bug: 177213699
Change-Id: I985966fdf39a5989d51991aa3c06ea5fd31e8fe2
2021-01-12 12:42:44 +08:00
Alisher Alikhodjaev
64ad227e98 Merge "Fix robotests failure in connectivity settings" into rvc-qpr-dev am: 07bb0280f6 am: a75273fe12
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13298728

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia17fe2db37d0258b9e3a8a09dce8d148f6ee12be
2021-01-12 03:40:25 +00:00
TreeHugger Robot
0f81257a5f Merge "Disable toolbar title of screen lock pages" 2021-01-12 02:14:38 +00:00
TreeHugger Robot
b63f537238 Merge changes from topic "settings_collapsing_toolbar"
* changes:
  Disable the title of mobile network
  Add CollapsingToolbarLayout for sub settings
2021-01-12 02:14:38 +00:00
TreeHugger Robot
e732adcd81 Merge "Update ScrollView to NestedScrollView in the font size page" 2021-01-12 02:14:38 +00:00
TreeHugger Robot
d7ce9a6534 Merge "Change ScrollView to NestedScrollView for screen size page" 2021-01-12 02:14:38 +00:00
TreeHugger Robot
cbfeb8bf01 Merge "Set a title for personal dictionary" 2021-01-12 02:14:38 +00:00
TreeHugger Robot
bd4b0687a6 Merge "Remove some emergency setting items scattered in settings" 2021-01-12 02:06:33 +00:00
Alisher Alikhodjaev
a75273fe12 Merge "Fix robotests failure in connectivity settings" into rvc-qpr-dev am: 07bb0280f6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13298728

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia942e29d02f120905558779723fdb4a7b00117f5
2021-01-11 23:31:02 +00:00
Fan Zhang
3440b9529f Remove some emergency setting items scattered in settings
All these items are displayed in the new Safety & emergency page.

Bug: 175158310
Test: manual
Change-Id: I3e323f2452db6d62aa98c79835c964c1c06a06cf
2021-01-11 15:28:35 -08:00