OSDN Git Service

android-x86/packages-apps-Settings.git
5 years agoMerge "Add new policy transparency UI strings."
Alex Kershaw [Fri, 22 Mar 2019 16:44:19 +0000 (16:44 +0000)]
Merge "Add new policy transparency UI strings."

5 years agoMerge "Fail the screen lock flow if the old password has already changed."
Irina Dumitrescu [Fri, 22 Mar 2019 16:12:39 +0000 (16:12 +0000)]
Merge "Fail the screen lock flow if the old password has already changed."

5 years agoMerge "More strings for bubble settings"
TreeHugger Robot [Fri, 22 Mar 2019 13:57:29 +0000 (13:57 +0000)]
Merge "More strings for bubble settings"

5 years agoAdd new policy transparency UI strings.
Alex Kershaw [Thu, 21 Mar 2019 12:35:11 +0000 (12:35 +0000)]
Add new policy transparency UI strings.

This will ultimately be used in CL
Iffbe4d466e4dc8ba5255b8a37d828da09b52a3b3.

Bug: 123930863
Test: Not applicable
Change-Id: I7ed8ebc97e34dd7f1ea5f82244686ab3723646b9

5 years agoMerge "Add strings for "swipe to dismiss" bottom bar style."
TreeHugger Robot [Fri, 22 Mar 2019 12:51:10 +0000 (12:51 +0000)]
Merge "Add strings for "swipe to dismiss" bottom bar style."

5 years agoFail the screen lock flow if the old password has already changed.
Irina Dumitrescu [Thu, 28 Feb 2019 15:35:36 +0000 (15:35 +0000)]
Fail the screen lock flow if the old password has already changed.

Test: atest RunSettingsRoboTests
Bug: 120039091
Change-Id: Ib0860ccbc1ba84a2ac8dafcf3cf33f6ddf160e4c

5 years agoMerge "Handle navigation back problem from About Phone"
TreeHugger Robot [Fri, 22 Mar 2019 11:29:42 +0000 (11:29 +0000)]
Merge "Handle navigation back problem from About Phone"

5 years ago[automerger skipped] Merge "Modify dialog message for partial connectivity" am: f467e...
Lucas Lin [Fri, 22 Mar 2019 10:28:52 +0000 (03:28 -0700)]
[automerger skipped] Merge "Modify dialog message for partial connectivity" am: f467ee4a28 am: 8701e18275
am: 0fa267fd0b -s ours
am skip reason: change_id I0e87f6f2ede173f45a7b6fcf842b4f9a83d8efa1 with SHA1 7335c594be is in history

Change-Id: I7a1e1ca059c0f61cbe29ea0576542c46bf1b0317

5 years agoAdd strings for "swipe to dismiss" bottom bar style.
Yi-Ling Chuang [Fri, 22 Mar 2019 08:25:13 +0000 (16:25 +0800)]
Add strings for "swipe to dismiss" bottom bar style.

Bug: 126214056
Test: rebuild
Change-Id: I823d1c0ed82d81f415f303810197246ede15690d

5 years agoMerge "Revert "Add divider line in Preference for scan QR code button and share hotsp...
TreeHugger Robot [Fri, 22 Mar 2019 08:18:16 +0000 (08:18 +0000)]
Merge "Revert "Add divider line in Preference for scan QR code button and share hotspot button""

5 years agoHandle navigation back problem from About Phone
Sunny Shao [Fri, 22 Mar 2019 07:22:36 +0000 (15:22 +0800)]
Handle navigation back problem from About Phone

Removed the android:parentActivityName attribute in .Settings$MyDeviceInfoActivity.

Fixes: 128941539
Test: manual test & view
Change-Id: Id5929bd8bcd8b136610fff76e406f62b2ffef8c2

5 years agoMerge "Change suggestion dismiss day"
TreeHugger Robot [Fri, 22 Mar 2019 06:48:36 +0000 (06:48 +0000)]
Merge "Change suggestion dismiss day"

5 years agoMerge "Move SIM select logic from SimSelectNotification to Telephony."
Xiangyu/Malcolm Chen [Fri, 22 Mar 2019 06:48:23 +0000 (06:48 +0000)]
Merge "Move SIM select logic from SimSelectNotification to Telephony."

5 years agoRevert "Add divider line in Preference for scan QR code button and share hotspot...
Arc Wang [Fri, 22 Mar 2019 05:36:59 +0000 (05:36 +0000)]
Revert "Add divider line in Preference for scan QR code button and share hotspot button"

This reverts commit 890f3a4340b2cbbe1e82337005383f7a33ddd948.

Reason for revert: I find a UI defect in this fix.

Change-Id: Icdbb1d2b5319636b8c4c54bcdc0fc3562585a15a

5 years agoMerge "Check if enrolled Wi-Fi network is reachable in WifiManager#connect onSuccess...
TreeHugger Robot [Fri, 22 Mar 2019 05:36:45 +0000 (05:36 +0000)]
Merge "Check if enrolled Wi-Fi network is reachable in WifiManager#connect onSuccess callback"

5 years agoMerge "Remove shadow from "Apps and Notifications""
TreeHugger Robot [Fri, 22 Mar 2019 05:19:36 +0000 (05:19 +0000)]
Merge "Remove shadow from "Apps and Notifications""

5 years agoChange suggestion dismiss day
Raff Tsai [Fri, 22 Mar 2019 04:00:00 +0000 (12:00 +0800)]
Change suggestion dismiss day

Fixes: 129021755
Test: manual
Change-Id: Ib3c64be6a5fdc9f77aece710a496b0514de2fb85

5 years agoMerge "Add keywords for wifi slice"
TreeHugger Robot [Fri, 22 Mar 2019 03:42:17 +0000 (03:42 +0000)]
Merge "Add keywords for wifi slice"

5 years agoMerge "Clean up manage_applications_apps.xml"
TreeHugger Robot [Fri, 22 Mar 2019 03:09:14 +0000 (03:09 +0000)]
Merge "Clean up manage_applications_apps.xml"

5 years agoRemove shadow from "Apps and Notifications"
tmfang [Mon, 18 Mar 2019 08:56:09 +0000 (16:56 +0800)]
Remove shadow from "Apps and Notifications"

- Also create a util method to reuse it in different class.

Test: visual
Fixes: 128437380
Change-Id: I0e136feed3aead8c37e381095daebded55ef298d

5 years agoCheck if enrolled Wi-Fi network is reachable in WifiManager#connect onSuccess callback
Arc Wang [Thu, 21 Mar 2019 11:14:17 +0000 (19:14 +0800)]
Check if enrolled Wi-Fi network is reachable in WifiManager#connect onSuccess callback

WifiManager#connect may callback onSuccess even if the Wi-Fi network is not reachable,
it confuses users.

In onSuccess callback, if the Wi-Fi network is unreachable, shows error message.

Bug: 127980127
Test: manual test
Change-Id: I503d6c77c1f1fcab3a1240d904f1c60aaef63aa1

5 years agoMerge "Add strings for adding a different Wi-Fi Easy Connect entry point"
Arc Wang [Fri, 22 Mar 2019 02:26:33 +0000 (02:26 +0000)]
Merge "Add strings for adding a different Wi-Fi Easy Connect entry point"

5 years agoMerge "Improve Wi-Fi Easy Connect lock screen UI information"
Arc Wang [Fri, 22 Mar 2019 02:19:48 +0000 (02:19 +0000)]
Merge "Improve Wi-Fi Easy Connect lock screen UI information"

5 years agoMerge "[Network Connection] Don't dismiss dialog when touching outside of dialog"
Cosmo Hsieh [Fri, 22 Mar 2019 01:45:53 +0000 (01:45 +0000)]
Merge "[Network Connection] Don't dismiss dialog when touching outside of dialog"

5 years agoMerge "Modify dialog message for partial connectivity" am: f467ee4a28
Lucas Lin [Fri, 22 Mar 2019 01:43:39 +0000 (18:43 -0700)]
Merge "Modify dialog message for partial connectivity" am: f467ee4a28
am: 8701e18275

Change-Id: Icd481ce4dc83b0d60ffeef75bbcfe9277339e4f6

5 years agoMerge "Update strings for battery settings"
TreeHugger Robot [Fri, 22 Mar 2019 01:39:53 +0000 (01:39 +0000)]
Merge "Update strings for battery settings"

5 years agoMerge "Modify dialog message for partial connectivity"
Lucas Lin [Fri, 22 Mar 2019 01:31:47 +0000 (18:31 -0700)]
Merge "Modify dialog message for partial connectivity"
am: f467ee4a28

Change-Id: I9a022578e14327bfe98a3efa74a99d9f623a031e

5 years agoMerge "Move WakeScreenGesturePrefController"
TreeHugger Robot [Fri, 22 Mar 2019 01:19:00 +0000 (01:19 +0000)]
Merge "Move WakeScreenGesturePrefController"

5 years agoMerge "Modify dialog message for partial connectivity"
Lucas Lin [Fri, 22 Mar 2019 01:16:42 +0000 (01:16 +0000)]
Merge "Modify dialog message for partial connectivity"

5 years agoMerge "[Network Connection] Start dialog as affinity activity"
TreeHugger Robot [Fri, 22 Mar 2019 01:10:39 +0000 (01:10 +0000)]
Merge "[Network Connection] Start dialog as affinity activity"

5 years agoMerge "Do not relaunch ConfirmLock after rotation"
TreeHugger Robot [Fri, 22 Mar 2019 01:03:50 +0000 (01:03 +0000)]
Merge "Do not relaunch ConfirmLock after rotation"

5 years agoMerge "Add Sensors Off QS developer tile"
Michael Groover [Fri, 22 Mar 2019 00:34:21 +0000 (00:34 +0000)]
Merge "Add Sensors Off QS developer tile"

5 years agoAdd keywords for wifi slice
Mill Chen [Thu, 21 Mar 2019 23:29:49 +0000 (16:29 -0700)]
Add keywords for wifi slice

Wifi slice didn't have a bunch of keywords for search, so users have to
type full matched text to search for wifi setting. We added keywords for
wifi slice to fix it, in which keywords are defined in strings.xml.

Fixes: 109922806
Test: rebuild
Change-Id: Ibe3b65c186cf6f43ae744c1f478d8985e270374c

5 years agoMerge "Make conditional work properly when toggle it in QS"
TreeHugger Robot [Fri, 22 Mar 2019 00:16:45 +0000 (00:16 +0000)]
Merge "Make conditional work properly when toggle it in QS"

5 years agoMore strings for bubble settings
Mady Mellor [Thu, 21 Mar 2019 23:59:37 +0000 (16:59 -0700)]
More strings for bubble settings

Test: it compiles
Change-Id: I92964a1864fbe0bca243db424495afd399ade4cc

5 years agoMerge "Remove reference to R.id.summary_container."
Fan Zhang [Thu, 21 Mar 2019 23:41:58 +0000 (23:41 +0000)]
Merge "Remove reference to R.id.summary_container."

5 years agoMerge "Update string for app storage settings"
TreeHugger Robot [Thu, 21 Mar 2019 23:41:15 +0000 (23:41 +0000)]
Merge "Update string for app storage settings"

5 years agoMerge "Clean up the hard cache in SettingSliceProvider."
TreeHugger Robot [Thu, 21 Mar 2019 23:23:45 +0000 (23:23 +0000)]
Merge "Clean up the hard cache in SettingSliceProvider."

5 years agoClean up the hard cache in SettingSliceProvider.
Fan Zhang [Thu, 21 Mar 2019 20:46:30 +0000 (13:46 -0700)]
Clean up the hard cache in SettingSliceProvider.

It doesn't need to be a map.

Bug: 129002750
Test: manual
Change-Id: If784dfe4fb497414a04dc5fa8c8374731539d8ed

5 years agoMake conditional work properly when toggle it in QS
Mill Chen [Wed, 20 Mar 2019 01:56:11 +0000 (18:56 -0700)]
Make conditional work properly when toggle it in QS

Some conditionals do not work properly when users toggle its state in
QS, the cause is that these conditionals don't have a way to monitor the
status changed. Make RecyclerView handle onWindowFocusChanged event and
make sure that conditionals can update the status when going back to
Settings from QS.

Bug: 118387886
Bug: 123171638
Bug: 123167705
Test: visual, robotests
Change-Id: Ib3bb9bf43afaa58726502eea1e98bcf602bc3677

5 years agoUpdate strings for battery settings
jackqdyulei [Thu, 21 Mar 2019 19:54:44 +0000 (12:54 -0700)]
Update strings for battery settings

Bug: 112285389
Test: Build
Change-Id: I0be0a4b4ddd18be12a277526711bf88e7f333c5c

5 years agoUpdate string for app storage settings
Fan Zhang [Thu, 21 Mar 2019 19:44:46 +0000 (12:44 -0700)]
Update string for app storage settings

Fixes: 128347544
Test: visual
Change-Id: I4dd803a04301b39d7f2de8f61eb7d193f8164d0b

5 years agoMerge "Show connecting and connected messages on the header subtext of Wi-Fi slice"
TreeHugger Robot [Thu, 21 Mar 2019 19:27:04 +0000 (19:27 +0000)]
Merge "Show connecting and connected messages on the header subtext of Wi-Fi slice"

5 years agoDo not relaunch ConfirmLock after rotation
Rubin Xu [Thu, 21 Mar 2019 15:56:52 +0000 (15:56 +0000)]
Do not relaunch ConfirmLock after rotation

Bug: 122712696
Test: manual
Change-Id: I44fdbdb54b42c3a680bd83fc21c00e5769b83151

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 agoMove WakeScreenGesturePrefController
Beverly [Thu, 21 Mar 2019 14:13:19 +0000 (10:13 -0400)]
Move WakeScreenGesturePrefController

Test: n/a
Bug: 127955764
Change-Id: Ib4ca072e1ade3d2c0fd015e25d95807d8804d74d

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 agoClean up manage_applications_apps.xml
tmfang [Thu, 21 Mar 2019 11:23:41 +0000 (19:23 +0800)]
Clean up manage_applications_apps.xml

Since LinearLayout have only one view(FrameLayout),
LinearLayout is redundant.

It can improve a bit render time.

Test: Open App info screen
Fixes: 124702325
Change-Id: I368b20c5f9916b876586dab71eac43512664d15b

5 years agoShow connecting and connected messages on the header subtext of Wi-Fi slice
Jason Chiu [Thu, 21 Mar 2019 10:37:41 +0000 (18:37 +0800)]
Show connecting and connected messages on the header subtext of Wi-Fi slice

Fixes: 128631698
Test: robotest
Change-Id: I1ea2a65d09eca9b3dd06f56c4ae69ef7f68ffd86

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 agoAdd strings for adding a different Wi-Fi Easy Connect entry point
Arc Wang [Thu, 21 Mar 2019 06:31:25 +0000 (14:31 +0800)]
Add strings for adding a different Wi-Fi Easy Connect entry point

Bug: 129031195
Test: NA
Change-Id: I392148328552c268ff6a57836efa9987f4680b39

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 agoImprove Wi-Fi Easy Connect lock screen UI information
Arc Wang [Wed, 20 Mar 2019 08:34:00 +0000 (16:34 +0800)]
Improve Wi-Fi Easy Connect lock screen UI information

1. Change lock screen title and remove description
2. In QR code generator screen, change summary and show password under QR code picture

Bug: 128920152
Bug: 128576809
Test: manual test
Change-Id: Id096d7f417308df14ffe50c618644750aa991df8

5 years ago[Network Connection] Start dialog as affinity activity
cosmohsieh [Thu, 21 Mar 2019 05:32:19 +0000 (13:32 +0800)]
[Network Connection] Start dialog as affinity activity

Use affinity to keep a clear back stack to prevent caller activity from
stopped stage. If there is only NetworkRequestDialog activity in back stack,
caller will not be covered and then only become paused stage.

Bug: 128995251
Test: manual
Change-Id: I552b942810c919a41a690beff523a01aba1e4d0b

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 ago[Network Connection] Don't dismiss dialog when touching outside of
cosmohsieh [Wed, 20 Mar 2019 06:48:32 +0000 (14:48 +0800)]
[Network Connection] Don't dismiss dialog when touching outside of
dialog

To Improve user experience, prevent dialog dismissing from touching outside
of the dialog

Bug: 128877712
Test: atest NetworkRequestDialogFragment
Change-Id: Idfa90c3647f5cf766aaa63fdb8a829fec5db5934

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 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
Merged-In: I0e87f6f2ede173f45a7b6fcf842b4f9a83d8efa1

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"