OSDN Git Service

android-x86/packages-apps-Settings.git
5 years agoAdd a helper class for filtering available subscriptions
Antony Sargent [Fri, 7 Dec 2018 19:17:26 +0000 (11:17 -0800)]
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

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 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."

5 years agoMerge "Refine APN fetching logic"
Josh Hou [Wed, 28 Nov 2018 22:24:35 +0000 (22:24 +0000)]
Merge "Refine APN fetching logic"

5 years agoMove color management check to ColorDisplayManager
Christine Franks [Tue, 3 Jul 2018 21:44:08 +0000 (14:44 -0700)]
Move color management check to ColorDisplayManager

Bug: 111215474
Test: make RunSettingsRoboTests -j100
Change-Id: I8ab675a49e119014e59fcfdb61fcd9253e8c0da1

5 years agoAdd an res id to scrollable view to help with testing
Fan Zhang [Wed, 28 Nov 2018 20:58:14 +0000 (12:58 -0800)]
Add an res id to scrollable view to help with testing

Change-Id: I9851c808866c0d82da354f2c7918ae53cc68ea64
Fixes: 120145871
Test: rebuild

5 years agoEnable copying for some settings preferences.
Doris Ling [Wed, 28 Nov 2018 20:25:39 +0000 (12:25 -0800)]
Enable copying for some settings preferences.

- add enableCopying attribute to app version, wifi ipv6 address, and
other preferences in About Phone settings.

Bug: 62493282
Test: manual
Change-Id: I6ff0848909ec6ade6605967116bf3178ab069c32

5 years agoVisual update: remove card elevation for homepage cards.
Fan Zhang [Tue, 27 Nov 2018 22:29:45 +0000 (14:29 -0800)]
Visual update: remove card elevation for homepage cards.

- Replace CardView with MaterialCardView
- Add strokeColor and strokeWidth to MaterialCardView
- Set cardElevation to 0dp.

And remove a few unused layout, clean up color lint whitelist.

Test: rebuild, visual
Change-Id: I34a4b9a985cb85c212e123b8af5353d8c548923a

5 years agoSet min height of zen radio button to 48dp
Beverly [Wed, 28 Nov 2018 16:31:50 +0000 (11:31 -0500)]
Set min height of zen radio button to 48dp

Test: manual using accessibility scanner
Change-Id: I5fd92a3420bca2b3eb371241ef2ee463f9f27009
Fixes: 119585103

5 years agoUpdate the strings of conditional cards
Mill Chen [Mon, 5 Nov 2018 15:09:43 +0000 (23:09 +0800)]
Update the strings of conditional cards

Bug: 113451905
Test: visual
Change-Id: I023e005a0a913981f0e0445fa42b7a76b51d3021

5 years agoRemove TODO item from ContextualCardsAdapter in homepage
Mill Chen [Wed, 28 Nov 2018 10:00:22 +0000 (18:00 +0800)]
Remove TODO item from ContextualCardsAdapter in homepage

Bug: 114009676
Test: rebuild
Change-Id: I57138d766d75c717189c81ddab21503bd1cb9471

5 years agoMerge "Add NetworkRequestDialogActivity"
Cosmo Hsieh [Wed, 28 Nov 2018 05:59:11 +0000 (05:59 +0000)]
Merge "Add NetworkRequestDialogActivity"

5 years agoMerge "Expand more buttons for ActionButtonPreference"
TreeHugger Robot [Wed, 28 Nov 2018 05:09:47 +0000 (05:09 +0000)]
Merge "Expand more buttons for ActionButtonPreference"

5 years agoExpand more buttons for ActionButtonPreference
tmfang [Tue, 27 Nov 2018 09:46:13 +0000 (17:46 +0800)]
Expand more buttons for ActionButtonPreference

Old design, we only need two action buttons in Settings app.
In the future, we need four buttons for some use cases.

Test: visual, robotest
Bug: 120005054
Change-Id: I859fee8d7167ce59222059cc441e4a3c167c7b34

5 years agoMerge "Hide the SelfAvailablePreference if it is not available."
TreeHugger Robot [Wed, 28 Nov 2018 00:51:17 +0000 (00:51 +0000)]
Merge "Hide the SelfAvailablePreference if it is not available."

5 years agoHide the SelfAvailablePreference if it is not available.
Doris Ling [Tue, 27 Nov 2018 22:58:55 +0000 (14:58 -0800)]
Hide the SelfAvailablePreference if it is not available.

- instead of removing it from the preference screen, set its visibility
to false, so that if it becomes available later, it will still be found
on the screen.

Bug: 119838520
Test: make RunSettingsRoboTests
Change-Id: Idc7079bb5846aef247dd87c0b0dba2546f2d8f8f

5 years agoMerge "Removing references to ASEC"
TreeHugger Robot [Tue, 27 Nov 2018 22:32:35 +0000 (22:32 +0000)]
Merge "Removing references to ASEC"

5 years agoMerge "Misc clean up."
TreeHugger Robot [Tue, 27 Nov 2018 22:13:37 +0000 (22:13 +0000)]
Merge "Misc clean up."

5 years agoMerge "Add test cases for the collapsible feature of conditional card"
Fan Zhang [Tue, 27 Nov 2018 21:44:30 +0000 (21:44 +0000)]
Merge "Add test cases for the collapsible feature of conditional card"

5 years agoMerge "Implement the collapsible feature of conditional card"
TreeHugger Robot [Tue, 27 Nov 2018 21:43:57 +0000 (21:43 +0000)]
Merge "Implement the collapsible feature of conditional card"

5 years agoMisc clean up.
Fan Zhang [Tue, 27 Nov 2018 19:29:09 +0000 (11:29 -0800)]
Misc clean up.

- Remove unused SubSetingLauncher parameters: hide_drawer, is_shortcut

Test: robotests
Change-Id: Ic0e6c3aa2c1679010e7ca8356662899f0df7e272

5 years agoRemoving references to ASEC
Patrick Baumann [Mon, 19 Nov 2018 18:47:54 +0000 (10:47 -0800)]
Removing references to ASEC

This change removes references to long deprecated, now removed constants
supporting ASEC containers in the framework.

Test: builds
Bug: 109941548
Change-Id: I630f784c69dd635632ec9359669d222549053bbd