Commit Graph

48971 Commits

Author SHA1 Message Date
TreeHugger Robot
bc0bfe841e Merge "Add subscriptions list to the multi-network header" 2018-12-17 23:03:42 +00:00
TreeHugger Robot
c86fa1eb2a Merge "Implement receiver flow of WiFi sharing feature II" 2018-12-17 21:38:04 +00:00
Antony Sargent
e92e07eb97 Add subscriptions list to the multi-network header
The new UX for showing multiple active mobile plan subscriptions (SIMs,
eSIMs, etc.)  needs a header at the top of the Network & internet page
that shows wifi status and a list of active mobile subscriptions in the
form of one Preference per subscription.

This CL adds display of the mobile subscriptions to this header. It does
not yet show the correct summary text or do anything when you tap on
them - that will be coming in subsequent CLs. Also, since adding a
variable number of items to the top of the page messes up our current
strategy of having a fixed number of hidden items at the bottom based on
overall item count, this CL just makes all items visible. Subsequent CLs
can restore this behavior with dynamic adjustment.

Bug: 116349402
Test: make RunSettingsRoboTests
Change-Id: Ibfadf8cb61f6f5aff6ce38b7974267b1e4ddc719
2018-12-17 13:26:13 -08:00
Julia Reynolds
18873b9278 Merge "Link to the appropriate config activity for dnd rules" 2018-12-17 21:08:55 +00:00
TreeHugger Robot
91a6c6123f Merge "Migrate packages/apps/Settings to androidx.test" 2018-12-17 19:42:24 +00:00
TreeHugger Robot
cec9f138fc Merge "Add boolean flags to show/hide top-most settings." 2018-12-17 19:38:53 +00:00
TreeHugger Robot
3f5966bb48 Merge "Get enrollment animation from overlay" 2018-12-17 18:15:01 +00:00
Fan Zhang
2f54f0b90e Merge "Fix build failed of Settings test cases while importing AndroidX" 2018-12-17 18:14:01 +00:00
TreeHugger Robot
b11d802d3f Merge "Micro cleanup and refactoring" 2018-12-17 18:04:12 +00:00
Anton Hansson
c90fa88e4d Merge "Make the Settings permission a required module" 2018-12-17 17:31:56 +00:00
Brett Chabot
031dcf5019 Migrate packages/apps/Settings to androidx.test
See go/jetpack-test-android-migration

Test: make checkbuild
Change-Id: If67b124188fd4e303154eb11263d03abfb3718c6
2018-12-17 09:20:05 -08:00
Jason Chiu
93d4993556 Micro cleanup and refactoring
- organize import
- remove unused code in ContextualCardLoaderTest
- refactor CardDatabaseHelper

Test: robotest
Change-Id: I1a5a49bee1c4edb34f1c59f3dbe37cb22f01b0d4
2018-12-17 17:13:08 +08:00
Jason Chiu
7aa7ece7a2 Fix build failed of Settings test cases while importing AndroidX
- API change in AndroidX Preference causes a build breakage
- Apply explicit casting for the new API interface

Test: robotest
Fixes: 121109361
Change-Id: If3e7be9e53c7860252523700d6721ae4956db68a
2018-12-17 16:46:42 +08:00
Josh Hou
008a06cac2 [automerger skipped] Merge "Refine APN fetching logic" am: 765621670b am: 74069bc022
am: ff5d0b0ac6  -s ours

Change-Id: Icc54600a67b20914df9d1112256f2f356ee289b1
2018-12-17 00:41:11 -08:00
Josh Hou
ff5d0b0ac6 Merge "Refine APN fetching logic" am: 765621670b
am: 74069bc022

Change-Id: I372d73a75a7dd2077e39dfc29c66b29b1a3ace65
2018-12-17 00:25:12 -08:00
Josh Hou
74069bc022 Merge "Refine APN fetching logic"
am: 765621670b

Change-Id: Ib0a1dd0b3f944d5a98b71555a48aadacfb228543
2018-12-17 00:16:01 -08:00
Treehugger Robot
765621670b Merge "Refine APN fetching logic" 2018-12-17 08:03:04 +00:00
Josh Hou
e519cd6e68 Refine APN fetching logic
APN fetching logic has been encapsulated in URL_SIM_APN_LIST API in
TelephonyProvider

Bug: 115709816
Test: Live network test
Change-Id: I735bc50e912dfbec0903fbcafdc4d6eaa6ccfc7b
Merged-In: I735bc50e912dfbec0903fbcafdc4d6eaa6ccfc7b
2018-12-17 07:16:50 +00:00
Sunny Shao
6c403a876d Add the contentDescription on avatar icon
Add the talkback saying wordings on avatar icon of the search bar.

Change-Id: I7e41d8bf842c0efae5440520586e88dd746802e7
Fixes: 120097338
Test: manual
2018-12-17 11:50:12 +08:00
TreeHugger Robot
18746a0b35 Merge "Moved data settings to phone" 2018-12-16 04:58:37 +00:00
TreeHugger Robot
c748b6eeef Merge "Make location history package not disableable." 2018-12-15 05:10:30 +00:00
TreeHugger Robot
22f5d27d8f Merge "Set listDivider color for Panels" 2018-12-15 02:56:12 +00:00
Kevin Chyn
9ed7cb40cb Get enrollment animation from overlay
Bug: 111548033

Test: Able to get animation from overlay
Test: atest RunSettingsRoboTests

Change-Id: Ib02f484474b306ba8d61f9be541acb12dd1ecd90
2018-12-14 18:02:54 -08:00
Ben Lin
11f698ba22 Add boolean flags to show/hide top-most settings.
Bug: None
Test: RunSettingsRoboTests
Change-Id: Ib576f5979feda0fa7f573915acffc5065d40095c
2018-12-14 16:00:21 -08:00
Fan Zhang
c76698d90d Merge "Tweak padding for conditional card layout." 2018-12-14 22:51:43 +00:00
TreeHugger Robot
5fce5f498a Merge "Fix app link open mode UI" 2018-12-14 22:42:27 +00:00
Fan Zhang
2fa4b1f7b8 Tweak padding for conditional card layout.
Overall goal is to push button to the left:
- Make a linear layout that contain content, and button
- Apply existing padding to the content only
- Apply a smaller padding to button.

Change-Id: I8f1c586c59be21ff73dd6d08675f76c8ff7addda
Fixes: 120669058
Test: visual
2018-12-14 14:03:08 -08:00
Julia Reynolds
ec84a9367f Link to the appropriate config activity for dnd rules
Test: atest, manual
Bug: 111474881
Change-Id: I0c1d7b14abe3cf65762167f3c412fa8f2be1d842
2018-12-14 14:41:48 -05:00
Cosmo Hsieh
0f95d9c45d Merge "Implement getConfig() method to get WifiConfiguration" 2018-12-14 16:41:04 +00:00
Matthew Fritze
125a366dff Set listDivider color for Panels
Default color for listDividers in dialogs (parent theme for
panels) is @null, so we set the color to match the horizontal
dividers. listDivider is used by slices to set the vertical
divider between the primary action and toggles.

Test: visual-only
Bug: 117804089
Change-Id: I8f89a103c65adfbd1e079b38dc5eaaa3d3b32326
2018-12-14 08:34:21 -08:00
TreeHugger Robot
5156d7d4db Merge "Icon size needs to same in AppRestrictionsFragment" 2018-12-14 10:29:10 +00:00
cosmohsieh
64b894f81d Implement getConfig() method to get WifiConfiguration
Make a duplicated function of WifiConfigController.getConfig(). This
function could get a new WifiConfiguration from input AccessPoint or
ScanResult.
Should be removed if there is standard one in framework.

Bug: 120827021
Test: RunSettingsRoboTests

Change-Id: Ia5981e8d41f434c097b464a2bfe18e1356f7b087
2018-12-14 09:54:34 +00:00
tmfang
8916198af7 Icon size needs to same in AppRestrictionsFragment
- All app icon should be 32dp

Test: visual
Change-Id: I56132c04aa968e27d7152c39a5715ae262627844
Fixes: 119065428
2018-12-14 16:14:55 +08:00
Stanley Wang
3f80d1b64b Implement the Copyable interface to PhoneNumberPreferenceController
Change-Id: I70085cffe13047ac808d1bf08a467f693b1d8737
Fixes: 118398321
Test: manual and robotests
2018-12-14 15:09:34 +08:00
Arc Wang
8ff2852f74 Implement receiver flow of WiFi sharing feature II
Bug: 120630683
Test: atest RunSettingsRoboTests
Change-Id: Iabe56205ff9274382adbe5bba59a60d833a57214
2018-12-14 06:50:26 +00:00
Cosmo Hsieh
d4dfba4237 Merge "Remove bug id for WiFi MAC randomization since feature is ready." 2018-12-14 05:15:48 +00:00
Kevin Chyn
65b489a8b1 Merge "Plumb remove functionality through" 2018-12-14 05:05:27 +00:00
TreeHugger Robot
f6d147fdbf Merge "Exclue Scanning Settings for searchable in ARC." 2018-12-14 03:46:35 +00:00
Vishwath Mohan
6c5c8c04b0 Merge "Add settings to control Extended Access mode." 2018-12-14 03:38:20 +00:00
TreeHugger Robot
6890553acb Merge "Filter status is not retained in App info" 2018-12-14 02:10:56 +00:00
tmfang
046c10ac30 Filter status is not retained in App info
Selected filter is not retained after device orientation changed.

In old design, we only update selected index one time when the
enabled filter(filterType) equals the previous selected filter.
After that, the selected index won't be changed again.

But we sort the filter options every time(Collections.sort) when
we add a new filter. Therefore, it makes all indexes of filters
option could be changed.

For example,
Old filter options => All apps, Personal, Work
Selected index = 1

Add "Intsalled app" option => All apps, Installed app, Personal, Work
Selected filter option becomes "Installed app" but not Personal.

Since we saved previous selected filter option before device
orientation changes, we can check again whether or not the selected
index is previous filter type when we enable any new filter.

Test: manual test, robotest
Fixes: 120798975

Change-Id: I35de186a6a1fae3bd863bd31a6ce3f76861dc896
2018-12-14 02:09:12 +00:00
Kevin Chyn
950f638320 Plumb remove functionality through
Bug: 120981508

Test: manual
Change-Id: I4c9570ee1ed397b48d4948b79bb6f72188735e97
2018-12-13 17:35:36 -08:00
Inseob Kim
9f2728d12b [automerger skipped] Revert "Revert "Schematize vold system properties"" am: 97b0fe0ac6
am: 744a9d1316  -s ours

Change-Id: I3f999817ad57a8ac72a95514794116e004f9263d
2018-12-13 17:13:59 -08:00
Inseob Kim
744a9d1316 Revert "Revert "Schematize vold system properties""
am: 97b0fe0ac6

Change-Id: I8b6e78df6e31500df448addb82bed9d2c11c8fec
2018-12-13 16:14:41 -08:00
Inseob Kim
97b0fe0ac6 Revert "Revert "Schematize vold system properties""
This reverts commit 49e81e0eea.

Reason for revert: Fixed breakage

Change-Id: I414b753a218d9baf3d24530ff14df7644eb148e0
Merged-In: I5f75b15ab792329cdb9bf2dd2e4b42bccb6eb0f3
(cherry picked from commit 8346eb5ccc)
2018-12-13 15:36:39 -08:00
TreeHugger Robot
8c1cfbdf91 Merge "Remove SettingsRobolectricTestRunner" 2018-12-13 23:08:43 +00:00
Xin Li
8920ec68f9 [automerger skipped] Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into master" am: 889a8a3757 -s ours am: a817ea5e80 -s ours
am: e92deab316  -s ours

Change-Id: I596c427de3b27a6b3f323117fbc037a0c000f417
2018-12-13 14:24:53 -08:00
Xin Li
3cc0395e28 [automerger skipped] DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into master am: 419086d8b3 -s ours am: 7768155274 -s ours
am: e21ca76caf  -s ours

Change-Id: I4436b32c366bb62b2a2099d6f817e02cfa8c5927
2018-12-13 13:58:56 -08:00
Xin Li
e92deab316 [automerger skipped] Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into master" am: 889a8a3757 -s ours
am: a817ea5e80  -s ours

Change-Id: Ie235529d9065bdc9f258f91ba8206cda6d96379e
2018-12-13 13:13:47 -08:00
Xin Li
a817ea5e80 [automerger skipped] Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into master"
am: 889a8a3757  -s ours

Change-Id: Ide998fc70c7beb72b1bcf878783a5429268d1aeb
2018-12-13 13:09:45 -08:00