OSDN Git Service

android-x86/packages-apps-Settings.git
5 years agoMerge "Correct metrics category in ConnectedDeviceSlice"
Fan Zhang [Thu, 6 Dec 2018 17:59:30 +0000 (17:59 +0000)]
Merge "Correct metrics category in ConnectedDeviceSlice"

5 years agoMerge "Update a11y timeout UI"
TreeHugger Robot [Thu, 6 Dec 2018 17:17:17 +0000 (17:17 +0000)]
Merge "Update a11y timeout UI"

5 years agoMerge "Update DND strings"
Beverly Tai [Thu, 6 Dec 2018 14:09:02 +0000 (14:09 +0000)]
Merge "Update DND strings"

5 years agoUpdate a11y timeout UI
Leon Liao [Thu, 6 Dec 2018 08:39:09 +0000 (16:39 +0800)]
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

5 years agoMerge "Disable scrollbar of the button in conditional card"
TreeHugger Robot [Thu, 6 Dec 2018 11:44:24 +0000 (11:44 +0000)]
Merge "Disable scrollbar of the button in conditional card"

5 years agoMerge "Fix deep link issue of Slice cards in home page"
Yanting Yang [Thu, 6 Dec 2018 09:56:19 +0000 (09:56 +0000)]
Merge "Fix deep link issue of Slice cards in home page"

5 years agoMerge "Added FloatingAppBarScrollingViewBehavior"
TreeHugger Robot [Thu, 6 Dec 2018 09:47:49 +0000 (09:47 +0000)]
Merge "Added FloatingAppBarScrollingViewBehavior"

5 years agoMerge "Stop observing a slice view when a slice is dismissed."
TreeHugger Robot [Thu, 6 Dec 2018 06:36:23 +0000 (06:36 +0000)]
Merge "Stop observing a slice view when a slice is dismissed."

5 years agoAdded FloatingAppBarScrollingViewBehavior
Sunny Shao [Wed, 5 Dec 2018 08:10:00 +0000 (16:10 +0800)]
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

5 years agoMerge "Only enable data for one SIM in DSDS."
Xiangyu/Malcolm Chen [Thu, 6 Dec 2018 01:25:07 +0000 (01:25 +0000)]
Merge "Only enable data for one SIM in DSDS."

5 years agoOnly enable data for one SIM in DSDS.
Malcolm Chen [Wed, 5 Dec 2018 20:48:00 +0000 (12:48 -0800)]
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

5 years agoMerge "Make a few custom slices implement CustomSliceable."
TreeHugger Robot [Thu, 6 Dec 2018 01:14:24 +0000 (01:14 +0000)]
Merge "Make a few custom slices implement CustomSliceable."

5 years agoMake a few custom slices implement CustomSliceable.
Fan Zhang [Wed, 5 Dec 2018 22:42:53 +0000 (14:42 -0800)]
Make a few custom slices implement CustomSliceable.

Bug: 80263568
Test: robotests, slice-browser
Change-Id: Id809a347d77448917154c2d1144fd2517e70829a

5 years agoMerge "Fix manual certificate installation"
TreeHugger Robot [Wed, 5 Dec 2018 22:43:24 +0000 (22:43 +0000)]
Merge "Fix manual certificate installation"

5 years agoUpdate DND strings
Beverly [Wed, 5 Dec 2018 17:33:02 +0000 (12:33 -0500)]
Update DND strings

Fixes: 120497233
Bug: 111475013
Test: manually flash and check strings
Test: make RunSettingsRoboTests -j40
Change-Id: I0a8971226a485f8ec41d83c167e51dac1a9c8107

5 years agoMerge "Reset dismissal UI to the baseline when exiting the page."
TreeHugger Robot [Wed, 5 Dec 2018 18:32:51 +0000 (18:32 +0000)]
Merge "Reset dismissal UI to the baseline when exiting the page."

5 years agoMerge "Move color management check to ColorDisplayManager"
Christine Franks [Wed, 5 Dec 2018 16:29:51 +0000 (16:29 +0000)]
Merge "Move color management check to ColorDisplayManager"

5 years agoDisable scrollbar of the button in conditional card
Mill Chen [Wed, 5 Dec 2018 13:07:06 +0000 (21:07 +0800)]
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

5 years agoFix deep link issue of Slice cards in home page
Yanting Yang [Wed, 5 Dec 2018 13:10:47 +0000 (21:10 +0800)]
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

5 years agoCorrect metrics category in ConnectedDeviceSlice
Yanting Yang [Tue, 4 Dec 2018 14:57:07 +0000 (22:57 +0800)]
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

5 years agoFix manual certificate installation
Eran Messeri [Tue, 4 Dec 2018 12:31:05 +0000 (12:31 +0000)]
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

5 years agoStop observing a slice view when a slice is dismissed.
Yi-Ling Chuang [Tue, 4 Dec 2018 09:44:04 +0000 (17:44 +0800)]
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

5 years agoMerge "Modify proto"
TreeHugger Robot [Wed, 5 Dec 2018 05:37:14 +0000 (05:37 +0000)]
Merge "Modify proto"

5 years agoReset dismissal UI to the baseline when exiting the page.
Yi-Ling Chuang [Thu, 29 Nov 2018 10:27:56 +0000 (18:27 +0800)]
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

5 years agoMerge "Add action/ or intent/ to all custom slice uri path."
TreeHugger Robot [Wed, 5 Dec 2018 02:00:25 +0000 (02:00 +0000)]
Merge "Add action/ or intent/ to all custom slice uri path."

5 years agoMerge "Add summary with accessibility timeout item"
Leon Liao [Wed, 5 Dec 2018 00:30:38 +0000 (00:30 +0000)]
Merge "Add summary with accessibility timeout item"

5 years agoModify proto
Raff Tsai [Wed, 5 Dec 2018 00:12:35 +0000 (08:12 +0800)]
Modify proto

Add a field about contextual card score

Change-Id: I52b660801e317112673ada2f449709239a8b3c12
Bug: 79698338
Test: Robolectric

5 years agoAdd action/ or intent/ to all custom slice uri path.
Fan Zhang [Wed, 5 Dec 2018 00:07:40 +0000 (16:07 -0800)]
Add action/ or intent/ to all custom slice uri path.

Test: rebuild, robotests
Change-Id: Ibb4a071cffb458a9f871aa11ff2737cd40328574

5 years agoMerge "Schematize vold system properties"
TreeHugger Robot [Wed, 5 Dec 2018 00:00:42 +0000 (00:00 +0000)]
Merge "Schematize vold system properties"

5 years agoMerge "Set slice uri as data in PendingIntent."
TreeHugger Robot [Tue, 4 Dec 2018 23:24:28 +0000 (23:24 +0000)]
Merge "Set slice uri as data in PendingIntent."

5 years agoAdd summary with accessibility timeout item
Leon Liao [Thu, 29 Nov 2018 14:54:07 +0000 (22:54 +0800)]
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

5 years agoSet slice uri as data in PendingIntent.
Fan Zhang [Tue, 4 Dec 2018 21:21:24 +0000 (13:21 -0800)]
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

5 years agoFix crash when dynamic_homepage flag is off.
Fan Zhang [Tue, 4 Dec 2018 20:43:14 +0000 (12:43 -0800)]
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

5 years agoRemove "v2" from the data usage version 2 code.
Doris Ling [Sat, 1 Dec 2018 00:20:32 +0000 (16:20 -0800)]
Remove "v2" from the data usage version 2 code.

Change-Id: I8ede82029194d1a9a43d00a3de7ec1a8dd77d978
Fixes: 117420679
Test: make RunSettingsRoboTests

5 years agoMerge "Make migrate option menu invisible when src volume is not mounted" am: 6db9f21...
Fan Zhang [Tue, 4 Dec 2018 18:15:02 +0000 (10:15 -0800)]
Merge "Make migrate option menu invisible when src volume is not mounted" am: 6db9f21256 am: b084c60686
am: 4036866211

Change-Id: I25f21e3c176e225db6900d3c93b6a8860e701061

5 years agoMerge "Make migrate option menu invisible when src volume is not mounted" am: 6db9f21256
Fan Zhang [Tue, 4 Dec 2018 18:10:50 +0000 (10:10 -0800)]
Merge "Make migrate option menu invisible when src volume is not mounted" am: 6db9f21256
am: b084c60686

Change-Id: Ia3990dc8fa2c73079b997bda0e1656d173c65212

5 years agoMerge "Make migrate option menu invisible when src volume is not mounted"
Fan Zhang [Tue, 4 Dec 2018 18:01:10 +0000 (10:01 -0800)]
Merge "Make migrate option menu invisible when src volume is not mounted"
am: 6db9f21256

Change-Id: Ie4ca0c854de854172a0eccf4e56ec86a8e18d71c

5 years agoMerge "Remove data usage v1 code."
TreeHugger Robot [Tue, 4 Dec 2018 17:53:30 +0000 (17:53 +0000)]
Merge "Remove data usage v1 code."

5 years agoMerge "Make migrate option menu invisible when src volume is not mounted"
Fan Zhang [Tue, 4 Dec 2018 17:33:33 +0000 (17:33 +0000)]
Merge "Make migrate option menu invisible when src volume is not mounted"

5 years agoMerge "Set the color primary variant for material design"
Fan Zhang [Tue, 4 Dec 2018 17:15:32 +0000 (17:15 +0000)]
Merge "Set the color primary variant for material design"

5 years agoSet the color primary variant for material design
Sunny Shao [Mon, 3 Dec 2018 11:12:31 +0000 (19:12 +0800)]
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

5 years agoMerge "Use multiple actions to launch Wi-Fi DPP configurator with different mode."
Arc Wang [Tue, 4 Dec 2018 09:23:47 +0000 (09:23 +0000)]
Merge "Use multiple actions to launch Wi-Fi DPP configurator with different mode."

5 years agoMerge "Update the card behavior of Low Storage slice"
Yanting Yang [Tue, 4 Dec 2018 06:06:46 +0000 (06:06 +0000)]
Merge "Update the card behavior of Low Storage slice"

5 years agoMerge "Fix top level "Gestures" not appearing in search result"
Stanley Wang [Tue, 4 Dec 2018 05:56:01 +0000 (05:56 +0000)]
Merge "Fix top level "Gestures" not appearing in search result"

5 years agoUpdate the card behavior of Low Storage slice
Yanting Yang [Wed, 28 Nov 2018 11:22:50 +0000 (19:22 +0800)]
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

5 years agoUse multiple actions to launch Wi-Fi DPP configurator with different mode.
Arc Wang [Mon, 3 Dec 2018 09:16:55 +0000 (17:16 +0800)]
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

5 years agoAdd an open button in App info page.
tmfang [Thu, 29 Nov 2018 15:35:26 +0000 (23:35 +0800)]
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

5 years agoMerge "Create WiFi MAC randomization icon"
Cosmo Hsieh [Tue, 4 Dec 2018 02:07:44 +0000 (02:07 +0000)]
Merge "Create WiFi MAC randomization icon"

5 years agoMerge "Update Zen Automatic Rule Settings page"
TreeHugger Robot [Tue, 4 Dec 2018 00:42:00 +0000 (00:42 +0000)]
Merge "Update Zen Automatic Rule Settings page"

5 years agoMerge "Add EnterprisePrivacySettings as injectable category"
TreeHugger Robot [Mon, 3 Dec 2018 23:48:36 +0000 (23:48 +0000)]
Merge "Add EnterprisePrivacySettings as injectable category"

5 years agoAdd EnterprisePrivacySettings as injectable category
Alex Chau [Mon, 3 Dec 2018 16:21:03 +0000 (16:21 +0000)]
Add EnterprisePrivacySettings as injectable category

- Also add order for EnterprisePrivacySettings manifest

Bug: 120414731
Test: make RunSettingsRoboTests ROBOTEST_FILTER=DashboardFragmentRegistryTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=EnterprisePrivacySettingsTest
Change-Id: I30b555873aad66aa1432ae8ebb11417ddf237a07

5 years agoMerge "Add Volume panel"
TreeHugger Robot [Mon, 3 Dec 2018 21:09:47 +0000 (21:09 +0000)]
Merge "Add Volume panel"

5 years agoAdd Volume panel
Matthew Fritze [Fri, 30 Nov 2018 22:29:45 +0000 (14:29 -0800)]
Add Volume panel

Volume panel hosts each volume stream, including:
- Media volume
- Call Volume
- Ring volume
- Alarm volume

Change-Id: I1801d10d2304c57615e9499386c638c74ffcd7c3
Screenshot: https://screenshot.googleplex.com/m764j65ECto
Bug: 117804161
Test: Manual app
Test: robolectric

5 years agoUpdate Zen Automatic Rule Settings page
Beverly [Tue, 27 Nov 2018 21:56:38 +0000 (16:56 -0500)]
Update Zen Automatic Rule Settings page

Test: atest ZenModeBackend
Test: make RunSettingsRoboTests
Bug: 111475013
Change-Id: I86cc2c35002cd3a74d21f080eaf6d0fc29fa6a17

5 years agoRemove data usage v1 code.
Doris Ling [Fri, 30 Nov 2018 21:00:42 +0000 (13:00 -0800)]
Remove data usage v1 code.

- remove all v1 code and the corresponding feature flag switch.

Bug: 117420679
Test: make RunSettingsRoboTests
Change-Id: Ib062c03c671b0f860698f5e5e153ab46d963175a

5 years agoMerge "Use SettingsLib's ActionButtonsPreference"
Fan Zhang [Mon, 3 Dec 2018 18:06:07 +0000 (18:06 +0000)]
Merge "Use SettingsLib's ActionButtonsPreference"

5 years agoUse SettingsLib's ActionButtonsPreference
tmfang [Wed, 28 Nov 2018 08:59:15 +0000 (16:59 +0800)]
Use SettingsLib's ActionButtonsPreference

Since we moved old ActionButtonPreference into
SettingsLib, we need to update new imports and
declaration in Settings source code.

Test: robotest, manual test
Bug: 120005054
Change-Id: I1e3514ba68a856071c81534d54c99c3d1a11a8ca

5 years agoUpdate title of ConnectedDeviceSlice header
Yanting Yang [Mon, 3 Dec 2018 11:33:51 +0000 (19:33 +0800)]
Update title of ConnectedDeviceSlice header

Bug: 114807655
Test: visual, robotest
Change-Id: Ibda3f1439787541de0e7aac9f3bcfb016522cdc1

5 years agoFix top level "Gestures" not appearing in search result
Stanley Wang [Fri, 30 Nov 2018 08:52:46 +0000 (16:52 +0800)]
Fix top level "Gestures" not appearing in search result

If the availability status equals AVAILABLE_UNSEARCHABLE,
the preference won't appear in the serch result so we change
the status to AVAILABLE.

Change-Id: Id3ab28c4974f42be9b06a58d9c0d284f23ef160f
Fixes: 117951603
Test: manual and robotests

5 years agoMerge "Replace SliceAction deprecated method"
Fan Zhang [Sat, 1 Dec 2018 18:12:30 +0000 (18:12 +0000)]
Merge "Replace SliceAction deprecated method"

5 years agoMerge "Update SettingsPanel UI"
TreeHugger Robot [Sat, 1 Dec 2018 06:51:53 +0000 (06:51 +0000)]
Merge "Update SettingsPanel UI"

5 years agoMerge "Integrate QrCode Camera with WifiDppQrCodeScannerFragment"
Johnson Lu [Sat, 1 Dec 2018 03:55:45 +0000 (03:55 +0000)]
Merge "Integrate QrCode Camera with WifiDppQrCodeScannerFragment"

5 years agoIntegrate QrCode Camera with WifiDppQrCodeScannerFragment
Johnson Lu [Wed, 28 Nov 2018 07:31:16 +0000 (15:31 +0800)]
Integrate QrCode Camera with WifiDppQrCodeScannerFragment

Bug: 118797380
Test: RunSettingsRoboTests
Change-Id: I328bebbbcf44136df2c18ca1929a5da377a0cf6b

5 years agoMerge "Refined the Search Bar layout"
Fan Zhang [Fri, 30 Nov 2018 22:41:41 +0000 (22:41 +0000)]
Merge "Refined the Search Bar layout"

5 years agoReplace SliceAction deprecated method
Raff Tsai [Fri, 30 Nov 2018 08:16:10 +0000 (16:16 +0800)]
Replace SliceAction deprecated method

- Replace new SliceAction with SliceAction.createDeeplink() or
SliceAction.create()

Test: make RunSettingsRoboTests
Change-Id: Ied34469d2220d8220a2dcc6c2fb4d32dd9cd9b8c
Fixes: 119879284

5 years agoMerge "Fix Wifi-Detail page colors"
TreeHugger Robot [Fri, 30 Nov 2018 21:45:20 +0000 (21:45 +0000)]
Merge "Fix Wifi-Detail page colors"

5 years agoUpdate SettingsPanel UI
Matthew Fritze [Wed, 28 Nov 2018 21:05:43 +0000 (13:05 -0800)]
Update SettingsPanel UI

UI changes include:
- RecyclerView to host slices
- Font family to headline font
- Title is now centered
- Added SeeMore & Done buttons
- Horizontal Dividers between slices
- Indented Slices
- Landscape layout is fullscreen

Change-Id: I3549c847fc88edd81f670ddfa2907dd3741441e0
Screenshot: https://screenshot.googleplex.com/RzWktzOZJkc
Test: Robolectric
Test: Manual app
Bug: 118622007

5 years agoRefined the Search Bar layout
Sunny Shao [Tue, 27 Nov 2018 08:29:38 +0000 (16:29 +0800)]
Refined the Search Bar layout

Removed the background color of the search bar.
Set the background of the AppBarLayout as transparent.
Set the app bar height.

Bug: 118886724
Test: manual review
Change-Id: I7faedc693ce61d5a5237e8a72909b77b56268a4c

5 years agoMerge "Remove the 2 seconds wait time to sync app data usage list."
TreeHugger Robot [Fri, 30 Nov 2018 19:58:05 +0000 (19:58 +0000)]
Merge "Remove the 2 seconds wait time to sync app data usage list."

5 years agoMerge "Update string for "Reset" screens"
TreeHugger Robot [Fri, 30 Nov 2018 17:42:38 +0000 (17:42 +0000)]
Merge "Update string for "Reset" screens"

5 years agoUpdate string for "Reset" screens
Edgar Wang [Fri, 30 Nov 2018 12:26:35 +0000 (20:26 +0800)]
Update string for "Reset" screens

- Update "Reset phone" to "Erase all data"

Change-Id: I410fb4916ae9b0234b47d5a35a038d280b24fe0b
Fixes: 79172587
Test: robotests & visual

5 years agoFix NPE in slice data generation
Yanting Yang [Fri, 30 Nov 2018 09:58:45 +0000 (17:58 +0800)]
Fix NPE in slice data generation

NPE will be occurred when clients gives invalid slice uri for Settings.
We have defined some rules in getPathData() and it will return null
object when the invalid uri was given. NPE will be happened in next.

Change-Id: I6ebadd4383aee6e69b1c2eb6c84071c961fd72a7
Fixes: 120259627
Test: robotests

5 years agoCreate WiFi MAC randomization icon
cosmohsieh [Wed, 28 Nov 2018 05:54:08 +0000 (13:54 +0800)]
Create WiFi MAC randomization icon

Preference icon for WiFi MAC randomization

Bug: 117192879
Test: Visual
Change-Id: Ifafa801ad96df16c5d96da847dd45bbbc16f4a1f

5 years agoMerge "Bump string length limits"
TreeHugger Robot [Fri, 30 Nov 2018 05:05:26 +0000 (05:05 +0000)]
Merge "Bump string length limits"

5 years agoMerge "Fix adaptive brightness not appearing in Settings search"
Stanley Wang [Fri, 30 Nov 2018 03:23:13 +0000 (03:23 +0000)]
Merge "Fix adaptive brightness not appearing in Settings search"

5 years agoMerge "Add log feature"
Raff Tsai [Fri, 30 Nov 2018 02:58:38 +0000 (02:58 +0000)]
Merge "Add log feature"

5 years agoMerge "Upload basic UI files for Wi-Fi DPP Settings development II."
Arc Wang [Fri, 30 Nov 2018 02:48:53 +0000 (02:48 +0000)]
Merge "Upload basic UI files for Wi-Fi DPP Settings development II."

5 years agoMove all custom slice uris to a registry class.
Fan Zhang [Wed, 28 Nov 2018 00:14:51 +0000 (16:14 -0800)]
Move all custom slice uris to a registry class.

Change-Id: I192320f95ac81d14c8891ce2531d603912e59f56
Fixes: 119776308
Test: robotests

5 years agoBump string length limits
John Reck [Fri, 30 Nov 2018 00:00:08 +0000 (16:00 -0800)]
Bump string length limits

Bug: 119882754
Test: strings can be longer
Change-Id: I9545387639166ba6150d8a9d8e99c9ea9cd03e24

5 years agoAdd log feature
Raff Tsai [Fri, 16 Nov 2018 07:06:46 +0000 (15:06 +0800)]
Add log feature

- Add ContextualCardFeatureProvider to handle card interaction

Bug: 79698338
Test: manual
Change-Id: I2a76f5ccfd07072a98ee927bed7dc39731d4cb09

5 years agoMerge "Update the strings of conditional cards"
Fan Zhang [Thu, 29 Nov 2018 21:56:56 +0000 (21:56 +0000)]
Merge "Update the strings of conditional cards"

5 years agoRemove the 2 seconds wait time to sync app data usage list.
Doris Ling [Thu, 29 Nov 2018 21:18:21 +0000 (13:18 -0800)]
Remove the 2 seconds wait time to sync app data usage list.

- in v2, completely remove the asyn task to force update the network
stats since the network stats apis is actually not used.
- in v1, remove the 2s delay and only update the list when the asyn task
is done.

Change-Id: I10e887022d07fe38504036cbf3f12362eec939b3
Fixes: 119562454
Test: manual

5 years agoRemove obsolete logic in SettingsActivity.
Fan Zhang [Tue, 27 Nov 2018 21:06:44 +0000 (13:06 -0800)]
Remove obsolete logic in SettingsActivity.

mIsShowingDashboard is always false, it used to be true when we are
displaying homepage, but now homepage is hosted in a entirely different
activity.

so all related logic can now be removed.

Test: robotests

Misc clean up: remove unused colors

Test: rebuild, color-lint
Change-Id: I1e1628c1e9606c2b7dc40ef3c21d4ed1391a8c03

5 years agoFix Wifi-Detail page colors
Salvador Martinez [Tue, 27 Nov 2018 23:20:15 +0000 (15:20 -0800)]
Fix Wifi-Detail page colors

There were some hardcoded colors in this page that should have
been using colorControlNormal. This CL just updates it to use those.

Test: Visual inspection
Fixes: 37628554
Change-Id: I431744e7613eeb0ac751cf1505bcf2ef9e19d95d

5 years agoMerge "Connect button should have correct icon"
TreeHugger Robot [Thu, 29 Nov 2018 18:01:53 +0000 (18:01 +0000)]
Merge "Connect button should have correct icon"

5 years agoMerge "Set min height of zen radio button to 48dp"
TreeHugger Robot [Thu, 29 Nov 2018 15:09:30 +0000 (15:09 +0000)]
Merge "Set min height of zen radio button to 48dp"

5 years agoAdd a developer option to allow all background activity starts
Michal Karpinski [Wed, 14 Nov 2018 13:46:42 +0000 (13:46 +0000)]
Add a developer option to allow all background activity starts

Test: make RunSettingsRoboTests ROBOTEST_FILTER=AllowBackgroundActivityStartsPreferenceControllerTest
Bug: 110956953
Change-Id: I45db536d8a60aa6c3a81c01b93ff8e13bf52a77b

5 years agoFix adaptive brightness not appearing in Settings search
Stanley Wang [Thu, 29 Nov 2018 10:56:39 +0000 (18:56 +0800)]
Fix adaptive brightness not appearing in Settings search

Change-Id: I33ed525b3c051a982869114754bd3b7423b61d22
Fixes: 117449384
Test: manual

5 years agoUpdate icon color for "Accessibility" and "Support & Tips" for Dark mode
Edgar Wang [Wed, 28 Nov 2018 12:51:06 +0000 (20:51 +0800)]
Update icon color for "Accessibility" and "Support & Tips" for Dark mode

Change-Id: I874354f3eb669b36822a3fac7e9160ac19d65d35
Fixes: 119785748
Test: robotests & visual

5 years agoMerge "Remove WifiDetailPreference."
TreeHugger Robot [Thu, 29 Nov 2018 07:43:15 +0000 (07:43 +0000)]
Merge "Remove WifiDetailPreference."

5 years agoConnect button should have correct icon
tmfang [Thu, 29 Nov 2018 04:50:31 +0000 (12:50 +0800)]
Connect button should have correct icon

Test: visual
Change-Id: I3688a309a538112c60f5d6084c774c08a2ac05d5
Fixes: 119758987

5 years agoUpload basic UI files for Wi-Fi DPP Settings development II.
Arc Wang [Fri, 23 Nov 2018 02:51:27 +0000 (10:51 +0800)]
Upload basic UI files for Wi-Fi DPP Settings development II.

Add 3 fragments:

  WifiDppQrCodeGeneratorFragment
  WifiDppChooseSavedWifiNetworkFragment
  WifiDppAddDeviceFragment

Bug: 118797380
     118797202
     118794978
     118796825
     118794858
Test: atest WifiDppConfiguratorActivityTest
      atest WifiDppQrCodeScannerFragmentTest
      atest atest RunSettingsRoboTests

Change-Id: I2fbc2f46f941d49b63e4ac74d92f94bf617d2b9b

5 years agoMerge "Add contextual card feedback email mechanism."
TreeHugger Robot [Thu, 29 Nov 2018 03:43:39 +0000 (03:43 +0000)]
Merge "Add contextual card feedback email mechanism."

5 years agoMerge "Fix conditional cards disappeared from contextual homepage"
TreeHugger Robot [Thu, 29 Nov 2018 03:31:50 +0000 (03:31 +0000)]
Merge "Fix conditional cards disappeared from contextual homepage"

5 years agoAdd contextual card feedback email mechanism.
Yi-Ling Chuang [Tue, 20 Nov 2018 11:51:13 +0000 (19:51 +0800)]
Add contextual card feedback email mechanism.

When users dismiss a card, ask them for feedback.

Bug: 113783548
Test: robotests
Change-Id: I4f53f89ff8377b0dae8c1fc13c6e474456f90c2f

5 years agoFix conditional cards disappeared from contextual homepage
Mill Chen [Wed, 28 Nov 2018 08:35:25 +0000 (16:35 +0800)]
Fix conditional cards disappeared from contextual homepage

This symptom only occurred in the case of more than 3 conditional cards
and no suggestion cards in homepage. It is caused by incompletely keeping
conditional cards. So adding missing card types makes conditional cards
be kept correctly.

Bug: 120115919
Test: robotest
Change-Id: Ic67c0a813de4f966c164bf92e4d4d64debcf95be

5 years agoMerge "Visual update: remove card elevation for homepage cards."
TreeHugger Robot [Thu, 29 Nov 2018 01:49:22 +0000 (01:49 +0000)]
Merge "Visual update: remove card elevation for homepage cards."

5 years agoMerge "Remove TODO item from ContextualCardsAdapter in homepage"
Fan Zhang [Wed, 28 Nov 2018 23:17:05 +0000 (23:17 +0000)]
Merge "Remove TODO item from ContextualCardsAdapter in homepage"

5 years agoRemove WifiDetailPreference.
Doris Ling [Wed, 28 Nov 2018 23:06:58 +0000 (15:06 -0800)]
Remove WifiDetailPreference.

- use the standard Preference instead to display the wifi details, and
enable sumary copying for the preferences under Wifi Network details.

Change-Id: I5371ac667d9239276f6492896123d617f5193871
Fixes: 62493282
Test: make RunSettingsRoboTests

5 years agoMerge "Enable copying for some settings preferences."
Doris Ling [Wed, 28 Nov 2018 23:03:33 +0000 (23:03 +0000)]
Merge "Enable copying for some settings preferences."