Fan Zhang
4cb25ed087
Batch rename: homepage_* to contextual_* or condtion_*
...
Contextual cards are not bound to homepage. Remove prefix homepage from
layout and theme names.
Next step: update names for some resource values (dimen/color etc)
Bug: 130250419
Test: rebuild
Change-Id: I5e901268462aaa37e00493080ae09af001784823
2019-04-10 00:08:18 +00:00
TreeHugger Robot
c35af0eae2
Merge "Show Styles & Wallpaper in Settings" into qt-dev
2019-04-09 22:48:04 +00:00
Matthew Fritze
441a439431
Fix up Network and Internet Slice
...
- Fix pref key for Airplane mode
- Return null when no mobile data is available
Test: robotests
Fixes: 130244854
Change-Id: I88806cb9215af159114ac150c20cdb8fb413befe
2019-04-09 15:39:39 -07:00
Lei Yu
de3e40089d
Override height of SliceView in Settings
...
Fixes: 129012281
Test: Manual
Change-Id: I99ad80ea03a52f4a9edc0a7532ad4a0f2d33779e
2019-04-09 13:38:45 -07:00
Yi-Ling Chuang
ba4aed4897
Merge "Remove viewFlipper used in contextual card dismissal." into qt-dev am: 8b3cde0fb1
...
am: 4b6479bcf7
Change-Id: I4f69ba0dca1521987f87cc918d5746157eb1b644
2019-04-09 11:33:24 -07:00
Yi-Ling Chuang
3b53d2f98f
Merge "Inflate dismissal background instead of drawing while swiping" into qt-dev am: a31acac404
...
am: 2bb41176cf
Change-Id: I180a8b423fa9d9823418d8e462931a97a5f14f75
2019-04-09 11:24:18 -07:00
Yi-Ling Chuang
4b6479bcf7
Merge "Remove viewFlipper used in contextual card dismissal." into qt-dev
...
am: 8b3cde0fb1
Change-Id: Ia9747b66b6e5f4ed332d979fcf6ecbe692bc5180
2019-04-09 10:45:10 -07:00
Yi-Ling Chuang
2bb41176cf
Merge "Inflate dismissal background instead of drawing while swiping" into qt-dev
...
am: a31acac404
Change-Id: Ibf89f70e45518ff4b6a99a745949661715d2149e
2019-04-09 10:44:08 -07:00
Amin Shaikh
2a9911e3a0
Show Styles & Wallpaper in Settings
...
Show "Styles & Wallpaper" in Settings based on whether the ThemePicker
component is availalable. Also update dashboard summary for display.
Bug: 129874298
Test: m RunSettingsRoboTests
Change-Id: Id7e0bb9cbc689bb9e637919a10a7d1006397afab
2019-04-09 13:25:57 -04:00
TreeHugger Robot
8b3cde0fb1
Merge "Remove viewFlipper used in contextual card dismissal." into qt-dev
2019-04-09 17:11:40 +00:00
TreeHugger Robot
a31acac404
Merge "Inflate dismissal background instead of drawing while swiping" into qt-dev
2019-04-09 17:11:11 +00:00
Julia Reynolds
ff125d11bc
Merge "Move NAS selection to 'special app access'" into qt-dev am: 8bf3ab9d5c
...
am: b8fa1028ac
Change-Id: I12da431dd30328c274199c99552326057864dce7
2019-04-09 08:21:39 -07:00
Pasty Chang
00665b615f
Merge "Add strings used for setupwizard lockscreen skip dialog" into qt-dev am: 6ffdbb6096
...
am: 614d0cce2b
Change-Id: I8bc28dc7d3c943e62f0fc35918f69c88a91cfb26
2019-04-09 08:05:39 -07:00
Pasty Chang
608a634d2e
Enable heavy theme for setupwizard pages
...
Stencil heavy theme is ready. Enable by setting the attribute to true.
light & heavy theme screenshot: https://screenshot.googleplex.com/15SXBK66NZX
Bug: 130208067
Test: atest
Change-Id: Ic3843b5f6724ed2f4fcdadf1ad634d918596c2ae
2019-04-09 13:38:12 +00:00
Julia Reynolds
b8fa1028ac
Merge "Move NAS selection to 'special app access'" into qt-dev
...
am: 8bf3ab9d5c
Change-Id: Ie408690b2352eda4cbb9549bb62df856a01d1fbe
2019-04-09 06:12:51 -07:00
Julia Reynolds
8bf3ab9d5c
Merge "Move NAS selection to 'special app access'" into qt-dev
2019-04-09 12:56:40 +00:00
Pasty Chang
614d0cce2b
Merge "Add strings used for setupwizard lockscreen skip dialog" into qt-dev
...
am: 6ffdbb6096
Change-Id: Ic60b4336b3e651681691b540db7a6239602ec5e6
2019-04-09 05:32:03 -07:00
Pasty Chang
6ffdbb6096
Merge "Add strings used for setupwizard lockscreen skip dialog" into qt-dev
2019-04-09 11:53:00 +00:00
Hai Zhang
b56125843e
Merge changes from topic "role-replace" into qt-dev am: 0aa0d665c0
...
am: b3299e654e
Change-Id: Iea7316880d6edb7b29d976f7caf54746add9b096
2019-04-09 03:28:48 -07:00
Yi-Ling Chuang
734d826117
Remove viewFlipper used in contextual card dismissal.
...
- Use view's visibility to control which view we should show.
- Slice view can be built with normal height after removing viewFlipper.
Bug: 129438972
Bug: 128689305
Test: robotests
Change-Id: If7e9bd30d5cb5bcd3b9ff9f09cc2eae36543b9e9
2019-04-09 10:24:10 +00:00
Arc Wang
fa977e12db
Merge "Remove the PreferenceGroup without title in WifiNetworkDetailsFragment" into qt-dev am: 73f539d296
...
am: ee55582d8b
Change-Id: I653420aafabd30107b0f6f05b2cfc44978b2506b
2019-04-09 03:22:37 -07:00
Yi-Ling Chuang
dc2b2c7929
Inflate dismissal background instead of drawing while swiping
...
- Only swipe the foreground out to have the background revealed.
- Inflate dismissal_swipe_background.xml while swiping.
- Fix the fly-in transition.
- Fix the overlapping problem.
Bug: 129742618
Test: robotests
Change-Id: I5311e50332d0ea0437d1693d075d5c3a2176a443
2019-04-09 10:21:14 +00:00
Hai Zhang
b3299e654e
Merge changes from topic "role-replace" into qt-dev
...
am: 0aa0d665c0
Change-Id: Ia95fc53c0e322b07f85ac2166a6c532f22b7b6f7
2019-04-09 00:26:01 -07:00
clownshen
9762652115
Add icon for sign in
...
Bug: 130188624
Test: manual test
Test: make RunSettingsRoboTests -j32 ROBOTEST_FILTER=com.android.settings.wifi.details.WifiDetailPreferenceControllerTest
Change-Id: I58a6c411a31e5cb0fe05eba486ba38774c078070
2019-04-09 06:56:16 +00:00
TreeHugger Robot
0aa0d665c0
Merge changes from topic "role-replace" into qt-dev
...
* changes:
Remove old default apps code and use roles instead.
Move default payment app to special app access.
2019-04-09 05:33:21 +00:00
Hai Zhang
22f8d48df0
Remove old default apps code and use roles instead.
...
Default apps are moved into PermissionController.
Bug: 124452117
Bug: 124457823
Test: presubmit & manual
Change-Id: I5f68e5b77cd6163d093590185314270706d75391
2019-04-09 13:30:31 +08:00
Hai Zhang
470ec69461
Move default payment app to special app access.
...
Bug: 124452117
Bug: 124522992
Test: build
Change-Id: I58e7127920d939dc3635bcc2e608cee6baa21998
2019-04-09 13:30:14 +08:00
Arc Wang
ee55582d8b
Merge "Remove the PreferenceGroup without title in WifiNetworkDetailsFragment" into qt-dev
...
am: 73f539d296
Change-Id: I24cae0f576594cd281cd3662cd07f2240c549423
2019-04-08 21:19:30 -07:00
pastychang
e82540f174
Add strings used for setupwizard lockscreen skip dialog
...
Test: atest
Bug: 124028212
Change-Id: I9f65022f6bbc70606a40b5b20e9484731376d203
2019-04-09 01:56:58 +00:00
Arc Wang
73f539d296
Merge "Remove the PreferenceGroup without title in WifiNetworkDetailsFragment" into qt-dev
2019-04-09 01:39:35 +00:00
Andrew Sapperstein
0ac8d0f83b
Merge "Delete carrier entry from mobile network details page." into qt-dev am: b93761d252
...
am: 4bbd1e867b
Change-Id: I723dc4d67d16726c8b41cdc137f27dfb80b0b589
2019-04-08 18:26:47 -07:00
TreeHugger Robot
6a270547e5
Merge "Import translations. DO NOT MERGE"
2019-04-08 23:43:30 +00:00
TreeHugger Robot
00846385a5
Merge "Import translations. DO NOT MERGE" into qt-dev
2019-04-08 23:37:53 +00:00
Andrew Sapperstein
4bbd1e867b
Merge "Delete carrier entry from mobile network details page." into qt-dev
...
am: b93761d252
Change-Id: Iba51501adb7106d1ca6b0fbf4327bc94c9e58c41
2019-04-08 14:04:11 -07:00
Bill Yi
ef1e217daf
Import translations. DO NOT MERGE
...
Auto-generated-cl: translation import
Bug: 64712476
Change-Id: If0ee949c0948860c8a6834fc3b63fa0d9175cfb0
2019-04-08 13:57:43 -07:00
Bill Yi
ad91a8b512
Import translations. DO NOT MERGE
...
Change-Id: Ie7a8b551765891732db4bc2e44475f26c8cf5ec6
Auto-generated-cl: translation import
2019-04-08 13:16:04 -07:00
TreeHugger Robot
b93761d252
Merge "Delete carrier entry from mobile network details page." into qt-dev
2019-04-08 20:00:29 +00:00
Julia Reynolds
8a9e6cc9fa
Move NAS selection to 'special app access'
...
Test: manual
Fixes: 130169253
Change-Id: I0e69b11c557bc153cee0073bb2e982e3ee36e721
2019-04-08 15:46:57 -04:00
Antony Sargent
da62a42ef8
Merge "Fix 'Advanced' collapse point on Network & internet page" into qt-dev
...
am: 5c28e42538
Change-Id: I886e9b11d7b0ec8c7a9742388cc0867f24f50850
2019-04-08 11:43:38 -07:00
TreeHugger Robot
5c28e42538
Merge "Fix 'Advanced' collapse point on Network & internet page" into qt-dev
2019-04-08 18:15:57 +00:00
Andrew Sapperstein
95c915d9dc
Delete carrier entry from mobile network details page.
...
Followup CL will need to delete the backing code after we remove the feature flag.
Bug: 127540176
Test: robotests and visual inspection
Change-Id: I17e917b9726cf7f5470af09332ede38f8c253eed
2019-04-08 11:15:47 -07:00
Arc Wang
63b4c1ab85
Remove the PreferenceGroup without title in WifiNetworkDetailsFragment
...
To remove the PreferenceGroup title space.
Bug: 129683066
Test: manual
Change-Id: I00bced8038a01c0ef7e8f4dfa0b82e36a275004e
2019-04-08 20:19:11 +08:00
Fan Zhang
0e89993b47
Merge "Clean up tts preference layout." into qt-dev
...
am: 963ebf576a
Change-Id: I0c51f8b8c59ffb220538723f7ac744c9cf5cf026
2019-04-05 19:34:15 -07:00
Linda Tseng
7d8e6d6fb9
Merge "Remove divider above device switcher in panel" into qt-dev
...
am: 3d46fcd5b4
Change-Id: Ic7c1ff51b533df6525fb146f5da8f330f08a2c41
2019-04-05 18:42:43 -07:00
TreeHugger Robot
963ebf576a
Merge "Clean up tts preference layout." into qt-dev
2019-04-05 23:36:07 +00:00
lindatseng
cf93c8bc92
Remove divider above device switcher in panel
...
Remove the divider above the media device switcher Slice per the request.
Do a little refactor in Panel View, to use DividerItemDecoration instead of adding
divider views in layout file as the recycler view items divider.
Since dividers should be shown in most cases, we are setting DividerCondition to
DIVIDER_CONDITION_BOTH and default true to allow divider. For the slice we don't
need divider (media device switch in this case) we are setting the the target
direction of isDividerAllowed (above in this case) to false. Since we have
DIVIDER_CONDITION_BOTH, if one of the item view set the divider not allow, the
divider won't be shown.
Test: Visual/Manual inspection
Fixes: 126205139
Change-Id: Ic857705c90819ef9375f877a44bb32987b5d4438
2019-04-05 14:15:16 -07:00
Fan Zhang
5bb4ef7c45
Clean up tts preference layout.
...
Deleted the custom tts layout and use preference_radio directly.
Fixes: 129994473
Test: visual
Change-Id: Ifc50e0cf9f805776e0529ffd5d672283f28a1d15
2019-04-05 13:44:37 -07:00
Jordan Liu
3a4412ff41
resolve merge conflicts of 7d59c48038 to qt-dev-plus-aosp
...
Bug: None
Test: I solemnly swear I tested this conflict resolution.
Change-Id: Ida3890ed8a15cd50cc993fc9e5e0dd5976088cd3
2019-04-05 13:31:11 -07:00
Amin Shaikh
8335ce30ad
Create TintDrawable in Settings.
...
This allows us to specify a drawable resource in xml that is simply
another drawable with a different tint. This is necessary to overlay the
settings wifi icons since the tint is resolved using a theme attribute.
This change also replaces a few icons other duplicate icons to
demonstrate usage.
Fixes: 123363812
Test: make; use class in XML and run app
Change-Id: Id80f318e96dab2e1ad9db8430e8371ac6497b753
2019-04-05 16:15:22 -04:00
TreeHugger Robot
41f0a69b76
Merge "Add Settings icons needed for theme overlaying." into qt-dev
2019-04-05 16:38:08 +00:00