Now uses colorPrimary as its background color and sets colorAccent
directly. Some other mild cleanup as well.
BUG: 28760785
Change-Id: Ib8e5140b789449e518b498bc49438cb4a2bc6451
Previously the values were hardcoded. Now the default value
for left and middle are colorAccent. Also updated SummaryPreference
to not call LinearColorBar.setColors unless its own setColors is called.
BUG: 28760785
Change-Id: Id28e809e6b5f0f6508258c995d5dcfacbc9c8725
This theme is at least used by the Phone Status activity and probably
others as well.
BUG: 28760785
Change-Id: If3faa84ad9d291f007c7191f1c0dba8d98fe9bf8
The settings dialogs were all using the default colorAccent.
Now it uses the app's version.
BUG: 28760785
Change-Id: Ic9bf90745db7d2ef5b1fd047474bab5c6bbdab23
am: 5a546fbcaf
* commit '5a546fbcafded7e7244c2e7c2f95eb3f828c813e':
Change Downloads to show individual files in the Deletion Helper.
Change-Id: I974c1afee291448caf9656dabbae4f8637a3d17e
am: ce584ff754
* commit 'ce584ff754f8fa2212a2f6a8855a3b7e3ce24dea':
Update the storage manager settings to match the mocks.
Change-Id: I8209c79d73db5259e5f7f9ef4a6ed01dfe14367c
The first implementation simply had every file in the Downloads folder
be under a single checkbox. This iteration makes Downloads an
expandable dropdown preference listing every single file individually
for selection to be deleted.
Bug: 28621781
Change-Id: I5169caf718cee4c0fa7f0248bc4c443984766005
Introduces stock colors (primary_color, primary_dark_color, etc) to allow
overriding the colors via resource overlays.
Creates new colorSecondary attribute and updates switches to use theme
attributes for foreground/background colors rather than hardcoded values.
Some other mild color cleanup to make things more straightforward.
BUG: 28760785
Change-Id: I4deba962357217bdb2e08c08e8f83b9b57a683d4
- Update settings to use GLIF versions for margins and styles
- Removed learn more link from AOSP Fingerprint intro screen because
it won't have a link to show.
Bug: 28885476
Change-Id: I5d2fd730a1bca2c5da8626da066da3a3f03b4428
Deleted a bunch of unused colors. Also deleted the FAB
since it's never actually used, The one xml location sets the visibility
to gone and it is never changed.
Change-Id: I9424d581960ef879f6742bf8f06ac8932224c7cc
am: 1d6d3723ba
* commit '1d6d3723bae00d0b6fd3f19dc63b0cb396bbc367':
Defined help page for Data Saver.
Change-Id: I5061c9969b538ad3e5f08b6ce95ab6d190955866
am: f8265a8f1e
* commit 'f8265a8f1ed751d93ef15596658b82748d2a8d28':
Defined help page for Data Saver.
Change-Id: I1430270ab4ac368a6909038ad90816ba67e1d664
This adds a custom preference group which has both a checkbox
and collapse/expand behavior. This is intended to be used in
the deletion helper for apps deletion and downloads folder
deletion.
This patch implements the apps deletion integration.
Bug: 28769691
Change-Id: I9fb28a1baa4067841742b5dbeaf2083728c16144
After a manual clear, the user will be prompted to turn
on the storage manager, if it is turned off. The prompt
will only show up after certain defined delay times and
stop showing up entirely if denied enough times.
Currently, the dialog does not actually turn on the storage
manager because the storage manager is not yet landed.
Bug: 28801159
Change-Id: I3c221786d08a7102b3b5357416ab12692d1894cf
This provides a toggle for changing if the storage manager
is turned on or off and how many days of data to retain.
It is currently not hooked up to anything currently and only acts as
the view, pending b/28600825.
Bug: 28560570
Change-Id: Iaa2d819f26addab4dc02ced80e9ba79e0fcf0980
am: 8ab8e4c6c4
* commit '8ab8e4c6c42a24fe60799a27edbbd4e04a9ce4e2':
Add an alert dialog before clearing data in deletion helper.
Change-Id: I2c47aeb1e604cb4628d2e7f711ba22bd1e2215d7
The dialog states how much space will be freed by the deletion
and prompts the user to either cancel or continue with the
deletion.
BUG: 28762412
Change-Id: I8db2a8f928c82ebaa2cf5fea030b6b6f4730eb3e
This commit adds an option to the Settings application, making it
possible to skip the wallpaper apps selecting and directly lead to
the wallpaper picker.
Bug: 28554244
Change-Id: Id93b69c397e7eec6fdf9fd2c5812fd359cae58c2
Prior to this change, Settings was using
volume.getPath().getTotalBytes() to calculate the total, which includes
the user-accessible storage, but not the internal partitions. As such,
the total displayed was often missing many GBs (for example, in a 32GB
device, it could display "12.09GB of 25.01GB used".
This change fix this problem by using the total size and creating a
"System" section containing the "missing" storage.
BUG: 24128505
Change-Id: Ic35cd7c8406eff16ac1d97c4b4c233ecde64a6e1
This adds a deletion service to delete files in the Downloads
folder. All of the files there are collected and offered to the
user to delete.
Bug: 28621781
Change-Id: I94431f9abc3a0afa2d07dbab763312c09e830aef
Bug: 28435214
-- Tweaked layout and padding in suggestions and support tab.
-- Added support to show different text color in SlidingTabLayout.
Change-Id: If5d90ec5360e35565176aae7475e355c27fcef7c
Set the minimum height to align with the accessibility guidelines
and to disable ripple projection.
Also adds scroll indicators to the scroll view.
Bug: 28683023
Change-Id: I24c58c0d6e8ef4b9efc8b3f877bcd659f42b6c6d