Commit Graph

50551 Commits

Author SHA1 Message Date
Julia Reynolds
f7b793f808 Merge "Add settings for individual NAS components" 2019-03-21 13:09:00 +00:00
TreeHugger Robot
fc38c5c04e Merge "Revert layout transition from slice view" 2019-03-21 12:00:28 +00:00
Annie Meng
c1d4c47711 Merge "Use new dataManagementLabel AIDL in Backup Settings" 2019-03-21 10:17:09 +00:00
Yanting Yang
1cdb780526 Revert layout transition from slice view
Fixes:129002765
Test: visual
Change-Id: Ice56eb0ee5cd6018927271ab33ad9dd3321953b1
2019-03-21 16:59:47 +08:00
Michele Berionne
5c68865a88 Merge "Modified MultiSim APIs" 2019-03-21 08:01:43 +00:00
TreeHugger Robot
6666c7dabb Merge "Revert "Import statsdprotolite library to use atoms.proto"" 2019-03-21 06:32:27 +00:00
TreeHugger Robot
b9e6f894c3 Merge "Add divider line in Preference for scan QR code button and share hotspot button" 2019-03-21 06:26:27 +00:00
TreeHugger Robot
4a6b8a608c Merge "[Network Connection] Implement Unavailable callback when the user cancels" 2019-03-21 05:48:17 +00:00
Chen Xu
ea3a25ea83 Merge "Create TM for each subId to register phonestatelistner" 2019-03-21 05:39:19 +00:00
TreeHugger Robot
3c2a508463 Merge "[Issue fix] Hearing aids subtitle status is not updated." 2019-03-21 05:30:35 +00:00
TreeHugger Robot
55cbba6073 Merge "Use "Disable"/"Enable" for system app" 2019-03-21 04:45:23 +00:00
TreeHugger Robot
ff02854e9a Merge "Remove hardcoded height for SliceView" 2019-03-21 04:02:48 +00:00
Arc Wang
890f3a4340 Add divider line in Preference for scan QR code button and share hotspot button
Bug: 128940862
Test: manual test
Change-Id: If576f0840cc8924b63348f04fe12c3a0d4edcb89
2019-03-21 10:48:55 +08:00
Raff Tsai
20308f735d Revert "Import statsdprotolite library to use atoms.proto"
This reverts commit 7ba77ceadf.

Reason for revert: <increase settings apk size>

Change-Id: I39bfebf3f50f997d7b36ed80ac6302a4529a6432
2019-03-21 02:48:18 +00:00
Lucas Lin
f32823bc6d Merge "Modify dialog message for partial connectivity" 2019-03-21 02:34:03 +00:00
Yanting Yang
e2914e0845 Merge "Improve notification slice string on home page" 2019-03-21 02:04:22 +00:00
cosmohsieh
5944fa9427 [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
2019-03-21 09:37:49 +08:00
tim peng
18979c5313 [Issue fix] Hearing aids subtitle status is not updated.
- Replace LifecycleObserver library with androidx.lifecycle

Bug: 128470997
Test: make -j50 RunSettingsRoboTests
Change-Id: I6d59d8b888dcb374c346a94a1ad38956317576bf
2019-03-21 01:24:10 +00:00
Michele
3dafea2641 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
2019-03-20 17:51:16 -07:00
Clown SHEN
f5d2552b7a Merge "Add new string for toast to notify user Wi-Fi not in range" 2019-03-21 00:43:37 +00:00
chen xu
96d0c484f3 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
2019-03-20 17:28:26 -07:00
TreeHugger Robot
9bbff3da37 Merge "Update system dashboard pref summary" 2019-03-21 00:21:24 +00:00
jackqdyulei
02f64c0634 Remove hardcoded height for SliceView
Fixes: 128953120
Test: Build
Change-Id: I052d2b539421132002a3217fe2ef82d0ab6aba19
2019-03-20 17:10:26 -07:00
Lei Yu
24c3c577c8 Merge "Don't close db for singleton db manager" 2019-03-20 22:15:56 +00:00
Fan Zhang
0eca452b17 Update system dashboard pref summary
Fixes: 127350259
Test: visual
Change-Id: I4e7ff67af6df94d6a030096156f6485f375e8a2e
2019-03-20 13:29:41 -07:00
TreeHugger Robot
a2ef6e5c33 Merge "Pass the location permission not group to MANAGE_APP_PERMISSION." 2019-03-20 19:03:31 +00:00
TreeHugger Robot
c48cdcd5f9 Merge "Make BT icon colorful" 2019-03-20 18:51:28 +00:00
jackqdyulei
da7b0d44bc 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
2019-03-20 11:02:04 -07:00
TreeHugger Robot
7d7eb8b509 Merge "Fix NPE in constructor" 2019-03-20 17:06:17 +00:00
Joel Galenson
73f089333b 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
2019-03-20 09:32:50 -07:00
Matthew Fritze
e435b062a0 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
2019-03-20 08:29:23 -07:00
Yanting Yang
aed7ad5a43 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
2019-03-20 22:25:59 +08:00
Julia Reynolds
05eff1c6a7 Add settings for individual NAS components
Test: robotest
Bug: 127825514
Change-Id: I4359bb548d10b39652bb8c263fa685d595d7a9ea
2019-03-20 09:26:46 -04:00
Annie Meng
ae53699277 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
2019-03-20 12:12:50 +00:00
clownshen
a9aa6d1821 Add new string for toast to notify user Wi-Fi not in range
Bug: 126503889
Test: build passed
Change-Id: Ide2d733d72c2b31fcaa302d0ddb742b92fac6d7e
2019-03-20 07:12:32 +00:00
Kevin Chyn
cd829aced1 Merge "Show confirmation dialog for removing enrollment" 2019-03-20 07:01:52 +00:00
TreeHugger Robot
08d9835b8e Merge "Update About phone icon background color" 2019-03-20 06:51:25 +00:00
TreeHugger Robot
1029b976f4 Merge "Update enrollment intro" 2019-03-20 06:28:33 +00:00
Yanting Yang
522b634f98 Update About phone icon background color
Fixes:120810263
Test: visual
Change-Id: I8b91a0ef7ba66ff0f4fbd84c765119266119a4a6
2019-03-20 12:52:18 +08:00
Cosmo Hsieh
64df6a3073 Merge "[Network Connection] Implement new UI changing" 2019-03-20 04:34:25 +00:00
Kevin Chyn
e00f7e029f Show confirmation dialog for removing enrollment
Fixes: 123605413
Test: builds

Change-Id: I9e918977909bcf461a29eb36f157c3a261c6dcc4
2019-03-19 21:22:15 -07:00
TreeHugger Robot
cee1ddc5ac Merge "Fix sticky battery saver toggle" 2019-03-20 04:20:21 +00:00
TreeHugger Robot
88dd31287c Merge "Store the application context statically in FeatureFactory" 2019-03-20 04:09:31 +00:00
TreeHugger Robot
85c5d73145 Merge "Improve UX of WifiDppChooseSavedWifiNetworkFragment" 2019-03-20 04:07:02 +00:00
lucaslin
7335c594be 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
2019-03-20 11:41:21 +08:00
Kevin Chyn
f25830b9cc 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
2019-03-19 19:19:23 -07:00
Arc Wang
d0ceb83c95 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
2019-03-20 10:06:40 +08:00
Arc Wang
e4359a9eee Merge "Fix Wi-Fi Easy Connect buttons UI defects" 2019-03-20 01:53:24 +00:00
Fan Zhang
e230d19810 Merge "Make a public activity for zen access details." 2019-03-19 23:52:17 +00:00
Fan Zhang
e366f02712 Make a public activity for zen access details.
Bug: 128547723
Test: manual
Change-Id: I0546cbb37c2be50bff44396fa2874d9eb294813c
2019-03-19 23:52:06 +00:00