OSDN Git Service

android-x86/packages-apps-Settings.git
5 years agoMerge "Update bubbles strings in settings"
Mady Mellor [Thu, 21 Mar 2019 17:29:27 +0000 (17:29 +0000)]
Merge "Update bubbles strings in settings"

5 years agoMerge "Change Suggestion dismiss day"
TreeHugger Robot [Thu, 21 Mar 2019 16:57:33 +0000 (16:57 +0000)]
Merge "Change Suggestion dismiss day"

5 years agoMerge "RuntimePermissionUsageInfo.getName() now returns a String."
TreeHugger Robot [Thu, 21 Mar 2019 16:56:15 +0000 (16:56 +0000)]
Merge "RuntimePermissionUsageInfo.getName() now returns a String."

5 years agoMerge "Remove tint to show rainbow drawable on Bluetooth devices slice"
TreeHugger Robot [Thu, 21 Mar 2019 13:25:28 +0000 (13:25 +0000)]
Merge "Remove tint to show rainbow drawable on Bluetooth devices slice"

5 years agoMerge "Add settings for individual NAS components"
Julia Reynolds [Thu, 21 Mar 2019 13:09:00 +0000 (13:09 +0000)]
Merge "Add settings for individual NAS components"

5 years agoMerge "Revert layout transition from slice view"
TreeHugger Robot [Thu, 21 Mar 2019 12:00:28 +0000 (12:00 +0000)]
Merge "Revert layout transition from slice view"

5 years agoRemove tint to show rainbow drawable on Bluetooth devices slice
Yanting Yang [Thu, 21 Mar 2019 10:08:01 +0000 (18:08 +0800)]
Remove tint to show rainbow drawable on Bluetooth devices slice

Bluetooth icon has changed to rainbow icon. These new icons will be
abnormal if apply tint to them.

Fixes: 129038598
Test: visual
Change-Id: Ic02d226a46c36bb0b80f00b2e30d31a311e14e2f

5 years agoMerge "Use new dataManagementLabel AIDL in Backup Settings"
Annie Meng [Thu, 21 Mar 2019 10:17:09 +0000 (10:17 +0000)]
Merge "Use new dataManagementLabel AIDL in Backup Settings"

5 years agoRevert layout transition from slice view
Yanting Yang [Thu, 21 Mar 2019 08:58:29 +0000 (16:58 +0800)]
Revert layout transition from slice view

Fixes:129002765
Test: visual
Change-Id: Ice56eb0ee5cd6018927271ab33ad9dd3321953b1

5 years agoMerge "Modified MultiSim APIs"
Michele Berionne [Thu, 21 Mar 2019 08:01:43 +0000 (08:01 +0000)]
Merge "Modified MultiSim APIs"

5 years agoChange Suggestion dismiss day
Raff Tsai [Thu, 21 Mar 2019 07:46:48 +0000 (15:46 +0800)]
Change Suggestion dismiss day

Fixes: 129021859
Test: manual
Change-Id: I2da7a0c23f9e266b18482f9593e987287ca9e1f0

5 years agoMerge "Revert "Import statsdprotolite library to use atoms.proto""
TreeHugger Robot [Thu, 21 Mar 2019 06:32:27 +0000 (06:32 +0000)]
Merge "Revert "Import statsdprotolite library to use atoms.proto""

5 years agoMerge "Add divider line in Preference for scan QR code button and share hotspot button"
TreeHugger Robot [Thu, 21 Mar 2019 06:26:27 +0000 (06:26 +0000)]
Merge "Add divider line in Preference for scan QR code button and share hotspot button"

5 years agoMerge "[Network Connection] Implement Unavailable callback when the user cancels"
TreeHugger Robot [Thu, 21 Mar 2019 05:48:17 +0000 (05:48 +0000)]
Merge "[Network Connection] Implement Unavailable callback when the user cancels"

5 years agoMerge "Create TM for each subId to register phonestatelistner"
Chen Xu [Thu, 21 Mar 2019 05:39:19 +0000 (05:39 +0000)]
Merge "Create TM for each subId to register phonestatelistner"

5 years agoMerge "[Issue fix] Hearing aids subtitle status is not updated."
TreeHugger Robot [Thu, 21 Mar 2019 05:30:35 +0000 (05:30 +0000)]
Merge "[Issue fix] Hearing aids subtitle status is not updated."

5 years agoMerge "Use "Disable"/"Enable" for system app"
TreeHugger Robot [Thu, 21 Mar 2019 04:45:23 +0000 (04:45 +0000)]
Merge "Use "Disable"/"Enable" for system app"

5 years agoMerge "Remove hardcoded height for SliceView"
TreeHugger Robot [Thu, 21 Mar 2019 04:02:48 +0000 (04:02 +0000)]
Merge "Remove hardcoded height for SliceView"

5 years agoAdd divider line in Preference for scan QR code button and share hotspot button
Arc Wang [Wed, 20 Mar 2019 10:40:28 +0000 (18:40 +0800)]
Add divider line in Preference for scan QR code button and share hotspot button

Bug: 128940862
Test: manual test
Change-Id: If576f0840cc8924b63348f04fe12c3a0d4edcb89

5 years agoRevert "Import statsdprotolite library to use atoms.proto"
Raff Tsai [Thu, 21 Mar 2019 02:48:18 +0000 (02:48 +0000)]
Revert "Import statsdprotolite library to use atoms.proto"

This reverts commit 7ba77ceadff702b2150185064014cebb86416406.

Reason for revert: <increase settings apk size>

Change-Id: I39bfebf3f50f997d7b36ed80ac6302a4529a6432

5 years agoMerge "Modify dialog message for partial connectivity"
Lucas Lin [Thu, 21 Mar 2019 02:34:03 +0000 (02:34 +0000)]
Merge "Modify dialog message for partial connectivity"

5 years agoMerge "Improve notification slice string on home page"
Yanting Yang [Thu, 21 Mar 2019 02:04:22 +0000 (02:04 +0000)]
Merge "Improve notification slice string on home page"

5 years agoUpdate bubbles strings in settings
Mady Mellor [Thu, 21 Mar 2019 01:59:39 +0000 (18:59 -0700)]
Update bubbles strings in settings

Test: manual - check that the strings are right
Change-Id: I9aeb80abb868ff73bbb9b1481d8f3793a6b451e5

5 years ago[Network Connection] Implement Unavailable callback when the user cancels
cosmohsieh [Wed, 20 Mar 2019 05:43:20 +0000 (13:43 +0800)]
[Network Connection] Implement Unavailable callback when the user cancels

UI should invoke NetworkRequestUserSelectionCallback.reject() callback when the user clicks cancel.

Bug: 128876386
Test: atest NetworkRequestDialogFragment
Change-Id: Ia5faedf8cc7113a602a4cda10b3252d02c3c8876

5 years ago[Issue fix] Hearing aids subtitle status is not updated.
tim peng [Fri, 15 Mar 2019 09:10:41 +0000 (17:10 +0800)]
[Issue fix] Hearing aids subtitle status is not updated.

- Replace LifecycleObserver library with androidx.lifecycle

Bug: 128470997
Test: make -j50 RunSettingsRoboTests
Change-Id: I6d59d8b888dcb374c346a94a1ad38956317576bf

5 years agoModified MultiSim APIs
Michele [Tue, 19 Mar 2019 22:53:45 +0000 (15:53 -0700)]
Modified MultiSim APIs

Capitalize S in Multisim.
isMultiSimSupported should return three states, to describe the three possible cases
(hardware not supported, hardware supported but carrier restricted, available)

Bug: 128524079
Test: compilation
Change-Id: Ic52496e326d1398384e5fe22587a236e5352fc4f

5 years agoMerge "Add new string for toast to notify user Wi-Fi not in range"
Clown SHEN [Thu, 21 Mar 2019 00:43:37 +0000 (00:43 +0000)]
Merge "Add new string for toast to notify user Wi-Fi not in range"

5 years agoCreate TM for each subId to register phonestatelistner
chen xu [Wed, 20 Mar 2019 20:42:54 +0000 (13:42 -0700)]
Create TM for each subId to register phonestatelistner

To register phonestatelistner for different subscription, do not
create phonestatelistener(subId) this contructor is going to be removed.
instead, create TelephonyManager instance for each subId and pass
separate phonestateListener object.

Bug: 117555407
Test: Maunal test
Change-Id: Ia2a1be6e559c3a5b98e178a02d0eee14cc14eb47

5 years agoMerge "Update system dashboard pref summary"
TreeHugger Robot [Thu, 21 Mar 2019 00:21:24 +0000 (00:21 +0000)]
Merge "Update system dashboard pref summary"

5 years agoRemove hardcoded height for SliceView
jackqdyulei [Thu, 21 Mar 2019 00:10:26 +0000 (17:10 -0700)]
Remove hardcoded height for SliceView

Fixes: 128953120
Test: Build
Change-Id: I052d2b539421132002a3217fe2ef82d0ab6aba19

5 years agoMerge "Don't close db for singleton db manager"
Lei Yu [Wed, 20 Mar 2019 22:15:56 +0000 (22:15 +0000)]
Merge "Don't close db for singleton db manager"

5 years agoUpdate system dashboard pref summary
Fan Zhang [Wed, 20 Mar 2019 20:29:41 +0000 (13:29 -0700)]
Update system dashboard pref summary

Fixes: 127350259
Test: visual
Change-Id: I4e7ff67af6df94d6a030096156f6485f375e8a2e

5 years agoRuntimePermissionUsageInfo.getName() now returns a String.
Joel Galenson [Wed, 20 Mar 2019 19:18:32 +0000 (12:18 -0700)]
RuntimePermissionUsageInfo.getName() now returns a String.

Fixes: 128994612
Test: View the bar chart.
Test: atest PermissionBarChartPreferenceControllerTest
Change-Id: I2f21dfae533544e99495bbfab5d1b5eb3e9282fe

5 years agoMerge "Pass the location permission not group to MANAGE_APP_PERMISSION."
TreeHugger Robot [Wed, 20 Mar 2019 19:03:31 +0000 (19:03 +0000)]
Merge "Pass the location permission not group to MANAGE_APP_PERMISSION."

5 years agoMerge "Make BT icon colorful"
TreeHugger Robot [Wed, 20 Mar 2019 18:51:28 +0000 (18:51 +0000)]
Merge "Make BT icon colorful"

5 years agoDon't close db for singleton db manager
jackqdyulei [Wed, 20 Mar 2019 17:40:39 +0000 (10:40 -0700)]
Don't close db for singleton db manager

To fix db bug and application will close it finally.

Bug: 128924561
Test: Build
Change-Id: I172882825612f1d317ae4b634bc4d5899338bed8

5 years agoMerge "Fix NPE in constructor"
TreeHugger Robot [Wed, 20 Mar 2019 17:06:17 +0000 (17:06 +0000)]
Merge "Fix NPE in constructor"

5 years agoPass the location permission not group to MANAGE_APP_PERMISSION.
Joel Galenson [Wed, 20 Mar 2019 16:28:35 +0000 (09:28 -0700)]
Pass the location permission not group to MANAGE_APP_PERMISSION.

I changed the API to support passing in a permission.

Test: Click on entry and open its permission toggle screen.
Test: atest RecentLocationAccessPreferenceControllerTest
Change-Id: I0f789c9e2a05f4b5b03efab6a7dcdb218e565b52

5 years agoFix NPE in constructor
Matthew Fritze [Tue, 19 Mar 2019 23:28:33 +0000 (16:28 -0700)]
Fix NPE in constructor

Move getActivity() call and fetching of metrics feature provider into
onCreateView rathre than the Constructor of the fragment (where Activity
is not yet created).

Test: manual
Test: existing robotests
Fixes: 128808444
Change-Id: I88586b0ca3ebda60f8933041322541cc5911de68

5 years agoImprove notification slice string on home page
Yanting Yang [Tue, 19 Mar 2019 10:17:50 +0000 (18:17 +0800)]
Improve notification slice string on home page

Add ContextualNotificationChannelSlice to show more clear sub title on
notification slice.

Fixes: 128641319
Test: visual, robotests
Change-Id: I650102f4cde7d8d397c7a501ba9ee76c401ba9db

5 years agoAdd settings for individual NAS components
Julia Reynolds [Tue, 19 Mar 2019 18:51:44 +0000 (14:51 -0400)]
Add settings for individual NAS components

Test: robotest
Bug: 127825514
Change-Id: I4359bb548d10b39652bb8c263fa685d595d7a9ea

5 years agoUse new dataManagementLabel AIDL in Backup Settings
Annie Meng [Fri, 15 Mar 2019 12:29:27 +0000 (12:29 +0000)]
Use new dataManagementLabel AIDL in Backup Settings

1) Uses new AIDL method getDataManagementLabelForUser
2) Changes data management label type from String to CharSequence

Bug: 113856654
Test: atest $(find \
packages/apps/Settings/tests/robotests/src/com/android/settings/backup \
-name '*Test.java')

Change-Id: I2325527c67878467b96fb93de50faafe153fdb21

5 years agoAdd new string for toast to notify user Wi-Fi not in range
clownshen [Wed, 20 Mar 2019 06:26:17 +0000 (14:26 +0800)]
Add new string for toast to notify user Wi-Fi not in range

Bug: 126503889
Test: build passed
Change-Id: Ide2d733d72c2b31fcaa302d0ddb742b92fac6d7e

5 years agoMerge "Show confirmation dialog for removing enrollment"
Kevin Chyn [Wed, 20 Mar 2019 07:01:52 +0000 (07:01 +0000)]
Merge "Show confirmation dialog for removing enrollment"

5 years agoMerge "Update About phone icon background color"
TreeHugger Robot [Wed, 20 Mar 2019 06:51:25 +0000 (06:51 +0000)]
Merge "Update About phone icon background color"

5 years agoMerge "Update enrollment intro"
TreeHugger Robot [Wed, 20 Mar 2019 06:28:33 +0000 (06:28 +0000)]
Merge "Update enrollment intro"

5 years agoUpdate About phone icon background color
Yanting Yang [Wed, 20 Mar 2019 04:32:50 +0000 (12:32 +0800)]
Update About phone icon background color

Fixes:120810263
Test: visual
Change-Id: I8b91a0ef7ba66ff0f4fbd84c765119266119a4a6

5 years agoMerge "[Network Connection] Implement new UI changing"
Cosmo Hsieh [Wed, 20 Mar 2019 04:34:25 +0000 (04:34 +0000)]
Merge "[Network Connection] Implement new UI changing"

5 years agoShow confirmation dialog for removing enrollment
Kevin Chyn [Wed, 20 Mar 2019 03:37:57 +0000 (20:37 -0700)]
Show confirmation dialog for removing enrollment

Fixes: 123605413
Test: builds

Change-Id: I9e918977909bcf461a29eb36f157c3a261c6dcc4

5 years agoMerge "Fix sticky battery saver toggle"
TreeHugger Robot [Wed, 20 Mar 2019 04:20:21 +0000 (04:20 +0000)]
Merge "Fix sticky battery saver toggle"

5 years agoMerge "Store the application context statically in FeatureFactory"
TreeHugger Robot [Wed, 20 Mar 2019 04:09:31 +0000 (04:09 +0000)]
Merge "Store the application context statically in FeatureFactory"

5 years agoMerge "Improve UX of WifiDppChooseSavedWifiNetworkFragment"
TreeHugger Robot [Wed, 20 Mar 2019 04:07:02 +0000 (04:07 +0000)]
Merge "Improve UX of WifiDppChooseSavedWifiNetworkFragment"

5 years agoModify dialog message for partial connectivity
lucaslin [Wed, 20 Mar 2019 03:41:21 +0000 (11:41 +0800)]
Modify dialog message for partial connectivity

In some networks, network validation may only get success
result for http probe but fail result for https probe.
For this kind of network, it may still work at some websites
or apps, but user didn't know about that. In order to fix this
issue, we will check if network has partial connectivity and
notify user to make a choice if they want to use this partial
connectivity or not.

Bug: 113450764
Bug: 128489091
Test: 1. Build pass.
      2. make -j44 RunSettingsRoboTests
      ROBOTEST_FILTER=WifiDetailPreferenceControllerTest
      3. Change captive_portal_https_url to https://invalid.com
      to simulate partial connectivity.

Change-Id: I0e87f6f2ede173f45a7b6fcf842b4f9a83d8efa1

5 years agoUpdate enrollment intro
Kevin Chyn [Tue, 19 Mar 2019 00:38:12 +0000 (17:38 -0700)]
Update enrollment intro

1) Toggles resources between normal and accessibility enrollment
2) Add footer for more detail text

Fixes: 127514618
Bug: 111548033

Test: Builds

Change-Id: Ib0c47f04abc5ce9abbd8b27ef5782d1874379f16

5 years agoImprove UX of WifiDppChooseSavedWifiNetworkFragment
Arc Wang [Tue, 19 Mar 2019 02:01:38 +0000 (10:01 +0800)]
Improve UX of WifiDppChooseSavedWifiNetworkFragment

In WifiDppChooseSavedWifiNetworkFragment, it does not show the saved Wi-Fi
network which is not reachable, users may be confused about why their saved
Wi-Fi network not on the list. This change shows saved networks regardless
of signal reachable or not.

Fix WifiDppChooseSavedWifiNetworkFragment UI overlap problem, remove redundant
ScrollView and adjust ConstraintLayout parameters.

Bug: 124129645
Test: manual test
Change-Id: I86637e8722bb8f40a3b995a617dc1e22b2ae324a

5 years agoMerge "Fix Wi-Fi Easy Connect buttons UI defects"
Arc Wang [Wed, 20 Mar 2019 01:53:24 +0000 (01:53 +0000)]
Merge "Fix Wi-Fi Easy Connect buttons UI defects"

5 years agoMerge "Make a public activity for zen access details."
Fan Zhang [Tue, 19 Mar 2019 23:52:17 +0000 (23:52 +0000)]
Merge "Make a public activity for zen access details."

5 years agoMake a public activity for zen access details.
Fan Zhang [Tue, 19 Mar 2019 20:08:10 +0000 (13:08 -0700)]
Make a public activity for zen access details.

Bug: 128547723
Test: manual
Change-Id: I0546cbb37c2be50bff44396fa2874d9eb294813c

5 years agoStore the application context statically in FeatureFactory
Fan Zhang [Tue, 19 Mar 2019 22:45:11 +0000 (15:45 -0700)]
Store the application context statically in FeatureFactory

It stores the application context in a static class, and will be
destoryed when application stops.

Bug: 124701288
Test: robo
Change-Id: I4678072f3f38ae682be6ba075c85e63c49f8febe

5 years agoMerge "Sound + Output Switcher on Volume Slice"
TreeHugger Robot [Tue, 19 Mar 2019 22:49:04 +0000 (22:49 +0000)]
Merge "Sound + Output Switcher on Volume Slice"

5 years agoMerge "Enlarge the height of collapsing button"
TreeHugger Robot [Tue, 19 Mar 2019 22:36:30 +0000 (22:36 +0000)]
Merge "Enlarge the height of collapsing button"

5 years agoFix sticky battery saver toggle
Salvador Martinez [Tue, 19 Mar 2019 22:20:51 +0000 (15:20 -0700)]
Fix sticky battery saver toggle

It was persisting to settings secure instead of settings global.

Test: robotests pass
Bug: 128929858
Change-Id: I8c5bcc875d71096e70f1a70ec84e85d46c3abe43

5 years agoFinalize text of per-profile IME settings
Yohei Yukawa [Tue, 19 Mar 2019 21:15:37 +0000 (14:15 -0700)]
Finalize text of per-profile IME settings

This is a follow up CL to a recent CL [1], which updated text in the
Settings app as follows:
 * "Keyboard & inputs" to "Keyboards"
 * "Input assistance" to "Tools"

For consystency, this CL updates the header text for the work-profile
specific enties in Languages & input from
  Work profile input & assistance
to
  Work profile keyboards & tools.

Other than that, there is no user-visible behavior change.

 [1]: Idbf1e3a8b0c7116271e424548ef37340199eaea2
      5b27d18e38f7d684f16aef84b1dfc5d4808cdc07

Bug: 124049901
Fix: 123314089
Test: Manually verified as follows.
  1. Build and flash an AOSP build
  2. Install Test DPC
  3. Open Settings -> System -> Languages & input
  4. Make sure that the new category header for work-profile specific
     entries is now shown as "Work profile keyboards & tools"
Change-Id: Ib6470debe9be29ec0985cf1e3eb31d232c6b3880

5 years agoMerge "Add Grayscale conditional"
Mill Chen [Tue, 19 Mar 2019 20:47:56 +0000 (20:47 +0000)]
Merge "Add Grayscale conditional"

5 years agoEnlarge the height of collapsing button
Mill Chen [Tue, 19 Mar 2019 20:17:09 +0000 (13:17 -0700)]
Enlarge the height of collapsing button

To improve the accessibility of Settings, we make the height of
collapsing button set to 48dp.

Fixes: 128896511
Test: rebuild
Change-Id: I341196802d6d488a8adb88501901e761bc188f7b

5 years agoMake BT icon colorful
jackqdyulei [Wed, 13 Mar 2019 17:26:04 +0000 (10:26 -0700)]
Make BT icon colorful

Add new method to get rainbow bt icon and also refactor
AdaptiveHomepageIcon:
1. Rename
2. Add ConstantState

Bug: 126425211
Test: RunSettingsRoboTests

Change-Id: Idb8aaf253d0d9e2ab33d8852f093e6689ebadde4

5 years agoMerge "Remove wake from Settings gestures.xml"
TreeHugger Robot [Tue, 19 Mar 2019 18:20:38 +0000 (18:20 +0000)]
Merge "Remove wake from Settings gestures.xml"

5 years agoMerge "Add circle background outline to unthethered icon"
Lei Yu [Tue, 19 Mar 2019 17:46:17 +0000 (17:46 +0000)]
Merge "Add circle background outline to unthethered icon"

5 years agoMerge "Display more information on network detail page"
Clown SHEN [Tue, 19 Mar 2019 17:37:26 +0000 (17:37 +0000)]
Merge "Display more information on network detail page"

5 years agoMerge "Stop using framework internal layout for timezone header."
Fan Zhang [Tue, 19 Mar 2019 17:18:42 +0000 (17:18 +0000)]
Merge "Stop using framework internal layout for timezone header."

5 years agoStop using framework internal layout for timezone header.
Fan Zhang [Mon, 18 Mar 2019 23:37:28 +0000 (16:37 -0700)]
Stop using framework internal layout for timezone header.

The framework version header has deviated from supportlib version long
ago, and we shouldn't hack our theme to make this layout work. Instead
we now have a custom layout compatible to settings theme.

Fixes: 128833223
Test: visual
Change-Id: I83087352240de183b0639daf844bd7f90e02056a

5 years agoMerge "Update strings of notification channel slice"
Fan Zhang [Tue, 19 Mar 2019 17:14:56 +0000 (17:14 +0000)]
Merge "Update strings of notification channel slice"

5 years agoMerge "Create a page to manage dnd permission for individual app"
Fan Zhang [Tue, 19 Mar 2019 17:14:07 +0000 (17:14 +0000)]
Merge "Create a page to manage dnd permission for individual app"

5 years agoRemove wake from Settings gestures.xml
Beverly [Tue, 19 Mar 2019 14:56:07 +0000 (10:56 -0400)]
Remove wake from Settings gestures.xml

Test: manual
Bug: 127955764
Change-Id: Icea129fe5a7b1dbb0bc5ff799c99907a278396df

5 years agoMerge "Log latency and timeout occurrence for contextual cards."
TreeHugger Robot [Tue, 19 Mar 2019 13:25:25 +0000 (13:25 +0000)]
Merge "Log latency and timeout occurrence for contextual cards."

5 years agoUpdate strings of notification channel slice
Yanting Yang [Tue, 19 Mar 2019 11:54:04 +0000 (19:54 +0800)]
Update strings of notification channel slice

Bug:128641319
Test: manual
Change-Id: Ia5f5ee770a28c0720526e60ffdb48fb2bd3de13f

5 years agoMerge "Update OWNERS for backup settings"
TreeHugger Robot [Tue, 19 Mar 2019 11:48:40 +0000 (11:48 +0000)]
Merge "Update OWNERS for backup settings"

5 years agoUse "Disable"/"Enable" for system app
tmfang [Wed, 27 Feb 2019 07:05:01 +0000 (15:05 +0800)]
Use "Disable"/"Enable" for system app

- Also modify warning message for disable dialog.

Bug: 124116610
Bug: 128769312

Test: visual
Change-Id: I2f68f51538d3dd17898aa668dae52d1d8e955ec7

5 years agoLog latency and timeout occurrence for contextual cards.
Yi-Ling Chuang [Wed, 6 Mar 2019 06:38:23 +0000 (14:38 +0800)]
Log latency and timeout occurrence for contextual cards.

Fixes: 124492762
Test: rebuild
Change-Id: I552adf7e6d76e8576a790e83792d067ed5716dc2

5 years agoFix Wi-Fi Easy Connect buttons UI defects
Arc Wang [Fri, 15 Mar 2019 08:58:11 +0000 (16:58 +0800)]
Fix Wi-Fi Easy Connect buttons UI defects

1. Apply attr/colorAccent to button icons for theme UI control
2. Apply attr/selectableItemBackground for button tapping ripple effect
3. Use ConstraintLayout to separate ssid EditText and scan button
4. Remove ButtonPreference and add AddNetworkPreference.
   ButtonPreference's naming and design look like a general purpose UI
   component but it's not. This change refactors the code.
5. In AddNetworkPreference, use settingslib layout file
   'preference_access_point' to fix UI alignment problems.

Bug: 126964552
Bug: 125434239
Bug: 126762937

Test: manual test
      atest com.android.settings.wifi.WifiSettingsTest
Change-Id: Ib899a1e10f96bb8427ff00d6b5dfca37a0642c44

5 years agoMerge "Import statsdprotolite library to use atoms.proto"
TreeHugger Robot [Tue, 19 Mar 2019 04:06:20 +0000 (04:06 +0000)]
Merge "Import statsdprotolite library to use atoms.proto"

5 years ago[Network Connection] Implement new UI changing
cosmohsieh [Thu, 14 Mar 2019 10:29:55 +0000 (18:29 +0800)]
[Network Connection] Implement new UI changing

1. Change title to multi-lines display
2. Add "SingleSpecifiedSSID" mode, will have connect button
3. Don't pop error dialog, if there is connection failure. Let user
retry.
4. Hide progress icon if list item exists

Bug: 128586511
Test: atest NetworkRequestDialogFragmentTest
Change-Id: Icc560e4882fbcd941574e44690a27d5082a7c4c7

5 years agoMerge "Enable nav bar overlay when gestural nav is enabled and tune edge swipe width."
TreeHugger Robot [Tue, 19 Mar 2019 00:17:38 +0000 (00:17 +0000)]
Merge "Enable nav bar overlay when gestural nav is enabled and tune edge swipe width."

5 years agoImport statsdprotolite library to use atoms.proto
Raff Tsai [Mon, 18 Mar 2019 23:19:20 +0000 (07:19 +0800)]
Import statsdprotolite library to use atoms.proto

Bug: 124701288
Test: rebuild
Change-Id: I38ba80707f8b6cbf7d590d72f4f7fb937dc82a89

5 years agoMerge "[Wi-Fi] Do not delete certs when forgetting network"
Hai Shalom [Mon, 18 Mar 2019 22:38:47 +0000 (22:38 +0000)]
Merge "[Wi-Fi] Do not delete certs when forgetting network"

5 years agoEnable nav bar overlay when gestural nav is enabled and tune edge swipe
Tracy Zhou [Mon, 18 Mar 2019 22:07:09 +0000 (15:07 -0700)]
Enable nav bar overlay when gestural nav is enabled and tune edge swipe
width.

Fixes: 128680874128711028
Test: Manual
Change-Id: I371819c6f6206f2bbc8599c0b14b4da9b67a2e14

5 years agoMerge "Disable draw overlay for most of Settings."
Fan Zhang [Mon, 18 Mar 2019 21:55:24 +0000 (21:55 +0000)]
Merge "Disable draw overlay for most of Settings."

5 years agoDisable draw overlay for most of Settings.
Fan Zhang [Thu, 14 Mar 2019 22:45:22 +0000 (15:45 -0700)]
Disable draw overlay for most of Settings.

Fixes: 120484087
Test: robotests
Change-Id: I1f7c8e83bd5054525bde5ca35fac55b7c9586c7c

5 years agoCreate a page to manage dnd permission for individual app
Fan Zhang [Fri, 15 Mar 2019 23:41:24 +0000 (16:41 -0700)]
Create a page to manage dnd permission for individual app

- Change the original ZenAccessPage to
  - Remove the inline switch
  - Make the preference click target go into the new detail page
  - Some formatting/style change.

- Create a new detail page for zen access.
  - Exit if app didn't declare this permission
  - Preset the switch toggle to their current permission grant state
  - Move the warning dialog logic from ZenAccessSettings to here.

- Move some common functionality into ZenAccessController, a static
  helper class

Bug: 128547723
Test: robotest
Change-Id: I1ebb32396869d07ff4283b300bd716506298c9b5

5 years ago[automerger skipped] Merge "Do not show Provisioning items for IMS if it is not enabl...
Brad Ebinger [Mon, 18 Mar 2019 21:01:17 +0000 (14:01 -0700)]
[automerger skipped] Merge "Do not show Provisioning items for IMS if it is not enabled." am: be10b45fe6 am: 76b4661f56
am: 6ed6eeb05f -s ours
am skip reason: change_id I9624535fe766cd79eadb30502c1a0574650a02ef with SHA1 5dfe7f8af9 is in history

Change-Id: Ie9996ba6c93a195053c430aeb4bad88bd314b1f2

5 years agoMerge "Do not show Provisioning items for IMS if it is not enabled." am: be10b45fe6
Brad Ebinger [Mon, 18 Mar 2019 20:42:49 +0000 (13:42 -0700)]
Merge "Do not show Provisioning items for IMS if it is not enabled." am: be10b45fe6
am: 76b4661f56

Change-Id: I04d7e91cce1424608581ca36f6282e71c9d3ac7e

5 years agoMerge "Do not show Provisioning items for IMS if it is not enabled."
Brad Ebinger [Mon, 18 Mar 2019 20:29:25 +0000 (13:29 -0700)]
Merge "Do not show Provisioning items for IMS if it is not enabled."
am: be10b45fe6

Change-Id: Ie8c404d980d7437550019fccdcac0868fa5d845d

5 years agoMerge "Fix voice access issue on home page"
TreeHugger Robot [Mon, 18 Mar 2019 19:59:27 +0000 (19:59 +0000)]
Merge "Fix voice access issue on home page"

5 years agoMerge "Force LSKF in ConfirmCredential UI when pending escrow token exists"
TreeHugger Robot [Mon, 18 Mar 2019 19:44:47 +0000 (19:44 +0000)]
Merge "Force LSKF in ConfirmCredential UI when pending escrow token exists"

5 years agoMerge "Fix crash on AppInfo screen"
Fan Zhang [Mon, 18 Mar 2019 18:36:49 +0000 (18:36 +0000)]
Merge "Fix crash on AppInfo screen"

5 years agoMerge "[Strings + layout] Minor changes for eSIM erase."
Hunter Knepshield [Mon, 18 Mar 2019 18:17:20 +0000 (18:17 +0000)]
Merge "[Strings + layout] Minor changes for eSIM erase."

5 years agoMerge "Handle the SQLiteDatabase already-closed problem"
TreeHugger Robot [Mon, 18 Mar 2019 18:13:27 +0000 (18:13 +0000)]
Merge "Handle the SQLiteDatabase already-closed problem"

5 years agoMerge "Add null check for worker"
TreeHugger Robot [Mon, 18 Mar 2019 18:01:08 +0000 (18:01 +0000)]
Merge "Add null check for worker"

5 years agoMerge "Do not show Provisioning items for IMS if it is not enabled."
Brad Ebinger [Mon, 18 Mar 2019 17:35:27 +0000 (17:35 +0000)]
Merge "Do not show Provisioning items for IMS if it is not enabled."

5 years agoMerge "Renamed NetworkRegistrationState to NetworkRegistrationInfo"
Jack Yu [Mon, 18 Mar 2019 17:28:08 +0000 (17:28 +0000)]
Merge "Renamed NetworkRegistrationState to NetworkRegistrationInfo"