Commit Graph

50380 Commits

Author SHA1 Message Date
Oscar Shu
f6d9989a91 Merge "Change feature flag to correct flag" 2019-03-14 20:12:41 +00:00
TreeHugger Robot
0e08cfa095 Merge "Reduce scope for some methods in SliceFeatureProvider" 2019-03-14 19:15:49 +00:00
TreeHugger Robot
0dbefb0000 Merge "Disable avatar and contextual cards on low ram devices." 2019-03-14 16:59:59 +00:00
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
xshu
900465fde7 Change feature flag to correct flag
Sorry, I provided the wrong flag that was supposed to be fore p2p MAC
randomization. Changing to the correct flag now.

Bug: 127817791
Test: compile
Change-Id: I46828e17411372c5e347b4fd17d853fe95f024a4
2019-03-13 16:37:25 -07:00
Fan Zhang
6120d57cbc Reduce scope for some methods in SliceFeatureProvider
Bug: 123937830
Test: rebuild
Change-Id: I62db60e8313fc94324b476642fe27a215b76b33d
2019-03-13 15:33:52 -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
Fan Zhang
d482da51e5 Disable avatar and contextual cards on low ram devices.
Fixes: 124127763
Test: robotest & manually inspected hprof
Change-Id: I8d328b782a9b1871b76edf433d2378d06face14a
2019-03-13 14:04:35 -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