OSDN Git Service

android-x86/packages-apps-Settings.git
5 years agoMerge "Always show disabled pSIMs in single-sim mode" into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 21:06:47 +0000 (21:06 +0000)]
Merge "Always show disabled pSIMs in single-sim mode" into qt-dev

5 years agoMerge "Using explicit Looper in Handler initialization." into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 18:28:56 +0000 (18:28 +0000)]
Merge "Using explicit Looper in Handler initialization." into qt-dev

5 years agoMerge "Fix WifiDetailPreferenceControllerTest new test case failure" into qt-dev
Andrew Sapperstein [Tue, 23 Apr 2019 18:18:41 +0000 (18:18 +0000)]
Merge "Fix WifiDetailPreferenceControllerTest new test case failure" into qt-dev

5 years agoAlways show disabled pSIMs in single-sim mode
Antony Sargent [Tue, 23 Apr 2019 17:55:51 +0000 (10:55 -0700)]
Always show disabled pSIMs in single-sim mode

In single-sim mode, you can have both an eSIM subscription and a pSIM
inserted into the device, and only one of them can be enabled. It turns
out that if the pSIM is the disabled one, we would not show it in the
settings UI; this CL fixes that.

It also fixes a somewhat related problem that I noticed while testing
this, that if you have only one subscription that happens to be
disabled, we were not showing the on/off switch at the top of the page,
which would leave you with no way to enable it.

Bug: 129864878
Test: make RunSettingsRoboTests
Change-Id: I4214ad34c59ac2df429772c066c51a9318f5baa7

5 years agoMerge "Reduce binder call to OverlayManager (3->1)" into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 17:50:05 +0000 (17:50 +0000)]
Merge "Reduce binder call to OverlayManager (3->1)" into qt-dev

5 years agoMerge "Add action metrics for Wi-Fi provision features" into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 17:36:54 +0000 (17:36 +0000)]
Merge "Add action metrics for Wi-Fi provision features" into qt-dev

5 years agoMerge "Remove "unless turned on automatically" text" into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 17:02:28 +0000 (17:02 +0000)]
Merge "Remove "unless turned on automatically" text" into qt-dev

5 years agoRemove "unless turned on automatically" text
Beverly [Tue, 23 Apr 2019 14:08:32 +0000 (10:08 -0400)]
Remove "unless turned on automatically" text

- In Q, the title of this preference was changed from
"Duration" to "Default duration."  The title change clarifies
that the preference controls the dnd default duration and not the
schedules, so we can now remove "unless turned on automatically"
text in the subtext.

Test: manual
Fixes: 130843902
Change-Id: I404acd61136e1e1aa4675e421c07ce871c1f9db9

5 years agoMerge "Automatically direct the user to the captive portal in Wi-Fi Slice" into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 11:47:21 +0000 (11:47 +0000)]
Merge "Automatically direct the user to the captive portal in Wi-Fi Slice" into qt-dev

5 years agoMerge "Expand advanced button by default in Notifications." into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 09:33:47 +0000 (09:33 +0000)]
Merge "Expand advanced button by default in Notifications." into qt-dev

5 years agoFix WifiDetailPreferenceControllerTest new test case failure
clownshen [Tue, 23 Apr 2019 09:15:32 +0000 (17:15 +0800)]
Fix WifiDetailPreferenceControllerTest new test case failure

Bug: 130370187
Test: make RunSettingsRoboTests -j32 ROBOTEST_FILTER=com.android.settings.wifi.details.WifiDetailPreferenceControllerTest
Change-Id: I314702be14db4e853412874c123e0a4b229849a2

5 years agoMerge "Change description string of Wi-Fi add device" into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 04:32:26 +0000 (04:32 +0000)]
Merge "Change description string of Wi-Fi add device" into qt-dev

5 years agoAutomatically direct the user to the captive portal in Wi-Fi Slice
Jason Chiu [Fri, 19 Apr 2019 10:47:39 +0000 (18:47 +0800)]
Automatically direct the user to the captive portal in Wi-Fi Slice

Save the SSID when the user clicks the network, and then automatically
start login page when the network gets the captive portal capability.

Fixes: 128056349
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.wifi
Change-Id: Ia25241a8243d7d6aae604f341b512350404d9fd1

5 years agoMerge "Fix WifiDetailPreferenceControllerTest failure" into qt-dev
Clown SHEN [Tue, 23 Apr 2019 03:02:31 +0000 (03:02 +0000)]
Merge "Fix WifiDetailPreferenceControllerTest failure" into qt-dev

5 years agoMerge "Correct detail page UI once user change MAC randomized setting" into qt-dev
Clown SHEN [Tue, 23 Apr 2019 03:01:48 +0000 (03:01 +0000)]
Merge "Correct detail page UI once user change MAC randomized setting" into qt-dev

5 years agoMerge "Remove todo comment" into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 00:19:26 +0000 (00:19 +0000)]
Merge "Remove todo comment" into qt-dev

5 years agoMerge "Improve some comments of strings and codes" into qt-dev
TreeHugger Robot [Tue, 23 Apr 2019 00:04:56 +0000 (00:04 +0000)]
Merge "Improve some comments of strings and codes" into qt-dev

5 years agoReduce binder call to OverlayManager (3->1)
Hyunyoung Song [Mon, 22 Apr 2019 23:27:50 +0000 (16:27 -0700)]
Reduce binder call to OverlayManager (3->1)

Bug: 131112014
Test: builds, manually tested

Change-Id: I1f0fba30a55713be92b8755c0793ee84928f9d5e

5 years agoUsing explicit Looper in Handler initialization.
Kweku Adams [Mon, 22 Apr 2019 21:52:21 +0000 (14:52 -0700)]
Using explicit Looper in Handler initialization.

Bug: 130639146
Test: flash device and toggle settings
Change-Id: I40d0578487c94da9fc9d940089bacbddf3a43751

5 years agoMerge "Update enrollment footer icon" into qt-dev
Kevin Chyn [Mon, 22 Apr 2019 23:23:16 +0000 (23:23 +0000)]
Merge "Update enrollment footer icon" into qt-dev

5 years agoMerge "Update introduction layout spacing" into qt-dev
Kevin Chyn [Mon, 22 Apr 2019 23:16:39 +0000 (23:16 +0000)]
Merge "Update introduction layout spacing" into qt-dev

5 years agoMerge "Test fix: Add MmsPreferenceController to whitelist" into qt-dev
Lei Yu [Mon, 22 Apr 2019 22:57:24 +0000 (22:57 +0000)]
Merge "Test fix: Add MmsPreferenceController to whitelist" into qt-dev

5 years agoTest fix: Add MmsPreferenceController to whitelist
Lei Yu [Mon, 22 Apr 2019 22:51:58 +0000 (15:51 -0700)]
Test fix: Add MmsPreferenceController to whitelist

Add it to grandfather_slice_controller_not_in_xml since right now
it only exists in mobile_network_settings_v2.xml, not v1.

This should be fixed automatically once we remove all old code.

Bug: 130222866
Test: RunSettingsRoboTests
Change-Id: Ib0bc976fd31818d7b39ca9f3e7427859fd7175ff

5 years agoMerge "Partial revert Ib2396575bbc69a7cca5e9c90e113c76ff6db00b5" into qt-dev
Fan Zhang [Mon, 22 Apr 2019 22:48:59 +0000 (22:48 +0000)]
Merge "Partial revert Ib2396575bbc69a7cca5e9c90e113c76ff6db00b5" into qt-dev

5 years agoRemove todo comment
Alex Salo [Mon, 22 Apr 2019 21:54:51 +0000 (14:54 -0700)]
Remove todo comment

Bug: 129352433
Test: not needed
Change-Id: I7aa7840c0852c17ed05dba684fdd84cb7d5ad4ed

5 years agoMerge "Fix CodeInspectionTest" into qt-dev
TreeHugger Robot [Mon, 22 Apr 2019 21:37:29 +0000 (21:37 +0000)]
Merge "Fix CodeInspectionTest" into qt-dev

5 years agoUpdate enrollment footer icon
Kevin Chyn [Mon, 22 Apr 2019 19:38:33 +0000 (12:38 -0700)]
Update enrollment footer icon

Fixes: 131094701

Test: Builds
Change-Id: I9e1a75986ffeb35791271d55bf05a2daa9af5bad

5 years agoPartial revert Ib2396575bbc69a7cca5e9c90e113c76ff6db00b5
Fan Zhang [Mon, 22 Apr 2019 19:28:07 +0000 (12:28 -0700)]
Partial revert Ib2396575bbc69a7cca5e9c90e113c76ff6db00b5

The previous change removed summary text for gesture settings too
aggresively. We still need summary in main Settings app, just not in
search.

Fixes: 130652619
Test: manual
Change-Id: I95ae3ca31b34a514f10993413527e987cf67d998

5 years agoUpdate introduction layout spacing
Kevin Chyn [Thu, 18 Apr 2019 23:34:37 +0000 (16:34 -0700)]
Update introduction layout spacing

Bug: 130740990

Test: builds
Change-Id: I2c10d991097fcdb7eb0775f744b5b12af2597780

5 years agoMerge "Add mms preference and controller" into qt-dev
Lei Yu [Mon, 22 Apr 2019 17:55:34 +0000 (17:55 +0000)]
Merge "Add mms preference and controller" into qt-dev

5 years agoMerge "Remove feature flag for slice injection" into qt-dev
Lei Yu [Mon, 22 Apr 2019 17:49:52 +0000 (17:49 +0000)]
Merge "Remove feature flag for slice injection" into qt-dev

5 years agoFix WifiDetailPreferenceControllerTest failure
clownshen [Mon, 22 Apr 2019 10:33:46 +0000 (18:33 +0800)]
Fix WifiDetailPreferenceControllerTest failure

Bug: 130896210
Test: make RunSettingsRoboTests -j32 ROBOTEST_FILTER=com.android.settings.wifi.details.WifiDetailPreferenceControllerTest
Change-Id: I994fbc4a67f4c58afebb38316555f8e1442b96c0

5 years agoRemove "Play media to" when no connected device
Tim Peng [Mon, 22 Apr 2019 06:05:09 +0000 (14:05 +0800)]
Remove "Play media to" when no connected device

Bug: 130251782
Test: make -j42 RunSettingsRoboTests
Change-Id: Id40199a67aef48b99f59cf6e04f93be2abe5e8fc

5 years agoExpand advanced button by default in Notifications.
Yi-Ling Chuang [Fri, 19 Apr 2019 11:03:46 +0000 (19:03 +0800)]
Expand advanced button by default in Notifications.

When users search for a certain preference hidden in advanced group
in Notifications page, we should expand the advanced button so
users can see the highlighted preference.

Fixes: 130655529
Test: visual
Change-Id: I6a166ddd1e741651d3a3a76ccfc37c58eafdf7e1

5 years agoCorrect detail page UI once user change MAC randomized setting
clownshen [Wed, 17 Apr 2019 11:33:37 +0000 (19:33 +0800)]
Correct detail page UI once user change MAC randomized setting

Changing MAC randomized setting will disconnect and reconnect Wi-Fi in
the background automatically. UI display as disconnect even AP
reconnected. Fix this problem and also remove some obsolete code.
Another problem is connect button display as disabled with
"Connecting..." wording after user click connect then change the MAC
randomized setting.

Bug: 130370187
Test: Manual test with test case in go/wifi_connnection_btn_design
Test: make RunSettingsRoboTests -j32 ROBOTEST_FILTER=com.android.settings.wifi.details.WifiDetailPreferenceControllerTest
Change-Id: Id87c3db0cc785a9ceb3a71c7cbb78ffd87ffb0a1

5 years agoChange description string of Wi-Fi add device
Arc Wang [Mon, 22 Apr 2019 03:06:16 +0000 (11:06 +0800)]
Change description string of Wi-Fi add device

Bug: 130825364
Test: manual
Change-Id: Ic633cfa80475a438be94fabb0527c24ec9df39a9

5 years agoImprove some comments of strings and codes
cosmohsieh [Thu, 18 Apr 2019 02:58:45 +0000 (10:58 +0800)]
Improve some comments of strings and codes

1) Correct improper function comment about forget menu
2) Extends char limit of wifi_scan_always_turn_on_message_unknown for
translation.
3) Correct string comment on Saved networks summary

Bug: 130628569
Test: make RunSettingsRoboTests -j32 ROBOTEST_FILTER=com.android.settings.wifi.WifiSettingsTest
Change-Id: I0e60e4f205c794367dfffc032cb4334dac4d1cdd

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Sun, 21 Apr 2019 04:43:31 +0000 (04:43 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 21 Apr 2019 00:58:18 +0000 (17:58 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I681232854213f3b89d0543d30c640622d759a396

5 years agoMerge "Remove redundant (and failing) test getAvailabilityStatus_hasManagedUser_AVAIL...
TreeHugger Robot [Sat, 20 Apr 2019 23:16:25 +0000 (23:16 +0000)]
Merge "Remove redundant (and failing) test getAvailabilityStatus_hasManagedUser_AVAILABLE" into qt-dev

5 years agoMerge "Ignore the outdated entitlement check" into qt-dev
Mark Chien [Sat, 20 Apr 2019 04:41:52 +0000 (04:41 +0000)]
Merge "Ignore the outdated entitlement check" into qt-dev

5 years agoMerge "Allow up two lines of text on dnd restrict notif" into qt-dev
TreeHugger Robot [Fri, 19 Apr 2019 23:20:10 +0000 (23:20 +0000)]
Merge "Allow up two lines of text on dnd restrict notif" into qt-dev

5 years agoMerge "Fix battery robo test" into qt-dev
TreeHugger Robot [Fri, 19 Apr 2019 23:13:51 +0000 (23:13 +0000)]
Merge "Fix battery robo test" into qt-dev

5 years agoMerge "Update battery stuff to use SettingsLib Estimate class" into qt-dev
Salvador Martinez [Fri, 19 Apr 2019 22:00:27 +0000 (22:00 +0000)]
Merge "Update battery stuff to use SettingsLib Estimate class" into qt-dev

5 years agoRemove redundant (and failing) test getAvailabilityStatus_hasManagedUser_AVAILABLE
Jonathan Scott [Fri, 19 Apr 2019 21:19:21 +0000 (22:19 +0100)]
Remove redundant (and failing) test getAvailabilityStatus_hasManagedUser_AVAILABLE

This is already covered by
getAvailabilityStatus_somePackagesAllowed_shouldBeAvailable and
getAvailabilityStatus_allPackagesAllowed_shouldBeAvailable.

Test: make RunSettingsRoboTests -j40 ROBOTEST_FILTER=CrossProfileCalendarPreferenceControllerTest
Fixes: 130896049
Change-Id: I3dbbbde693750c69e042f7c19143730cc8e313ff

5 years agoFix CodeInspectionTest
Fan Zhang [Fri, 19 Apr 2019 20:50:16 +0000 (13:50 -0700)]
Fix CodeInspectionTest

Fixes: 130897640
Test: robo
Change-Id: Ic2d952e4d76bb0a2be6eab7ddc999b56656132a6

5 years agoFix battery robo test
Lei Yu [Fri, 19 Apr 2019 20:36:31 +0000 (13:36 -0700)]
Fix battery robo test

Fixes: 130896701
Test: RunSettingsRoboTests
Change-Id: Iffb7874250335db81181b23f96fe7b50a2dd0062

5 years agoMerge "Fix typo" into qt-dev
Fan Zhang [Fri, 19 Apr 2019 20:32:37 +0000 (20:32 +0000)]
Merge "Fix typo" into qt-dev

5 years agoFix typo
Fan Zhang [Fri, 19 Apr 2019 20:31:36 +0000 (13:31 -0700)]
Fix typo

Bug: 130897882
Test: rebuild
Change-Id: I066b69634214cd25c4acbd173e8fe82cd73d4e97

5 years agoMerge "Add a way to suppress injected tiles for OEMs" into qt-dev
Fan Zhang [Fri, 19 Apr 2019 20:30:24 +0000 (20:30 +0000)]
Merge "Add a way to suppress injected tiles for OEMs" into qt-dev

5 years agoMerge "Add @Ignore for all failing tests." into qt-dev
Fan Zhang [Fri, 19 Apr 2019 20:28:47 +0000 (20:28 +0000)]
Merge "Add @Ignore for all failing tests." into qt-dev

5 years agoAdd @Ignore for all failing tests.
Fan Zhang [Fri, 19 Apr 2019 20:23:29 +0000 (13:23 -0700)]
Add @Ignore for all failing tests.

Bug: 130896210
Bug: 130896218
Bug: 130896701
Bug: 130897882
Bug: 130897305
Bug: 130897640
Bug: 130896049
Test: robo
Change-Id: I77143d504501b358c2103aa736cd2aad13ed4c5c

5 years agoRemove feature flag for slice injection
Lei Yu [Fri, 19 Apr 2019 20:09:30 +0000 (13:09 -0700)]
Remove feature flag for slice injection

Since we already use SettingsUIDeviceConfig in this case, we can remove
feature flag safely.

Fixes: 121154979
Test: Manual
Change-Id: Ibf71f1109fd506feba5a02bf6ecd804c6b7ee8d4

5 years agoMerge "Add SettingsPolicy to control BT feature" into qt-dev
Lei Yu [Fri, 19 Apr 2019 19:44:53 +0000 (19:44 +0000)]
Merge "Add SettingsPolicy to control BT feature" into qt-dev

5 years agoAdd mms preference and controller
Lei Yu [Thu, 18 Apr 2019 18:22:36 +0000 (11:22 -0700)]
Add mms preference and controller

Only visible when it is metered and mobile data off.
Also refactor one mobile data observer so we can reuse it.

Bug: 130222866
Test: RunSettingsRoboTests
Change-Id: Id218f51da3c373fad98c1a39cfadd6b0e8c46a88

5 years agoUpdate battery stuff to use SettingsLib Estimate class
Salvador Martinez [Fri, 12 Apr 2019 00:12:44 +0000 (17:12 -0700)]
Update battery stuff to use SettingsLib Estimate class

This will make the upcoming consistency Cl easier to implement.

Test: Robotests still pass
Bug: 124030091
Change-Id: Ief4989e2b5f9b83b5c3b93d17f9f9fa12136f3ee

5 years agoAdd a way to suppress injected tiles for OEMs
Yanting Yang [Thu, 18 Apr 2019 13:37:31 +0000 (21:37 +0800)]
Add a way to suppress injected tiles for OEMs

Create a config resource for OEMs to add suppressed tile's key, then
DashboardFragment will filter related tiles out from Settings.

OEMs can use this way to suppress security patch injected tile if they
don't use Google OTA.

Fixes: 130734771
Test: visual, robotests
Change-Id: I4cab79c8672048fa543d39b2a8f38ffe338189c8

5 years agoAllow up two lines of text on dnd restrict notif
Beverly [Fri, 19 Apr 2019 17:21:31 +0000 (13:21 -0400)]
Allow up two lines of text on dnd restrict notif

Test: manual
Bug: 130848971
Change-Id: I1d32963f0e291d42c8b98ba8ca39eba749a26989

5 years agoMerge "Set max num of slices allowed in panel view" into qt-dev
Linda Tseng [Fri, 19 Apr 2019 17:19:59 +0000 (17:19 +0000)]
Merge "Set max num of slices allowed in panel view" into qt-dev

5 years agoMerge "Fix broken tests" into qt-dev
TreeHugger Robot [Fri, 19 Apr 2019 16:32:15 +0000 (16:32 +0000)]
Merge "Fix broken tests" into qt-dev

5 years agoMerge "Remove all device from preference when BT is disabled" into qt-dev
TreeHugger Robot [Fri, 19 Apr 2019 16:25:26 +0000 (16:25 +0000)]
Merge "Remove all device from preference when BT is disabled" into qt-dev

5 years agoMerge "Fix the break of repo hook color check." into qt-dev
TreeHugger Robot [Fri, 19 Apr 2019 15:38:03 +0000 (15:38 +0000)]
Merge "Fix the break of repo hook color check." into qt-dev

5 years agoFix broken tests
Julia Reynolds [Fri, 19 Apr 2019 14:01:53 +0000 (10:01 -0400)]
Fix broken tests

Test: robo tests
Fixes: 130871450
Change-Id: If7b01147f5680392c7635f3a3b4e558aa56a633e

5 years agoMerge "Show correct text for old zen modes" into qt-dev
Beverly Tai [Fri, 19 Apr 2019 13:17:20 +0000 (13:17 +0000)]
Merge "Show correct text for old zen modes" into qt-dev

5 years agoMerge "Remove odd spacing after the divider" into qt-dev
TreeHugger Robot [Fri, 19 Apr 2019 07:45:02 +0000 (07:45 +0000)]
Merge "Remove odd spacing after the divider" into qt-dev

5 years agoMerge "Hardware version should should support copy action" into qt-dev
Stanley Wang [Fri, 19 Apr 2019 07:35:46 +0000 (07:35 +0000)]
Merge "Hardware version should should support copy action" into qt-dev

5 years agoAdd action metrics for Wi-Fi provision features
Arc Wang [Mon, 15 Apr 2019 10:19:30 +0000 (18:19 +0800)]
Add action metrics for Wi-Fi provision features

  // ACTION: Share a Wi-Fi network by generating a QR code
  ACTION_SETTINGS_SHARE_WIFI_QR_CODE

  // ACTION: Connect to a Wi-Fi network by scanning a QR code
  ACTION_SETTINGS_ENROLL_WIFI_QR_CODE

  // ACTION: Share Wi-Fi hotspot by generating a QR code
  ACTION_SETTINGS_SHARE_WIFI_HOTSPOT_QR_CODE

Bug: 130521826
Test: manual
Change-Id: I4204307dd5318eb7c47e4136dc7d8700d43e4da1

5 years agoFix the break of repo hook color check.
Yi-Ling Chuang [Fri, 19 Apr 2019 05:52:25 +0000 (13:52 +0800)]
Fix the break of repo hook color check.

Add the missing color for notification importance button

Fixes: 130850328
Test: manual
Change-Id: I6c070fad42d5fb0e6d5e3aa00d66b32708dde605

5 years agoMerge "Don't show policy transparency UI for cross-profile setting." into qt-dev
TreeHugger Robot [Fri, 19 Apr 2019 05:24:24 +0000 (05:24 +0000)]
Merge "Don't show policy transparency UI for cross-profile setting." into qt-dev

5 years agoHardware version should should support copy action
Stanley Wang [Thu, 18 Apr 2019 12:12:22 +0000 (20:12 +0800)]
Hardware version should should support copy action

Implement isSliceable method in HardwareRevisionPreferenceController

Fixes: 130653205
Test: manual and robotests
Change-Id: Ib872b9625c2c1984ff7b036fef5b3145c7fd8d2a

5 years agoRemove all device from preference when BT is disabled
hughchen [Thu, 18 Apr 2019 09:48:15 +0000 (17:48 +0800)]
Remove all device from preference when BT is disabled

The issue is happened when BT is disabled then navigate to
"Connected devices". BluetoothDeviceUpdater didn't update
UI when BT is disabled. Remove all device from preference when
BT is disabled.

Bug: 80090956
Test: make -j42 RunSettingsRoboTests
Change-Id: Ia1fd8cfbcf95d712a1a702fdf101ff98186b76cd

5 years agoMerge "Update fingerprint suggestion enable state when back pressed" into qt-dev
Cn Chen [Fri, 19 Apr 2019 01:37:13 +0000 (01:37 +0000)]
Merge "Update fingerprint suggestion enable state when back pressed" into qt-dev

5 years agoMerge "Updates to main notification page" into qt-dev
TreeHugger Robot [Fri, 19 Apr 2019 00:57:32 +0000 (00:57 +0000)]
Merge "Updates to main notification page" into qt-dev

5 years agoMerge "Non-blockable whitelist should only control importance fields" into qt-dev
TreeHugger Robot [Thu, 18 Apr 2019 21:56:02 +0000 (21:56 +0000)]
Merge "Non-blockable whitelist should only control importance fields" into qt-dev

5 years agoMerge "Revert "Add robotest modules for Settings"" into qt-dev
Mill Chen [Thu, 18 Apr 2019 21:49:51 +0000 (21:49 +0000)]
Merge "Revert "Add robotest modules for Settings"" into qt-dev

5 years agoRevert "Add robotest modules for Settings"
Mill Chen [Thu, 18 Apr 2019 21:45:21 +0000 (21:45 +0000)]
Revert "Add robotest modules for Settings"

This reverts commit ce09f5836046a8c987b2ef1cf24be65ccc550d3f.

Reason for revert: will build break on run_host_tests

Bug: 130774632

Change-Id: Id2ee52ffb0689059da9cbdadd5bdae5b6a04a589

5 years agoMerge "Redesign channel listing and channel page" into qt-dev
Julia Reynolds [Thu, 18 Apr 2019 21:34:36 +0000 (21:34 +0000)]
Merge "Redesign channel listing and channel page" into qt-dev

5 years agoMerge "Add correct animation" into qt-dev
TreeHugger Robot [Thu, 18 Apr 2019 20:26:17 +0000 (20:26 +0000)]
Merge "Add correct animation" into qt-dev

5 years agoMerge "Fix regression of wrong min value on night display slice" into qt-dev
TreeHugger Robot [Thu, 18 Apr 2019 19:44:43 +0000 (19:44 +0000)]
Merge "Fix regression of wrong min value on night display slice" into qt-dev

5 years agoMerge "Make fingerprint illustrations single color" into qt-dev
TreeHugger Robot [Thu, 18 Apr 2019 19:38:34 +0000 (19:38 +0000)]
Merge "Make fingerprint illustrations single color" into qt-dev

5 years agoNon-blockable whitelist should only control importance fields
Julia Reynolds [Thu, 18 Apr 2019 18:45:14 +0000 (14:45 -0400)]
Non-blockable whitelist should only control importance fields

Sounds, etc. should still be modifiable

Test: robotests
Fixes: 130086523
Change-Id: I1a95a73b299bb3afd169b249a3dabae3583a448a

5 years agoRedesign channel listing and channel page
Julia Reynolds [Fri, 12 Apr 2019 20:52:40 +0000 (16:52 -0400)]
Redesign channel listing and channel page

Test: atest
Bug: 127796543
Fixes: 129452112
Fixes: 129453207
Change-Id: I1d520c9e35860303235b7ffbb18a76cbc4f4b8bc

5 years agoUpdates to main notification page
Julia Reynolds [Wed, 17 Apr 2019 12:54:38 +0000 (08:54 -0400)]
Updates to main notification page

String updates, images, reordering

Test: manual
Bug: 123899489
Change-Id: Ib7658e427c4868d954dd4cce3779588baaf5a02e

5 years agoMerge "Add Settings keywords for Styles & Wallpaper." into qt-dev
TreeHugger Robot [Thu, 18 Apr 2019 18:43:35 +0000 (18:43 +0000)]
Merge "Add Settings keywords for Styles & Wallpaper." into qt-dev

5 years agoMerge "Finalize the adaptive sleep icon" into qt-dev
TreeHugger Robot [Thu, 18 Apr 2019 18:42:46 +0000 (18:42 +0000)]
Merge "Finalize the adaptive sleep icon" into qt-dev

5 years agoAdd SettingsPolicy to control BT feature
Lei Yu [Wed, 10 Apr 2019 23:05:27 +0000 (16:05 -0700)]
Add SettingsPolicy to control BT feature

Fixes: 130302238
Test: RunSettingsRoboTests
Change-Id: I7e1bf55c476f8e4d3dec7a7dfc0e8d44e5bd53ae

5 years agoMerge "Move "Build Number" slice to a different controller." into qt-dev
TreeHugger Robot [Thu, 18 Apr 2019 18:16:19 +0000 (18:16 +0000)]
Merge "Move "Build Number" slice to a different controller." into qt-dev

5 years agoFix regression of wrong min value on night display slice
lindatseng [Thu, 18 Apr 2019 07:51:23 +0000 (00:51 -0700)]
Fix regression of wrong min value on night display slice

The min value of NightDisplayIntensityPreferenceController
should always be 0 (which is the old value we used before
ag/7062353). The range is cacluated from the relative value
to MinimumColorTemperature, which means the min value should
always be 0.

Test: atest NightDisplayIntensityPreferenceControllerTest
Fixes:130758028
Change-Id: Ica75672dda6a9ee0c6013f1c903611263b7d133f

5 years agoMerge "Prevent bad apps from getting Setting Slices" into qt-dev
TreeHugger Robot [Thu, 18 Apr 2019 17:38:28 +0000 (17:38 +0000)]
Merge "Prevent bad apps from getting Setting Slices" into qt-dev

5 years agoAdd Settings keywords for Styles & Wallpaper.
Amin Shaikh [Thu, 18 Apr 2019 15:13:01 +0000 (11:13 -0400)]
Add Settings keywords for Styles & Wallpaper.

Reusing existing strings since this is coming in after string freeze.
TODO: create a new keyword string for this preference.

Fixes: 130759285
Test: m RunSettingsRoboTests and searching keywords on device
Change-Id: Ice1bc34b381302745cb55056377cc94ea74e8d50

5 years agoMerge "Let NGA item display above advanced item in the App & Notifications" into...
TreeHugger Robot [Thu, 18 Apr 2019 16:54:58 +0000 (16:54 +0000)]
Merge "Let NGA item display above advanced item in the App & Notifications" into qt-dev

5 years agoMerge "Remove the duplicated search item" into qt-dev
TreeHugger Robot [Thu, 18 Apr 2019 16:51:56 +0000 (16:51 +0000)]
Merge "Remove the duplicated search item" into qt-dev

5 years agoMerge "[Network Connection] Show full SSID on list item" into qt-dev
TreeHugger Robot [Thu, 18 Apr 2019 16:51:37 +0000 (16:51 +0000)]
Merge "[Network Connection] Show full SSID on list item" into qt-dev

5 years agoMove "Build Number" slice to a different controller.
Fan Zhang [Wed, 17 Apr 2019 23:25:34 +0000 (16:25 -0700)]
Move "Build Number" slice to a different controller.

There are 2 build number tiles in settings: Android version -> Build
number and About phone -> build number.

The way we index breadcrumb for each slice is making some client
confused. So this change moves the slice capability from Androi
version>BuildNumber to About phone.

Fixes: 130652710
Test: reindex, robotest
Change-Id: I9054d0db124b706e7984cd3d19774bb604bd7fd3

5 years agoPrevent bad apps from getting Setting Slices
Matthew Fritze [Thu, 18 Apr 2019 15:51:17 +0000 (08:51 -0700)]
Prevent bad apps from getting Setting Slices

SettingsSliceProvider no longer allows apps to request permission
from the user for Settings Slices. Instead, the PrimaryAction on the
permission slice will be an intent into Settings.

This is because the dialog for granting apps Settings Slices would act
as a replacement for regular permission dialogs, which we want to avoid.

Fixes: 130795282
Test: robolectrico
Change-Id: I6848215bab2bf10ee5e53814b765d04f04f53f4e

5 years agoIgnore the outdated entitlement check
markchien [Tue, 9 Apr 2019 11:51:33 +0000 (19:51 +0800)]
Ignore the outdated entitlement check

Don't run entitlement if the request is base on outdated subId.

Bug: 129751453
Test: -build, flash, boot
      -atest TetherServiceTest
      -manual test with carrier SIM

Change-Id: Id3157df1a5758f8c72acbc45c9fefd2215c87395
Merged-In: Id3157df1a5758f8c72acbc45c9fefd2215c87395

5 years agoDon't show policy transparency UI for cross-profile setting.
Jonathan Scott [Mon, 15 Apr 2019 14:36:17 +0000 (15:36 +0100)]
Don't show policy transparency UI for cross-profile setting.

Also removes the switch if cross-profile calendar is disabled by admin.

Test: atest ManagedProfileSettingsTest
Fixes: 123930863
Change-Id: Ieeb9266e8833d7ca730fedb5e947b03ec7d18d3c

5 years agoRemove the duplicated search item
Sunny Shao [Thu, 18 Apr 2019 09:17:39 +0000 (17:17 +0800)]
Remove the duplicated search item

Disable the searchable of the "Adaptive battery" item in the smart_battery_detail.xml

Fixes: 130656532
Test: Manual View
Change-Id: I95beb97fc09ff6858f7b4e0e576a598c3520db86

5 years agoSet description textview to fixed id
pastychang [Thu, 18 Apr 2019 07:34:06 +0000 (15:34 +0800)]
Set description textview to fixed id

Modify to fixed id for landscape Glif layout and non-glif layout

Test: Manual
Bug: 130707943
Change-Id: I6346817e582c2aac26753b3a985038cb0ca421bc

5 years agoLet NGA item display above advanced item in the App & Notifications
Sunny Shao [Thu, 18 Apr 2019 07:24:48 +0000 (15:24 +0800)]
Let NGA item display above advanced item in the App & Notifications

Change the value of the initialExpandedChildrenCount to 4 and let NGA item to show.

Fixes: 130420794
Test: Manual View
Change-Id: Ic2453944a5eaea0b5fd65e0272bfac64ffbc1eec