Overall goal is to push button to the left:
- Make a linear layout that contain content, and button
- Apply existing padding to the content only
- Apply a smaller padding to button.
Change-Id: I8f1c586c59be21ff73dd6d08675f76c8ff7addda
Fixes: 120669058
Test: visual
Default color for listDividers in dialogs (parent theme for
panels) is @null, so we set the color to match the horizontal
dividers. listDivider is used by slices to set the vertical
divider between the primary action and toggles.
Test: visual-only
Bug: 117804089
Change-Id: I8f89a103c65adfbd1e079b38dc5eaaa3d3b32326
Make a duplicated function of WifiConfigController.getConfig(). This
function could get a new WifiConfiguration from input AccessPoint or
ScanResult.
Should be removed if there is standard one in framework.
Bug: 120827021
Test: RunSettingsRoboTests
Change-Id: Ia5981e8d41f434c097b464a2bfe18e1356f7b087
Selected filter is not retained after device orientation changed.
In old design, we only update selected index one time when the
enabled filter(filterType) equals the previous selected filter.
After that, the selected index won't be changed again.
But we sort the filter options every time(Collections.sort) when
we add a new filter. Therefore, it makes all indexes of filters
option could be changed.
For example,
Old filter options => All apps, Personal, Work
Selected index = 1
Add "Intsalled app" option => All apps, Installed app, Personal, Work
Selected filter option becomes "Installed app" but not Personal.
Since we saved previous selected filter option before device
orientation changes, we can check again whether or not the selected
index is previous filter type when we enable any new filter.
Test: manual test, robotest
Fixes: 120798975
Change-Id: I35de186a6a1fae3bd863bd31a6ce3f76861dc896
Change the SettingsPanelActivity to reference the
public API.
Bug: 117804442
Test: robolectric, manual app
Change-Id: I4b128ae9d97c1000fdaa0c3fb5b94f8dc096055f
Since there are multiple DcTrackers, but we only have
one set of data settings. So we need to move them from
DcTracker to Phone.
Test: Telephony sanity tests + unit tests
Bug: 73659459
Change-Id: If11a6eff057a18b4aa97addbb348537bd3194e1a
This CL adds settings (and two toggle controls) that help configure
how trust (from Trust Agents) should be interpreted by the platform,
allowing them to function in a purely extend unlock mode (where they
can extend how long an already unlocked device stays unlocked, but
cannot unlock a locked device).
These are temporary settings to help with dogfooding the new behavior,
and will eventually be removed. b/120871688 below is the tracking bug
to remove them.
Bug: 111435975
Bug: 120871688
Test: Tested with SmartLock modalities to confirm behavior in both
legacy and extend unlock modes is WAI.
Change-Id: If25098520ba98e82c98cc51fb226d8f2ce1aba80
This will include the Settings permission file whenever
the Settings app is installed.
Bug: 110072687
Test: make
Change-Id: Ia2548355282498bceeffddb564de32a6cb857c66
The resources available to tests are now exactly the merged resources
located in the APK under test.
Bug: 74359828
Test: make -j56 RunSettingsRoboTests
Change-Id: I050db81a92decefea23314b5ec7a62f77ff4bb2b
- Add a new field in ContextualCard to store whether this card is a large one
- Set dividers for large cards in renderer
Fixes: 119528161
Fixes: 119641839
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.homepage
Change-Id: I5cb95214789f44ccfd8d9ce2177ca2b84835b7a4
This reverts commit ff8fca7d9e.
Reason for revert: broke build when combined with ag/5781147
Bug: 120706174
Change-Id: Id543bc3cb0b4979144e92c400e57988009f4c407
The same broadcast are handled in SliceRelayReceiver and WifiScanWorker.
We will only use WifiScanWorker to handle wifi broadcast.
Change-Id: I32c2fcc699ae240f12bd1049ba33e1792ae123b0
Fixes: 120284615
Test: manual
Scanning settings is actually done outside of Android, in the host OS.
Bug: 120222705
Test: RunSettingsRoboTests RunArcSettingsRoboTests
Change-Id: I92435541a671c43d3584f1f223b8b744e6182aa9