Commit Graph

50242 Commits

Author SHA1 Message Date
Torbjorn Eklund
69dbf4bf84 Close Wi-Fi Calling screen if provisioning status changes to disallow
Starts to listen for provisioning changes in Wi-Fi Calling screen and
closes the screen if the Wi-Fi Calling provisioning status changes to
disallow.

This prevents the Wi-Fi Calling screen from being kept open if the Wi-Fi
Calling provisioning status is changed to disallow while the Wi-Fi
Calling screen is open.

Bug: 119389855
Test: make RunSettingsRoboTests \
ROBOTEST_FILTER=WifiCallingSettingsForSubTest
Change-Id: I2af91c3734274f0aea942a8bb894d6f4ce295354
2019-02-12 15:49:12 -08:00
Doris Ling
18cb6feee4 Set default background color for home icon.
- the previous change to update the adaptive home page icon has removed
the default background color for the icon. Set it back to the correct
default if we do not find any background color set from the tile.

Fixes: 124183074
Test: make RunSettingsRoboTests
Change-Id: Idafc08ff1a3b20659c5f275d1a6c404f6c7ef2c0
2019-02-12 15:39:46 -08:00
Fan Zhang
44ee9af03a Merge "Remove the drop shadow in Privacy screen" 2019-02-12 23:30:21 +00:00
Lei Yu
88d6b2f9ad Merge "Add intent action for BT device detail page" 2019-02-12 19:40:18 +00:00
Treehugger Robot
750b90a22b Merge "Schematize ADB system properties" 2019-02-12 18:35:23 +00:00
TreeHugger Robot
ca5786fd27 Merge "Updated permission name according to API review" 2019-02-12 18:27:46 +00:00
Doris Ling
17e807a57e Merge "Separate OTA data usage from SYSTEM_UID." 2019-02-12 18:27:30 +00:00
Fan Zhang
a725c13d65 Merge "Remove sub-text from the lines of AP list in Wi-Fi Slice" 2019-02-12 17:59:05 +00:00
markchien
c992d0f4a9 Support entitlement check in DSDS
Get resource from preferred SIM's subId.

Bug: 122108346
Bug: 120069528
Test: atest TetherServiceTest
Change-Id: Ia4279a418dfa6cd14942b7f4d2a313156066381b
Merged-in: Ia4279a418dfa6cd14942b7f4d2a313156066381b
2019-02-12 16:17:36 +08:00
Jason Chiu
1217bbec70 Remove sub-text from the lines of AP list in Wi-Fi Slice
- Remove sub-text from the lines of AP list
- Add colors to the AP names to indicate the connection status of each AP

Fixes: 120685004
Bug: 120786304
Test: make RunSettingsRoboTests -j
Change-Id: I7b879248528a293d14d959994bb054275f0d69a1
2019-02-12 16:10:06 +08:00
Mark Chien
a432a61943 Merge "Support entitlement check in DSDS" 2019-02-12 08:05:11 +00:00
tmfang
61ba09776c Remove the drop shadow in Privacy screen
Remove shadow in action bar unless page is scrolling.

Test: visual, robotest
Change-Id: I199c659a7a7beecc3b715916b6829a5a879c4c74
Fixes: 123903344
2019-02-12 13:57:50 +08:00
TreeHugger Robot
5999ba5448 Merge "Add carrier settings version to network details page" 2019-02-12 05:01:37 +00:00
TreeHugger Robot
ccdc98e277 Merge "Increase timeout of contextual card pre-check." 2019-02-12 04:38:35 +00:00
TreeHugger Robot
2865b1f07b Merge "Handle simplified Slice deep link intent pattern." 2019-02-12 04:21:34 +00:00
TreeHugger Robot
c5143ceec2 Merge "Add nearby device SlicePreference" 2019-02-12 04:16:26 +00:00
Kiyoung Kim
5e7a15f09a [automerger skipped] Merge "Schematize Display system properties" am: b139a4c16b am: 4d8f4919e0
am: b941bc46b5 -s ours
am skip reason: change_id I83b40ddfcde32d8d03fae73f5c252013933c466c with SHA1 1a3425ed2a is in history

Change-Id: I880ee2758010f1be44e9f24bbc35596fbccea0d8
2019-02-11 19:47:09 -08:00
Kiyoung Kim
b941bc46b5 Merge "Schematize Display system properties" am: b139a4c16b
am: 4d8f4919e0

Change-Id: I35412244d1fa97cb479d060e876bfddac6b523cb
2019-02-11 19:25:50 -08:00
TreeHugger Robot
d9b86280d5 Merge "Fix Wi-Fi DPP fragment back stack problems" 2019-02-12 03:17:57 +00:00
Kiyoung Kim
4d8f4919e0 Merge "Schematize Display system properties"
am: b139a4c16b

Change-Id: I82b157865fb288044c251d6d78ca850b22502db0
2019-02-11 19:13:51 -08:00
Kiyoung Kim
6ade19a3bf Schematize ADB system properties
Properties accessed across partitions are now schematized and will
become APIs to make explicit interfaces among partitions.

Bug: 117924132
Test: m -j
Change-Id: Iec37f5f35b1452afdf7b15e9f31c4b4726127065
Merged-In: Iec37f5f35b1452afdf7b15e9f31c4b4726127065
2019-02-12 02:58:11 +00:00
Treehugger Robot
b139a4c16b Merge "Schematize Display system properties" 2019-02-12 02:50:08 +00:00
Ajay Panicker
c88543a650 Change the default snoop log level to off.
Bug: 112970672
Test: Flash a userdebug build and see that there are no logs.
Change-Id: I230060ba07bf57baf5cfe1d863a6acf4c9967e80
2019-02-11 18:09:05 -08:00
jackqdyulei
ca21544f99 Add nearby device SlicePreference
Change-Id: I9e88602df9ab589c3eea087b1202cbc7615dc810
Fixes: 116327443
Test: RunSettingsRoboTests
2019-02-11 17:38:50 -08:00
TreeHugger Robot
dd1c68b12d Merge "Remove intent-filters from SettingsSliceProvider" 2019-02-12 00:43:03 +00:00
Bookatz
0921550bac User photo: Remove reference to Photo Gallery
"Choose photo from Gallery" references the no-longer extant Gallery, so
modifying that text.

Change-Id: I049c70eeecfd0a86e3f9d30ee00e97268056af01
Fixes: 35935990
Test: Manual confirmation that text changed
2019-02-11 16:42:36 -08:00
Fan Zhang
f837b899fb Handle simplified Slice deep link intent pattern.
Old intent:
settings://com.android.settings.slices?intent=android-app%3A%2F%2Fcom.android.settings%23Intent%3Baction%3Dcom.android.settings.action.VIEW_SLICE%3BS.slice%3Dcontent%253A%252F%252Fcom.android.settings.slices%252Faction%252Fscreen_magnification_navbar_preference_screen%3B

New intent:
settings://com.android.settings.slices?slice%3Dcontent%253A%252F%252Fcom.android.settings.slices%252Faction%252Fscreen_magnification_navbar_preference_screen%3B

Change-Id: Ia786812c68b5a2b1858203f62494c0d5f5a4a5ba
Fixes: 110156445
Test: manual
2019-02-11 16:25:51 -08:00
TreeHugger Robot
9edcca238b Merge "Don't load anything from contextual card db in legacy mode." 2019-02-12 00:15:25 +00:00
Fan Zhang
671a39f905 Remove intent-filters from SettingsSliceProvider
And remove unused methods from SliceDeepLinkSpringBoard.

This is part 1 of b/110156445

Bug: 110156445
Test: atest
Change-Id: Iab36a97332fd847ed911a9e34b505fd4a64522d3
2019-02-11 15:01:10 -08:00
TreeHugger Robot
00ca556f26 Merge "Create special case mobile data slice" 2019-02-11 22:53:50 +00:00
Antony Sargent
f0d4a3730b Add carrier settings version to network details page
This adds a preference showing the carrier settings version to the
mobile network details page.

Bug: 123995414
Test: make RunSettingsRoboTests
Change-Id: I7b80ead0eadb7375b4404262337e47f75102125c
2019-02-11 14:24:56 -08:00
jackqdyulei
715408e592 Add intent action for BT device detail page
Also update detail page to accept cold start:
1. Check whether profile is ready
2. When it is ready, refresh UI

Bug: 123665527
Test: SettingsRoboTests
Change-Id: I39382fd97e9da46fca08cd2e4a3ef15d32703664
2019-02-11 13:48:16 -08:00
jackqdyulei
8360e0181a Update spec for CardPreference
Make icon and title align to other preference

Bug: 119618813
Test: Manual
Change-Id: I2b088fcfe0b005cde1d79db01806e1919cb131cc
2019-02-11 13:42:41 -08:00
Fan Zhang
07df08950a Don't load anything from contextual card db in legacy mode.
Change-Id: I2fa1ee78bb8878c2cf46fd2f59499c9ed8eb0a09
Fixes: 124246284
Test: robotest
2019-02-11 13:22:02 -08:00
Lei Yu
7946eee850 Merge "Update search for mobile network settings" 2019-02-11 18:00:57 +00:00
Antony Sargent
475dde51b6 Fix some problems with the "Mobile network" preference
This fixes a few issues with the "Mobile network" preference that shows
on the Network & internet page:

-The pref should not be available at all if the device is wifi-only.

-The pref should be disabled in airplane mode.

-If eSIM support is disabled, we need to disable entry points for adding
 a new eSIM subscription (the summary and click handler in single-SIM
 mode with no physical SIM, and the 'add' button in dual-SIM mode).

Bug: 116349402
Test: make RunSettingsRoboTests
Change-Id: Ic6fe426e9f890d80b399d48a2c9984d4d8b02a10
2019-02-11 09:50:38 -08:00
Arc Wang
9d33313735 Fix Wi-Fi DPP fragment back stack problems
1. When a Wi-Fi network connected and receiving
   intent android.settings.PROCESS_WIFI_EASY_CONNECT_QR_CODE,
   show WifiDppAddDeviceFragment from WifiDppConfiguratorActivity
   instead of WifiNetworkListFragment

2. Only handle intent when savedInstanceState is null

3. To show a fragment
   I. do nothing when a fragment is already visible on screen,
   II. pop back stack if it's in back stack, we can do this because
   current fragment transactions are arranged in an order

Bug: 124194531
Test: atest WifiQrCodeTest
      atest WifiDppConfiguratorActivityTest
      atest WifiDppEnrolleeActivityTest
      atest WifiDppQrCodeGeneratorFragmentTest
      atest WifiDppQrCodeScannerFragmentTest
      atest WifiNetworkListFragmentTest
      atest WifiDppChooseSavedWifiNetworkFragmentTest

Change-Id: I1d44eeb3bdc7bfb2ec2e4d81efaab64b066651ad
2019-02-11 11:42:21 +08:00
android-build-team Robot
98cdb732ce Snap for 5180536 from c103b546d2 to pi-platform-release
Change-Id: Ice12b1967a41a792bb4e1816d0fe07bc61328788
2019-02-09 02:23:26 +00:00
TreeHugger Robot
ad6cc282ee Merge "Remove hardcode class path for CredentialStorage." 2019-02-09 01:47:35 +00:00
Joel Galenson
1d3df21699 Add accessibility usage preference to the Privacy screen.
Bug: 123595964
Test: Open Privacy page with one and two accessibility services
enabled and click the preference.
Test: Open Privacy page with zero accessibility services enabled and
do not see the preference.
Test: atest AccessibilityUsagePreferenceControllerTest

Change-Id: Ib1dab374cb53dfbc473b2d5ac49115e608a13ab8
2019-02-08 17:26:52 -08:00
jackqdyulei
e6d7d3b1e7 Update search for mobile network settings
This CL make all mobile related preferences support:
1. If subId is manually set, check visibility by subId
2. If not, try find whether there is one active subId meets requirement.
If so, isAvailable() will return true to enable search.

Bug: 77276236
Test: RunSettingsRoboTests
Change-Id: I24e2d2f5e882284ba8e997b844caee7722b6b07d
2019-02-08 16:23:11 -08:00
Lei Yu
9807f99f26 Merge "Add divider line in battery page" 2019-02-09 00:20:35 +00:00
Fan Zhang
4799e54802 Remove hardcode class path for CredentialStorage.
It can launch with a intent action directly.

Change-Id: I26a3a63d1790c1fd184b38711c736428f86f3659
Fixes: 124124110
Test: manual
2019-02-08 15:11:24 -08:00
TreeHugger Robot
607478b663 Merge changes I9185949e,Ia0f15fd7
* changes:
  Remove advanced button from location settings
  Update strings on date & time setting.
2019-02-08 22:41:40 +00:00
TreeHugger Robot
83e6a68743 Merge "Set summary for SIM entries in multi-SIM header" 2019-02-08 22:06:18 +00:00
TreeHugger Robot
c575ef5cb5 Merge "Use system attr instead of hardcoding for searchbar radius" 2019-02-08 21:32:47 +00:00
jackqdyulei
b52ed906cc Add divider line in battery page
Change-Id: Ib5b1d7980cb6c453bb656a36ff6f1bb62bffc803
Fixes: 119618813
Test: Manual
2019-02-08 13:25:31 -08:00
Matthew Fritze
1138218abe Create special case mobile data slice
Build the special case mobile data slice for general use,
and for the Internet Connectivity Panel. The Slice controls
the default data subscription, and links to the subscriptions
page.

Bug: 117804089
Fixse: 119411534
Test: robotests & test app.

Change-Id: I31b524a8fe3182a244d940848090e97250632f39
2019-02-08 13:13:28 -08:00
TreeHugger Robot
01a171b5fb Merge "Import translations. DO NOT MERGE" 2019-02-08 20:57:24 +00:00
Fan Zhang
c7cef5ee43 Remove advanced button from location settings
Change-Id: I9185949edffbc4588287221b81d30e136e755f85
Fixes: 124059127
Test: manual
2019-02-08 12:39:00 -08:00