Commit Graph

16715 Commits

Author SHA1 Message Date
Cosmo Hsieh
135d90ac9b Merge "[Passpointv2] Implement DataUsage header for Wi-Fi detail fragment" 2019-03-14 10:10:54 +00:00
cosmohsieh
976995fa36 [Passpointv2] Implement DataUsage header for Wi-Fi detail fragment
Change header to a data usage chart of the specified Wi-Fi network.

Bug: 124700353
Test: make RunSettingsRoboTests -j32 ROBOTEST_FILTER=com.android.settings
Change-Id: Ide08ffd5e97ced5fe54707562690155414598dac
2019-03-14 16:41:08 +08:00
TreeHugger Robot
93697136b7 Merge "Rename accessibility services to apps." 2019-03-13 22:15:29 +00:00
TreeHugger Robot
e0806b4ac4 Merge "Fix dynamic pref summary for IMEI." 2019-03-13 21:40:30 +00:00
TreeHugger Robot
d392beed55 Merge "Align layouts between single and two target preferences." 2019-03-13 19:45:25 +00:00
Joel Galenson
d4bd317e4a Rename accessibility services to apps.
Fixes: 127657530
Test: View strings.
Change-Id: I56ab9b5f12808e5af0d9fe2afa64629805c02f1c
2019-03-13 12:36:58 -07:00
Fan Zhang
a8a92752f1 Fix dynamic pref summary for IMEI.
Fixes: 128468762
Test: reindex
Change-Id: I8c7cb385a877b656515872507b2c64d14bae638d
2019-03-13 12:21:20 -07:00
Matthew Fritze
cc50a4a540 Disable Moblie Data Slice in AP mode
When airplane mode is enabled, users should not be able to
change the value of mobile data. Thus, when airplane mode is enabled,
replace the Slice with a no-op slice explaining why it cannot be
changed.

Fixes: 119411534
Fixes: 126726036
Test: robotests
Change-Id: I991fe05ad8f18004f77fbf1c87403de602d3a267
2019-03-13 09:07:19 -07:00
Salvador Martinez
7f054fe8f8 Merge "Remove unneeded airplane mode strings" 2019-03-13 02:25:39 +00:00
TreeHugger Robot
166fffd162 Merge "Suppress search from one of the build number prefs." 2019-03-13 01:10:04 +00:00
TreeHugger Robot
dbaf37d12c Merge "Update battery string" 2019-03-13 00:32:38 +00:00
TreeHugger Robot
2f49d81cfb Merge "Revert battery info string to be about percentage" 2019-03-13 00:16:47 +00:00
TreeHugger Robot
5c4eab4df2 Merge "Move dark theme above advanced" 2019-03-13 00:01:07 +00:00
Fan Zhang
1ef08ae814 Fix robotests
This is related to settings_network_and_internet_v2 flag turn on. Some
tests were assuming old flag behavior.

Fixes: 128356137
Test: robotests
Change-Id: I4eca49f24ad5a10a0fb40f2c02a2d139ba4cb1a4
2019-03-12 16:50:28 -07:00
Salvador Martinez
a43816bed6 Remove unneeded airplane mode strings
Wifi tether doesn't care about airplane more anymore so we don't
need these.

Test: robotests pass
Bug: 111681176
Change-Id: Icf2cc8c944dc9e2c6f7bdf11478a2772292ea913
2019-03-12 16:24:15 -07:00
Fan Zhang
e2eefcd163 Suppress search from one of the build number prefs.
And make the search-enabled one copyable.

Fixes: 127962713
Test: search
Change-Id: I0867ea8a376e3aac5e94cd70245833b516bb154d
2019-03-12 15:54:52 -07:00
Salvador Martinez
4faacea809 Revert battery info string to be about percentage
This was originally going to do something new, but we decided
it should just control percentage in the status bar after all.

Test: robotests pass
Bug: 127518748
Change-Id: I073a19c27de43cba35031f073c2e606b483a69fd
2019-03-12 14:43:26 -07:00
jackqdyulei
000c73cc98 Update battery string
Fixes: 128318092
Test: Build
Change-Id: Ib38a3f84c6029e84b2a189fb5cffc0ea9cac33d6
2019-03-12 14:24:35 -07:00
Fan Zhang
717d4137b1 Hide network & internet top level entry for demo users.
Fixes: 113705941
Test: robotest
Change-Id: I72fdc4c7221963ae61e037c709b5158c207bd3e4
2019-03-12 12:44:26 -07:00
timhypeng
abdf739071 Sound + Output Switcher on Sound Setting
1. Show "play media to" item when Previously Connected device is available
2. Click "Play media to" to launch output slice
3. Update test case

Bug: 126475101
Test: make -j50 RunSettingsRoboTests
Change-Id: Id8afd1a2407acb78c11e81d2420ae8c16130a321
2019-03-12 03:07:36 +00:00
Hall Liu
843290ccb8 Merge "Add description for Wi-Fi calling mode" 2019-03-12 01:40:43 +00:00
TreeHugger Robot
a07961a4bf Merge "Revert "Disable Moblie Data Slice in AP mode"" 2019-03-12 01:37:54 +00:00
TreeHugger Robot
466940141a Merge "Add new strings for Wi-Fi Connectivity" 2019-03-12 01:11:09 +00:00
TreeHugger Robot
4bb33ae9f2 Merge "Update the color of the expand icon as accent color" 2019-03-12 01:05:10 +00:00
TreeHugger Robot
08a2a8183e Merge changes I54a3f033,I2e894501
* changes:
  Fix [a11y] Wi-Fi Easy Connect Talkback issues
  Support to share Wi-Fi hotspot via QR code
2019-03-12 00:42:40 +00:00
Matthew Fritze
350ad14f10 Revert "Disable Moblie Data Slice in AP mode"
This reverts commit 6b065caf7e.

Reason for revert: flaky test: b/128355821

Change-Id: I4fccac1bf7978c5743bde9dd9bb0b76ea4733d2b
2019-03-11 23:58:41 +00:00
Salvador Martinez
b543662b39 Move dark theme above advanced
This CL simply adds an extra child count to show above the
advanced toggle in display settings and moves dark theme up
so it shows by default.

Test: robotests pass
Fixes: 123995869
Change-Id: I15a33d558dc5f1eb0e972bc708d565fcdb7734d5
2019-03-11 15:49:59 -07:00
Chris.CC Lee
411ca28940 Align layouts between single and two target preferences.
Change the layout to align view components with TwoTargetPreference.

Fixes: 124084391

Test: Visual
Change-Id: I417a8e442bd80c51be04e3f33514a6605c9b45f8
2019-03-12 06:23:56 +08:00
Kazuya Ohshiro
c449048ac1 Add description for Wi-Fi calling mode
Replace the view of dialog with custom view that adds description
as summary.

Test: manual
Bug: 34793636
Change-Id: If9792b0a35c59c1260176b4b2c62107861de73b5
2019-03-11 13:21:51 -07:00
Chalard Jean
230a9949b4 Merge "Support VPN Proxy(2/2)" am: 2a695c4b7b am: e2f74af063
am: aa5d185d7b

Change-Id: Ifa4ac76f78e24296a29f99f5733075651bed9072
2019-03-09 04:20:32 -08:00
Maurice Lam
d6aff5ecec Fix Face auth header icon
Like the fingerprint enroll flow, the icon should be blue and have
size 32dp

Test: Manual
Bug: 127985682
Change-Id: I22e1b0c3294b4eedc7359c611c9b1c2c5a09c439
2019-03-08 18:32:03 -08:00
TreeHugger Robot
0962a4615f Merge "Add extra to the intent for adding additional subscription" 2019-03-08 22:43:25 +00:00
TreeHugger Robot
9af4479330 Merge "Remove title from top_level_settings." 2019-03-08 21:23:10 +00:00
TreeHugger Robot
3bcfd763ef Merge "Disable Moblie Data Slice in AP mode" 2019-03-08 19:24:43 +00:00
Salvador Martinez
790d4a3bd7 Merge "Create preference to allow user to toggle sticky battery saver" 2019-03-08 17:17:25 +00:00
Antony Sargent
68d56353fb Add extra to the intent for adding additional subscription
In the places where we have a link to let the user add an additional
mobile network subscription, we need the "fore provision" extra added to
the intent.

Bug: 127532036
Test: manual (enable DSDS mode and the settings_network_internet_v2
feature flag, then go to Settings->Network & internet and try clicking
on the '+' button on the right of the Mobile network preference, or
click through that pref if you have 2+ sims and hit the 'Add more'
link. This should bring you into an 'add sim' flow provided by the eSIM
manager)

Change-Id: I56ab2125938f2df07f756d100a7ac993b1e5ced3
2019-03-08 08:51:55 -08:00
Chalard Jean
aa5d185d7b Merge "Support VPN Proxy(2/2)" am: 2a695c4b7b
am: e2f74af063

Change-Id: I61f6f949ab79cdcac5d61ae9409c2de09b75db49
2019-03-08 07:44:56 -08:00
Chalard Jean
e2f74af063 Merge "Support VPN Proxy(2/2)"
am: 2a695c4b7b

Change-Id: I58553c28c8f4e87a52169f925da70c2edb89ca71
2019-03-08 06:42:57 -08:00
Yanting Yang
d6609a872b Merge "Animate the expansion/collapse of a slice" 2019-03-08 09:08:02 +00:00
TreeHugger Robot
841ce3a9a3 Merge "Update the WorkOnlyCategory" 2019-03-08 08:58:39 +00:00
clownshen
d8fcf9d2a1 Add new strings for Wi-Fi Connectivity
Bug: 126503889
Test: Build passed
Change-Id: I909db632d4e217dfa874d164cf32e168820131e8
2019-03-08 08:02:19 +00:00
Mehdi Alizadeh
f514f1eecf Merge "Adds Edge to Edge option in gesture settings page" 2019-03-08 04:49:41 +00:00
Arc Wang
70e3580f5d Fix [a11y] Wi-Fi Easy Connect Talkback issues
1. Remove android:contentDescription from ButtonPreference layout file
   'wifi_button_preference_widget.xml' because it should be a more
   general purpose component. Add ButtonPreference#setButtonContentDescription
   for this change.
2. Add a LinearLayout to group title & summary for better Talkback UX
3. Set android:contentDescription for Wi-Fi enrollee scan button
4. setTitle for Talkback actionbar back button of WifiDppQrCodeGeneratorFragment &
   WifiDppQrCodeScannerFragment
5. Auto trigger Talkback to speak title & summary in WifiDppAddDeviceFragment &
   WifiDppChooseSavedWifiNetworkFragment
6. Auto trigger Talkback to speak summary change in WifiDppAddDeviceFragment
7. Auto trigger Talkback to speak error message in WifiDppQrCodeScannerFragment

Bug: 126007405
Bug: 124424996
Bug: 124424445
Test: manual test

Change-Id: I54a3f033bb8871c47be12115ae8f97691fd83302
2019-03-08 12:05:50 +08:00
Arc Wang
b249fb7d13 Support to share Wi-Fi hotspot via QR code
1. QR code scanner (Wi-Fi Easy Connect) does not support sharing Wi-Fi hotspot
   at current stage
2. Wi-Fi hotspot QR code button only shows when Wi-Fi hotspot is enabled
3. The QR code has the security string "WPA" for hotspot's WPA2_PSK

Bug: 123151660
Test: atest WifiTetherSSIDPreferenceControllerTest
            WifiQrCodeTest WifiDppConfiguratorActivityTest
            WifiDppEnrolleeActivityTest
            WifiDppQrCodeGeneratorFragmentTest
            WifiDppQrCodeScannerFragmentTest
            WifiNetworkListFragmentTest
            WifiDppChooseSavedWifiNetworkFragmentTest

Change-Id: I2e89450180b82cc841ee3b15be52bfc6f9f6164d
2019-03-08 11:48:12 +08:00
Clown SHEN
457f9a6ee8 Merge "[Passpointv2] Provide two views for saved networks" 2019-03-08 02:42:30 +00:00
Sunny Shao
6414137ec7 Update the WorkOnlyCategory
Add the settings:searchable="false" into WorkOnlyCategory in the language_and_input.xml.

Bug: 126463108
Test: manual
Change-Id: Ie1b86289f8f2c1b4b0154dff342e1d74fef73547
2019-03-08 09:54:22 +08:00
TreeHugger Robot
470caabd50 Merge "Added new toggle for Content Capture on Settings -> Privacy" 2019-03-08 01:14:36 +00:00
Fan Zhang
f0c3c843e0 Remove title from top_level_settings.
This removes "Settings >" in seach breadcrumb

Bug: 127837519
Test: rerun robotests
Change-Id: I409db4e50485b787024e7a36aa51c699490af89b
2019-03-07 16:56:30 -08:00
Felipe Leme
0d3444a300 Added new toggle for Content Capture on Settings -> Privacy
Test: manual verification
Test: atest EnableContentCapturePreferenceControllerTest

Bug: 119264902

Change-Id: I2e29d7892892e6a0f90a97e35c48df231d67b0b6
2019-03-07 15:00:00 -08:00
Mehdi Alizadeh
43502549a3 Adds Edge to Edge option in gesture settings page
Bug: 125489141
Test: Manual test on device
Test: make RunSettingsRoboTests ROBOTEST_FILTER=SystemNavigationLegacyPreferenceControllerTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=SystemNavigationSwipeUpPreferenceControllerTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=SystemNavigationEdgeToEdgePreferenceControllerTest
Change-Id: I1b274cc053de8235d0c664150cabe5dadc618419
2019-03-07 14:50:27 -08:00