Commit Graph

50374 Commits

Author SHA1 Message Date
Kevin Chyn
f1536636a0 Update icon
Bug: 111548033
Test: Builds
Change-Id: I68fd1f0b24a46b762baa1acb1087313ddaaf815b
2019-03-14 18:25:40 -07:00
Kevin Chyn
11679da53d Update toggle logic
Bug: 111548033

Test: Builds
Change-Id: I591297940b48cffe61ca0279ff835ccacd2a625f
2019-03-14 18:25:40 -07:00
TreeHugger Robot
93697136b7 Merge "Rename accessibility services to apps." 2019-03-13 22:15:29 +00:00
Fan Zhang
6a312ab57a Merge "Fix robotests" 2019-03-13 21:57:09 +00:00
TreeHugger Robot
e0806b4ac4 Merge "Fix dynamic pref summary for IMEI." 2019-03-13 21:40:30 +00:00
Fan Zhang
d4671b41b1 Merge "Refactor CustomSliceManager." 2019-03-13 21:32:51 +00:00
Fan Zhang
2014d16e46 Fix robotests
Fixes: 128536554
Test: rerun robotests
Change-Id: Ife81f9d161fc416a63a9b2f04ce2ae4f9a1e74db
2019-03-13 14:31:43 -07: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
Chandan Nath
0666a12734 Merge "[Multi-user] Show Backup only if Backup is activated" 2019-03-13 11:09:21 +00:00
Kiyoung Kim
3d5ef5ec60 [automerger skipped] Merge "Schematize Crypto state system property" am: 6c38df5eff am: 7dc288a899
am: 8b8bf4c39e -s ours
am skip reason: change_id I957a8e37a88f7bb6d5007a36c02952d3539580fe with SHA1 4d7bd6d85e is in history

Change-Id: I4df0425e2b933347ad52ec50f67db55428be5185
2019-03-12 22:31:41 -07:00
Kiyoung Kim
8b8bf4c39e Merge "Schematize Crypto state system property" am: 6c38df5eff
am: 7dc288a899

Change-Id: I865d37316469126cf1cd1bf93bd7427882042c3d
2019-03-12 22:09:21 -07:00
Kiyoung Kim
7dc288a899 Merge "Schematize Crypto state system property"
am: 6c38df5eff

Change-Id: I3ef29bc153839fd18b1144c8128ddf4dbc1e4f60
2019-03-12 21:34:09 -07:00
Salvador Martinez
7f054fe8f8 Merge "Remove unneeded airplane mode strings" 2019-03-13 02:25:39 +00:00
Treehugger Robot
6c38df5eff Merge "Schematize Crypto state system property" 2019-03-13 01:30:58 +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
774b8394a0 Merge "Fix robotests" 2019-03-12 23:51:32 +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
Fan Zhang
2fe7e9fc45 Refactor CustomSliceManager.
- Make everything that can be static, static.
- Also removed a unused slice for battery info.

Next step - going to make CustomSliceManager into a regular class
instead of getting it from FeatureProvider. This way it's no longer an
application level singleton, then we can do things like attaching
lifecycle to it. It will be easier to deal with "session" based use case
after the refactor

Bug: 123937830
Test: manual
Change-Id: I384761a6894fa907f72a3610437835c4dd4d1944
2019-03-12 16:42:12 -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
Hall Liu
4b9a68385b [automerger skipped] Merge "Add description for Wi-Fi calling mode" am: 13e02af2ad am: a10d7031c3
am: 6e28351779 -s ours
am skip reason: change_id If9792b0a35c59c1260176b4b2c62107861de73b5 with SHA1 c449048ac1 is in history

Change-Id: Ibfeb4b2bf490ce272de8559e9f08c70d4322c73b
2019-03-12 16:15:34 -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
Hall Liu
6e28351779 Merge "Add description for Wi-Fi calling mode" am: 13e02af2ad
am: a10d7031c3

Change-Id: I18deb6cc090f077ed6d49decdadf7d642075ec5a
2019-03-12 15:52:22 -07:00
TreeHugger Robot
40d8ac2968 Merge "Hide network & internet top level entry for demo users." 2019-03-12 22:10:39 +00: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
Hall Liu
a10d7031c3 Merge "Add description for Wi-Fi calling mode"
am: 13e02af2ad

Change-Id: Iff0a3e6f814a8fbd7b3910589c5e712cd9dc9b26
2019-03-12 14:06:12 -07:00
Hall Liu
13e02af2ad Merge "Add description for Wi-Fi calling mode" 2019-03-12 20:49:21 +00: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
Salvador Martinez
f087a4cf60 Merge "Remove airplane mode restriction on hotspot" 2019-03-12 18:27:36 +00:00
TreeHugger Robot
76c3a0c90a Merge "Update screen lock complexity permission to password complexity" 2019-03-12 16:22:11 +00:00
Chandan Nath
4d626f63ec [Multi-user] Show Backup only if Backup is activated
This almost reverts the change to SettingsActivity#doUpdateTilesList in ag/6140694
except that instead of setting enabled to true, we set it to whether
backup is activated for this user.

Bug: 124114084

Test: 1a) Set up secondary user
1b) See that there is no Backup option in Settings Homepage - System
1c) adb shell bmgr --user 10 activate true
1d) Backup option is now present
1e) adb shell bmgr --user 10 activate false
1f) Backup option isnt there again

Change-Id: I3f17aabee92bedc91386444c2f0aede696d0fd13
2019-03-12 11:01:26 +00: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
TreeHugger Robot
94240c5a52 Merge "Update output switcher behavior and UI design" 2019-03-12 02:50:02 +00:00
Kazuya Ohshiro
eb57875f64 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
Merged-In: If9792b0a35c59c1260176b4b2c62107861de73b5
2019-03-12 01:42:09 +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
b54224ef1d Merge "Make settings do nothing if ranking for a card is invalid" 2019-03-12 01:17:33 +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
Fan Zhang
0d093fd1e1 Make settings do nothing if ranking for a card is invalid
Fixes: 124386997
Test: robotests
Change-Id: Ib01c75ec0490cdc034255300a09e8099e05fc389
2019-03-11 16:17:58 -07: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