Commit Graph

48785 Commits

Author SHA1 Message Date
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
Yanting Yang
bd8374fb26 Merge "Fix deep link issue of Slice cards in home page" 2018-12-06 09:56:19 +00:00
TreeHugger Robot
82d5a9afda Merge "Added FloatingAppBarScrollingViewBehavior" 2018-12-06 09:47:49 +00:00
TreeHugger Robot
97a6c1f4a4 Merge "Stop observing a slice view when a slice is dismissed." 2018-12-06 06:36:23 +00:00
Sunny Shao
2f7f14f08c Added FloatingAppBarScrollingViewBehavior
-Added FloatingAppBarScrollingViewBehavior for search bar. It can be scolling,
 transparent and overlapped the scrolling child view.
-Exchanged the position of NestedScrollView and AppBarLayout in
 settings_homepage_container.xml.
-Set the app bar height.

Change-Id: I6ef4c9001a1f893292fcbc825a0a9f2069b7286b
Fixes: 118886724
Test: robotest
2018-12-06 14:24:49 +08:00
Xiangyu/Malcolm Chen
c8b7207edb Merge "Only enable data for one SIM in DSDS." 2018-12-06 01:25:07 +00:00
Malcolm Chen
42055cbe50 Only enable data for one SIM in DSDS.
Only enable mobile data for one SIM for simplicity. Which means When
turning on mobile data on non-default sub, pop a notification to user
that it will turn off data of the other one.

Bug: 120515679
Test: manual and unittest
Change-Id: I7c190bb70d771b7f280c246038a380e4fc7338a3
2018-12-06 01:24:58 +00:00
TreeHugger Robot
5923b3d677 Merge "Make a few custom slices implement CustomSliceable." 2018-12-06 01:14:24 +00:00
Fan Zhang
d7fa2fa64e Make a few custom slices implement CustomSliceable.
Bug: 80263568
Test: robotests, slice-browser
Change-Id: Id809a347d77448917154c2d1144fd2517e70829a
2018-12-05 15:47:14 -08:00
TreeHugger Robot
4e681c1586 Merge "Fix manual certificate installation" 2018-12-05 22:43:24 +00:00
Beverly
fdebb9632b Update DND strings
Fixes: 120497233
Bug: 111475013
Test: manually flash and check strings
Test: make RunSettingsRoboTests -j40
Change-Id: I0a8971226a485f8ec41d83c167e51dac1a9c8107
2018-12-05 17:13:49 -05:00
TreeHugger Robot
bccad4abd8 Merge "Reset dismissal UI to the baseline when exiting the page." 2018-12-05 18:32:51 +00:00
Christine Franks
c4be214f47 Merge "Move color management check to ColorDisplayManager" 2018-12-05 16:29:51 +00:00
Mill Chen
6020a3da1e Disable scrollbar of the button in conditional card
The scrollbar of the button will be enabled if changing font size
to large or above. It is fixed by disabling scrollbar of the button.

Change-Id: Ia66afac962c7b0d431007382dc6a2c7456fc915d
Fixes: 120085679
Test: visual, rebuild
2018-12-05 21:36:22 +08:00
Yanting Yang
66b2b91d72 Fix deep link issue of Slice cards in home page
Add setData(uri) back to intent to fix deep link launching error.

Change-Id: Ibffce43ddeb9a1388d001515d8d3b320c5b45520
Fixes: 120473478
Test: robotests, visual
2018-12-05 21:10:47 +08:00
Yanting Yang
7b0dc688c2 Correct metrics category in ConnectedDeviceSlice
The used category METRICS_CATEGORY_UNKNOWN in Bluetooth detail intent is
not matched. Correct the category to BLUETOOTH_DEVICE_DETAILS.

Bug: 114807655
Test: robotest
Change-Id: I941db81164ac2b3a09b6d3c0d97f14c5e65fb6ed
2018-12-05 19:03:56 +08:00
Eran Messeri
ca2291cc30 Fix manual certificate installation
Fix a bug where, when the user manually imports a certificate + key into
KeyChain, the imported certificate would sometimes not be marked as
user-selectable and so the user would not see it when
KeyChaine.choosePrivateKeyAlias was called.

The cause was the async task for marking the key as user-selectable
sometimes executing after the activity for installing the certificate
has terminated, leading it to try and interact with an
already-terminated KeyChain service.

The fix is to call the activity's finish() method only after the key is
marked as user-selectable.

Test: Manual, using CtsVerifier KeyChain Storage test.
Bug: 116716944
Change-Id: I23832ff7b609d7c609e734af48e9a0642f1df527
2018-12-05 10:05:29 +00:00
Yi-Ling Chuang
72e54c8f85 Stop observing a slice view when a slice is dismissed.
In order to receive updates of slices, we make sliceLiveData observes
slice views. When a slice is dismissed, it should stop observing
the view so the view can be recycled and reused.

Fixes: 120465506
Test: robotests
Change-Id: Ie4f12e9a3e6e0e7d59d3346ab17282707047bf16
2018-12-05 13:52:11 +08:00
TreeHugger Robot
e8ac1019db Merge "Modify proto" 2018-12-05 05:37:14 +00:00
Yi-Ling Chuang
2efa93460c Reset dismissal UI to the baseline when exiting the page.
Flip the card back to slice view if users exit the page instead of
getting the dismissal UI preserved. We should also reset the UI to the baseline
if users dismiss a card, so when the view is reused, slice view can
then be displayed correctly.

Change-Id: If5448c57dec44ef5c1d3472358d4ddc9398538b8
Fixes: 119820168
Test: robotests
2018-12-05 11:58:34 +08:00
TreeHugger Robot
8df1f9384e Merge "Add action/ or intent/ to all custom slice uri path." 2018-12-05 02:00:25 +00:00
Leon Liao
15cdfc4ec2 Merge "Add summary with accessibility timeout item" 2018-12-05 00:30:38 +00:00
Raff Tsai
56d304ea0b Modify proto
Add a field about contextual card score

Change-Id: I52b660801e317112673ada2f449709239a8b3c12
Bug: 79698338
Test: Robolectric
2018-12-05 08:15:17 +08:00
Fan Zhang
8a4d854603 Add action/ or intent/ to all custom slice uri path.
Test: rebuild, robotests
Change-Id: Ibb4a071cffb458a9f871aa11ff2737cd40328574
2018-12-04 16:07:40 -08:00
TreeHugger Robot
5a95813df9 Merge "Schematize vold system properties" 2018-12-05 00:00:42 +00:00
TreeHugger Robot
b6323b9608 Merge "Set slice uri as data in PendingIntent." 2018-12-04 23:24:28 +00:00
Leon Liao
2457f46fa8 Add summary with accessibility timeout item
Add summary with accessibility timeout item in Accessibility
Settings. This summary describe its level to time limit of
Accessibility timeout feature.

Bug: 119283926
Test: atest AccessibilitySettingsTest
Test: atest AccessibilityTimeoutControllerTest
Test: make RunSettingsRoboTests
Change-Id: I86c096e6f4adb62150e1ff2af4c22afac240b41e
2018-12-05 05:35:54 +08:00
Fan Zhang
66d4f77d2e Set slice uri as data in PendingIntent.
Presenter needs to disambigue multiple slice action PendingIntents, just
setting extra is not enough.

Bug: 117445451
Test: manual
Change-Id: I26e10bc064585e241def72e6b5194c117a9ebc16
2018-12-04 13:21:24 -08:00
Fan Zhang
e994d4665d Fix crash when dynamic_homepage flag is off.
This partially rolls back ag/5650901. We should revert this change when
dynamic_homepage flag is permanently on.

Change-Id: I5e340421d04bc20c77dd30395fd8522693807954
Fixes: 118444000
Test: manual
2018-12-04 13:05:47 -08:00
Doris Ling
282a0d9222 Remove "v2" from the data usage version 2 code.
Change-Id: I8ede82029194d1a9a43d00a3de7ec1a8dd77d978
Fixes: 117420679
Test: make RunSettingsRoboTests
2018-12-04 18:24:37 +00:00
Fan Zhang
d3ad570818 Merge "Make migrate option menu invisible when src volume is not mounted" am: 6db9f21256 am: b084c60686
am: 4036866211

Change-Id: I25f21e3c176e225db6900d3c93b6a8860e701061
2018-12-04 10:15:02 -08:00
Fan Zhang
4036866211 Merge "Make migrate option menu invisible when src volume is not mounted" am: 6db9f21256
am: b084c60686

Change-Id: Ia3990dc8fa2c73079b997bda0e1656d173c65212
2018-12-04 10:10:50 -08:00
Fan Zhang
b084c60686 Merge "Make migrate option menu invisible when src volume is not mounted"
am: 6db9f21256

Change-Id: Ie4ca0c854de854172a0eccf4e56ec86a8e18d71c
2018-12-04 10:01:10 -08:00
TreeHugger Robot
1470ee6262 Merge "Remove data usage v1 code." 2018-12-04 17:53:30 +00:00
Fan Zhang
6db9f21256 Merge "Make migrate option menu invisible when src volume is not mounted" 2018-12-04 17:33:33 +00:00
Fan Zhang
9bb4e0075f Merge "Set the color primary variant for material design" 2018-12-04 17:15:32 +00:00
Sunny Shao
da01c0fc91 Set the color primary variant for material design
Added the color of the colorPrimaryVariant to avoid the run time exception
while load the MaterialCardView resource.
Modified the test case for the new version material design library.

Bug: 118886724
Test: robotest
Change-Id: I55791b8eef2263587b2ae3d7a2f5b9da9929fc9a
2018-12-04 17:52:27 +08:00
Arc Wang
32ee158e2a Merge "Use multiple actions to launch Wi-Fi DPP configurator with different mode." 2018-12-04 09:23:47 +00:00
Yanting Yang
c28cc9dbe8 Merge "Update the card behavior of Low Storage slice" 2018-12-04 06:06:46 +00:00
Stanley Wang
d4a3492422 Merge "Fix top level "Gestures" not appearing in search result" 2018-12-04 05:56:01 +00:00
Yanting Yang
d0a9103855 Update the card behavior of Low Storage slice
If used storage >= 85%, show low storage slice to all clients. Else, a
generic storage slice with error flag will be given. Home page will
check error flag in loading eligible cards.

Bug: 114808204
Test: robotests, visual
Change-Id: I757c46b3bbff785dc112fec6bdc37e5ce9269ed8
2018-12-04 12:13:21 +08:00
Arc Wang
e43bb77e5d Use multiple actions to launch Wi-Fi DPP configurator with different mode.
Bug: 118797380
Bug: 118794858
Test: atest WifiDppConfiguratorActivityTest
      atest WifiDppQrCodeScannerFragmentTest
      atest atest RunSettingsRoboTests

Change-Id: I96aba3c5e3d57c89d6948d3bf3dd85f29f705778
2018-12-04 11:46:37 +08:00
tmfang
72b25d65d3 Add an open button in App info page.
Per new UX, we need to add an "Open" button
in App info page. When user clicks this button,
it will launch application.

Test: visual, robotest
Bug: 116346008
Change-Id: Ic4a36979d08bf8d58f792474cd3c9b34a147fef8
2018-12-04 10:44:13 +08:00
Cosmo Hsieh
5674e02732 Merge "Create WiFi MAC randomization icon" 2018-12-04 02:07:44 +00:00
TreeHugger Robot
3645640904 Merge "Update Zen Automatic Rule Settings page" 2018-12-04 00:42:00 +00:00
TreeHugger Robot
fc702974ba Merge "Add EnterprisePrivacySettings as injectable category" 2018-12-03 23:48:36 +00:00