Commit Graph

78921 Commits

Author SHA1 Message Date
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
Alisher Alikhodjaev
07bb0280f6 Merge "Fix robotests failure in connectivity settings" into rvc-qpr-dev 2021-01-11 23:08:40 +00:00
Diego Vela
12797dc986 Merge "Revert "Expose role API for Settings on RoleManager."" 2021-01-11 19:30:04 +00:00
Diego Vela
e822aea2e1 Revert "Expose role API for Settings on RoleManager."
Revert submission 13261069-role-settings-api

Reason for revert: Might be breaking RcsProvisioningMonitorTest
Bug: 177227549
Test: RcsProvisioningMonitor
Reverted Changes:
Idbd0db119:Expose role API for Settings on RoleManager.
Iafe1d2460:Expose role API for Settings on RoleManager.
I6a3e5a26c:Expose role API for Settings on RoleManager.

Change-Id: Ic48c562e8249ca43e7c594f55d94ba190540be22
2021-01-11 19:11:25 +00:00
Mill Chen
1b37291364 Change ScrollView to NestedScrollView for screen size page
To make sure the collapsing toolbar work as usual, we need to use
NestedScrollView instead of ScrollView in the screen size page.

Bug: 176896338
Test: manual test and visual verified
1) Navigate to Settings -> Display -> Display size
2) Change the size on the seekbar
3) Observe and check if the preview window can be scrolled

Change-Id: Ia5bb66ef63b9d9a7713cebddbf6ab6258ff82b8d
2021-01-12 02:56:32 +08:00
joshmccloskey
b9e320c8e7 Add immutability flag to face slice
Fix: 172212761
Test: Verified suggestion icon appears.
Change-Id: Ia17ca67d7d729e0608169c23f9df0c1a9d473c85
2021-01-11 18:28:46 +00:00
Ashwini Oruganti
eb9e2e74cc Merge "Bulk apply PendingIntent.FLAG_MUTABLE_UNAUDITED." 2021-01-11 18:25:05 +00:00
Fan Zhang
1447ed1fa5 Merge "Add android:order to all emergency setting items" 2021-01-11 16:52:11 +00:00
Mill Chen
82777ba0c0 Disable toolbar title of screen lock pages
After applying collapsing toolbar in the Settings app, the toolbar title
will be shown in every subsetting pages. However some pages in the
security category don't need the title, like set screen lock page and
lock screen page. This CL is to disable these titles through overriding
isToolbarEnabled method.

Bug: 176883575
Test: manual test and visual verified
1) Navigate to Settings -> Security -> Screen lock ->
Pattern/PIN/Password
2) Observe and check if there is a duplicated title.

Change-Id: I6dfa4fbe1b5e2ac3582804ba1e125196f3bdba6c
2021-01-11 18:31:54 +08:00