Commit Graph

49300 Commits

Author SHA1 Message Date
TreeHugger Robot
029e9c5da2 Merge "Always save message permission choice" 2018-12-10 02:25:36 +00:00
Cn Chen
258f065e2c Merge "migrate new setupcompat and setupdesign to SetupChooseLockGeneric" 2018-12-10 01:45:28 +00:00
Tim Van Patten
70dc967352 Merge "Update ANGLE Developer Options" 2018-12-08 22:57:34 +00:00
Yanting Yang
327c9a0871 Merge "Add pair new device to ConnectedDeviceSlice" 2018-12-08 15:45:35 +00:00
Yanting Yang
84b3035b21 Add pair new device to ConnectedDeviceSlice
Show "Pair new device" when the number of devices is less than 3.

Bug: 114807655
Test: visual, robotest
Change-Id: Ia8dbff163d758bb077d4960616d1c6538c04aebb
2018-12-08 21:02:26 +08:00
TreeHugger Robot
ae40f0018c Merge "Update scanning settings to show states in summary" 2018-12-08 09:32:19 +00:00
TreeHugger Robot
625646a55c Merge "Add a helper class for filtering available subscriptions" 2018-12-08 01:13:24 +00:00
TreeHugger Robot
31c24d842f Merge "Modified the shadow of the search bar" 2018-12-08 00:51:18 +00:00
Lifu Tang
bee747173f Update scanning settings to show states in summary
Bug: 120220144
Test: build, flash, and test manually
Change-Id: I913d93c2f41e5ffea1d0b9c00d519eba327a0832
2018-12-07 16:11:53 -08:00
Antony Sargent
b33f74192c Add a helper class for listening to subscription and airplane mode changes
For the new multi subscriptions UX, in several places we need to listen
for both subscription changes (eg a sim card was inserted or removed),
as well as airplane mode changing state. This combines those in one
helper class that can be reused.

Bug: 116349402
Test: make RunSettingsRoboTests
Change-Id: Ibcbb669ae291a917f89735dbda043742efaa58c9
2018-12-07 15:40:00 -08:00
Antony Sargent
270296ea23 Add a helper class for filtering available subscriptions
In several places implementing the new changes for better UX with
multiple mobile subscriptions, we need a bit of code that filters the
results coming from the SubscriptionManager. This CL adds that common
code in a util class that will be used in later CLs.

Bug: 116349402
Test: RunSettingsRoboTests
Change-Id: Ie9376629604ac2c4a2f15123edc380c5999f2f83
2018-12-07 13:40:28 -08:00
Tim Van Patten
50f700f1d6 Update ANGLE Developer Options
Update ANGLE developer options to allow selecting the OpenGL driver
(default, ANGLE, native) for each app as well as forcing ANGLE for all
apps.

The settings are also being moved from within the Android settings (here)
to the ANGLE APK, so they can be updated more quickly/easily.

Bug: 118384925
Test: Verify the default/ANGLE/native values are saved and applied and
used by the loader.

Change-Id: Ide449704dd703657bd316231987a07becf8699c9
2018-12-07 21:06:32 +00:00
Fan Zhang
3e107469aa Add a loading text when waiting for wifitracker results
- When there is no result from background worker, a "scanning" text is
displayed instead of a totally empty card.

- Also cleaned up a few minor coding style issues

Change-Id: I73afdb1dd72e7accb387ad9aa493cfbe00bffe66
Fixes: 120051186
Test: robotests
2018-12-07 12:48:31 -08:00
Sunny Shao
5eec4ef7a9 Modified the shadow of the search bar
Modified the SearchBarStyle and added cardElevation and
enforceMaterialTheme attributes.

Bug: 118886724
Test: manual
Change-Id: If9f39ee5dcc85d837036391ae92aeedd6aea4ab6
2018-12-08 04:19:51 +08:00
TreeHugger Robot
34668b6494 Merge "Don't plot usage data beyond current date." 2018-12-07 19:24:43 +00:00
TreeHugger Robot
c8580f3a36 Merge "Update the strings of conditional card" 2018-12-07 17:08:19 +00:00
TreeHugger Robot
a0d2adf198 Merge "Reload data if slice binding returns null at rendering time." 2018-12-07 17:02:11 +00:00
Anthony Stange
c7a5a2f39a Merge "Revert "Schematize vold system properties"" am: 94ef16b6e3
am: a35a0418c1

Change-Id: I7ca5d4d85897ac4d2d851c05b9f69c986f6a662a
2018-12-07 04:38:25 -08:00
Anthony Stange
a35a0418c1 Merge "Revert "Schematize vold system properties""
am: 94ef16b6e3

Change-Id: If9a59cfa4939e3ef2cdc7c50e0151c33c58b24aa
2018-12-07 04:30:15 -08:00
Anthony Stange
94ef16b6e3 Merge "Revert "Schematize vold system properties"" 2018-12-07 12:04:56 +00:00
Anthony Stange
49e81e0eea Revert "Schematize vold system properties"
This reverts commit e6baedd917.

Reason for revert: Breaking aosp_master build

Change-Id: I7b171441196326391972cb0b0c45bf11a04f6f1b
2018-12-07 11:44:10 +00:00
Mill Chen
1312a2b13e Update the strings of conditional card
Bug: 113451905
Test: visual
Change-Id: Ie863855eff5a6a23f28b899809e5216c129fb448
2018-12-07 17:06:54 +08:00
TreeHugger Robot
978aaad16f Merge "Log contextual card is visible and homepage is displayed event" 2018-12-07 04:11:45 +00:00
Leon Liao
d9c4044722 Fix content timeout item misorder in Display category in A11y Settings
A11y Content timeout item is disordered by program while device supports HWC
accelerated color transform. Add code to fix its order with present resource order.

Bug: 119283926
Test: atest AccessibilitySettingsTest
Test: make RunSettingsRoboTests
Change-Id: I5e8bff2347353d2c4fe9aa550d7efaa613bf2a90
2018-12-07 11:08:43 +08:00
Inseob Kim
09272dabf9 [automerger skipped] Merge "Schematize vold system properties" am: 8cf17f7234 am: 09a7954114
am: cd614a097e  -s ours

Change-Id: I2ba852d7747964f530d9616c0eabcd25f211ae0b
2018-12-06 19:04:50 -08:00
Inseob Kim
cd614a097e Merge "Schematize vold system properties" am: 8cf17f7234
am: 09a7954114

Change-Id: I1a42e00ad024b471bcc51d8e0ef0f50fea34fcbe
2018-12-06 18:43:16 -08:00
Inseob Kim
09a7954114 Merge "Schematize vold system properties"
am: 8cf17f7234

Change-Id: I6d9782dfc2cd54f6620c226d37ca3e81dc19647f
2018-12-06 18:14:00 -08:00
TreeHugger Robot
b8f00fa1ac Merge "Show reboot dialog when tunring off developer option" 2018-12-07 02:05:41 +00:00
Yi-Ling Chuang
ddfc085f2b Reload data if slice binding returns null at rendering time.
We are not able to guarantee the binding results in the pre-check and
real binding would always be the same sinc slice may decide what it
would be based on some conditions. Hence, we should reload data and
refresh UI when it comes to null to prevent from blank suggestion.

Bug: 120221527
Test: visual
Change-Id: I79790edfe7fc3af7b9c3b3a7df6a7ffa7d405d50
2018-12-07 09:54:15 +08:00
Treehugger Robot
8cf17f7234 Merge "Schematize vold system properties" 2018-12-07 01:46:45 +00:00
cosmohsieh
38a574173e Rename wifi/NetworkRequestTimeoutDialogFragment to wifi/NetworkRequestErrorDialogFragment for extending usage.
ErrorDialogFragment contains two kinds of error dialog (timeout and onAbort).

Bug: 117399926
Test: RunSettingsRoboTests
Change-Id: Iea82a53baba298de66ae988c75d9fb6daca60160
2018-12-07 01:44:52 +00:00
Doris Ling
8727a40893 Don't plot usage data beyond current date.
- the new data usage api returns buckets for future date with 0 usage.
When we plot the data usage chart, need to check the bucket date to make
sure we only plot points up to the current date.

Change-Id: I50e161ca9cdbb30c8fda8f6cdd24c993b546ad0d
Fixes: 120490567
Test: make RunSettingsRoboTests
2018-12-06 17:12:05 -08:00
Raff Tsai
e58e0c6e0e Log contextual card is visible and homepage is displayed event
Bug: 79698338
Test: Robolectric
Change-Id: I89ac5ed2765729d8571e84d3a050f0aa07385caa
2018-12-07 09:00:05 +08:00
Chen Xu
05e14a3de7 [automerger skipped] Merge "address API council feedbacks for Telephony.Carriers" am: 71f9fe4dfa am: 1bf36a6a72
am: 62dc239377  -s ours

Change-Id: I531e7043cb7a385893ede9b27f25f7eabc6bca8a
2018-12-06 16:57:04 -08:00
Chen Xu
62dc239377 Merge "address API council feedbacks for Telephony.Carriers" am: 71f9fe4dfa
am: 1bf36a6a72

Change-Id: I9775826417d2df6284bf0273b48c3a9814a01cf4
2018-12-06 16:39:36 -08:00
Chen Xu
1bf36a6a72 Merge "address API council feedbacks for Telephony.Carriers"
am: 71f9fe4dfa

Change-Id: I834e4f1fe9457af586a0fe7856c4ab351a4b26a3
2018-12-06 16:19:11 -08:00
TreeHugger Robot
e4128eca14 Merge "Allow appending static preferences to RadioButtonPickerFragment" 2018-12-06 23:57:39 +00:00
Christopher Tate
e30a1833f7 Fix app link open mode UI
The app link open mode UI misrepresented some states; notably, it
was representing the 'ask' state as the 'always use this app' state.
This had the effect of implicitly pushing the app into 'always'
accidentally, as a consequence of setting the UI to that initial
state, then re-evaluating on exit against the true state.

Bug: 32810168
Test: run cts -m CtsOsHostTestCases
Test: manual
Change-Id: Ifb9d7ad0140fae5fa75a4b78b01301b196a48d10
2018-12-06 23:48:49 +00:00
Doris Ling
985d85e8c1 Merge "Add search to app info list." 2018-12-06 22:39:27 +00:00
TreeHugger Robot
a5cafaad3a Merge "Catch error when we fail to get slice icon." 2018-12-06 22:25:48 +00:00
Salvador Martinez
42e9d26635 Allow appending static preferences to RadioButtonPickerFragment
This makes it so that static preferences can also be added after
the candidates so they can show up on the bottom of the screen.
This is done via a new xml tag for the preference screen that
is usually mostly empty that RaiodButtonPickerFragments use

Test: robotests
Bug: 111450127
Change-Id: I0fe2f480f0ff59b9bf9269e94b33ab4b008b47b8
2018-12-06 14:03:08 -08:00
Chen Xu
71f9fe4dfa Merge "address API council feedbacks for Telephony.Carriers" 2018-12-06 21:45:47 +00:00
Fan Zhang
69a56b42a1 Catch error when we fail to get slice icon.
Change-Id: Ia8bdf1ef8a090d2f939abf27b2308eafde7d8928
Fixes: 120588243
Test: robotests
2018-12-06 12:21:44 -08:00
Chen Xu
f80e5b561e Merge "address API council feedbacks for Telephony.Carriers" 2018-12-06 20:11:18 +00:00
Antony Sargent
2b0c991efc Merge "Layout changes in v2 Network & internet page" 2018-12-06 18:55:42 +00:00
Fan Zhang
fec2c738ef Merge "Correct metrics category in ConnectedDeviceSlice" 2018-12-06 17:59:30 +00:00
TreeHugger Robot
3884c909d0 Merge "Update a11y timeout UI" 2018-12-06 17:17:17 +00:00
Beverly Tai
05f2e476e4 Merge "Update DND strings" 2018-12-06 14:09:02 +00:00
Leon Liao
064600b912 Update a11y timeout UI
Update UI with moving descriptive text to bottom(FooterPreference) and
adding video controller.

Test: atest AccessibilityTimeoutControllerTest
Test: make RunSettingsRoboTests
Test: atest UniquePreferenceTest
Change-Id: Ib3d4a88aa633539691ea902f6d41ceb55b55caef
2018-12-06 14:08:53 +00:00
TreeHugger Robot
f4140cd585 Merge "Disable scrollbar of the button in conditional card" 2018-12-06 11:44:24 +00:00