Commit Graph

28708 Commits

Author SHA1 Message Date
Andrew Sapperstein
7232e4f7ee More theming fixes.
Updated the importance seekbar to use colorAccent instead of a hardcoded
color.

Refactored the various gear icons to all use ic_settings (a rename of
ic_bt_config). Deleted the png version (ic_sysbar_quicksettings).

Cleaned up the add icon. Now there are two vector drawables (one white,
one tinted with the accent color). Deleted the existing pngs and updated
the usages to use one of the two vector drawables. Deleted the theme
attr for ic_menu_add that had no usages.

BUG: 28760785

Change-Id: Icd5561d5b3f5ddee8aab78a3da7daa2dca0e30e3
2016-05-25 10:55:11 -07:00
Andrew Sapperstein
0c1d06e3a1 Merge "Fix confirm lock UI theme." into nyc-mr1-dev 2016-05-25 17:16:09 +00:00
Daniel Nishi
ed39bf639b Hook up the automatic storage manager settings with the flag.
This allows the settings menu to actually toggle the feature on
and off.

Bug: 28905328
Change-Id: I132c0930970b70a0f88b8fc21e85b6829aaef8c8
2016-05-25 10:03:17 -07:00
Jason Monk
6cb280d146 Don't update conditions on background threads
Instead build a list and set it on the main thread to avoid
concurrent modification crashes.

Change-Id: I936fbeb70359583e55ae8ddcb0ea46b5753cb3b0
Fixes: 28794277
2016-05-25 12:53:34 -04:00
Jeff Sharkey
c4eac99223 Skip indexing content while user is locked.
Otherwise we try touching printing services which throw.

Bug: 28912897
Change-Id: I25638794b35fd383fbe67604ac921d16743628ad
2016-05-25 10:52:34 -06:00
Ricky Wai
bff6af37ba Merge "Hide work profile key in user credentials screen am: 9579274cda am: 3652f20efb" into nyc-mr1-dev-plus-aosp
am: 398c290607

* commit '398c29060760f94ba1ecdc5172c311fd8a94d28e':

Change-Id: If0582c7500764b18d9120da0b47dd5fc26e1825f
2016-05-25 13:36:30 +00:00
Ricky Wai
951ba73208 Hide work profile key in user credentials screen am: 9579274cda am: 7a2eb4d3a9
am: 202b037524

* commit '202b037524ec3ac2c0e8c343a20bfb82555537b6':
  Hide work profile key in user credentials screen

Change-Id: Iac7d8c6a1d2334293c014b669e03425e9b470fd6
2016-05-25 13:35:00 +00:00
Android Build Merger (Role)
398c290607 Merge "Hide work profile key in user credentials screen am: 9579274cda am: 3652f20efb" into nyc-mr1-dev-plus-aosp 2016-05-25 13:29:32 +00:00
Ricky Wai
202b037524 Hide work profile key in user credentials screen am: 9579274cda
am: 7a2eb4d3a9

* commit '7a2eb4d3a9717f85e423b3ec1d83cb664a23705b':
  Hide work profile key in user credentials screen

Change-Id: I96b71597af058a20b462900cb9f4b73c80d68dda
2016-05-25 13:27:51 +00:00
Ricky Wai
82ca2e6e21 Hide work profile key in user credentials screen am: 9579274cda
am: 3652f20efb

* commit '3652f20efbee984906502b15b4ac7ad76039ecb2':
  Hide work profile key in user credentials screen

Change-Id: I8c5325f10fd5d5adfed1e09142096ff850ad2636
2016-05-25 13:27:42 +00:00
Ricky Wai
7a2eb4d3a9 Hide work profile key in user credentials screen
am: 9579274cda

* commit '9579274cda38c552b43febe0980f0ec6bd07277d':
  Hide work profile key in user credentials screen

Change-Id: I1db0e7538f4e6e8cfddac9a4f94ee2d050c4d433
2016-05-25 13:21:01 +00:00
Ricky Wai
3652f20efb Hide work profile key in user credentials screen
am: 9579274cda

* commit '9579274cda38c552b43febe0980f0ec6bd07277d':
  Hide work profile key in user credentials screen

Change-Id: I1b0b50a5ff0cc8dd0bef132ac63790c677bba188
2016-05-25 13:18:43 +00:00
Ricky Wai
9579274cda Hide work profile key in user credentials screen
Bug: 28878708
Change-Id: Ic9733ea973e1cc37028cb5f740969b5e24fb5aef
2016-05-25 13:11:24 +00:00
Andrew Sapperstein
e296af90f0 Update color bar defaults to use theme attr colors am: b40b0d2006
am: d6d7eaf95f

* commit 'd6d7eaf95f816a22fa42d500995d1092c61a8f8b':
  Update color bar defaults to use theme attr colors

Change-Id: I5a8771573d211215b57be27fa52e9d880e1e1c78
2016-05-25 03:48:35 +00:00
Andrew Sapperstein
5271166556 Update Theme.DialogWhenLarge to use theme colors. am: ddc21c0fb1
am: 1883bc5c3c

* commit '1883bc5c3c646e1512623258d804b7f4175dac44':
  Update Theme.DialogWhenLarge to use theme colors.

Change-Id: I5fed7a3029b150e4c9ce95562e049816c64ce875
2016-05-25 03:48:34 +00:00
Andrew Sapperstein
390f6c29b1 Update alertDialogTheme to use proper colorAccent. am: 8da144bdee
am: 542c63384c

* commit '542c63384cd8133713a17f3403a4632e2fabd2bd':
  Update alertDialogTheme to use proper colorAccent.

Change-Id: I788874513a6d6525a352cf780d1d85abbe638aec
2016-05-25 03:48:33 +00:00
Andrew Sapperstein
d6d7eaf95f Update color bar defaults to use theme attr colors
am: b40b0d2006

* commit 'b40b0d20066aeb53ae69e57979a92c337d0100df':
  Update color bar defaults to use theme attr colors

Change-Id: I6e2fc7d85f6b895a2ee3dfbc0912e0f1adb2dd98
2016-05-25 03:45:41 +00:00
Andrew Sapperstein
1883bc5c3c Update Theme.DialogWhenLarge to use theme colors.
am: ddc21c0fb1

* commit 'ddc21c0fb19b0ec2365ac650e833f1980b0f35b2':
  Update Theme.DialogWhenLarge to use theme colors.

Change-Id: Id4ca795b39edef90119d46ebe3f4b6f4bb93f29b
2016-05-25 03:45:41 +00:00
Andrew Sapperstein
542c63384c Update alertDialogTheme to use proper colorAccent.
am: 8da144bdee

* commit '8da144bdee8d6fcf90a5b42e2e726a5a3d05c82d':
  Update alertDialogTheme to use proper colorAccent.

Change-Id: I8e7790a5c7293bf81881ed5e14335e0840bedba6
2016-05-25 03:45:40 +00:00
Maurice Lam
46a194bf3b Add activity label to encryption interstitial
So that TalkBack refers to the screen by this more specific name.

Bug: 28868846
Change-Id: I93139959dcdbd156d57f01699283e01b178305b8
2016-05-24 20:03:08 -07:00
Baligh Uddin
5ad0750822 Import translations. DO NOT MERGE
Change-Id: Id633eb477f027da7f0281413a6feecf70f8d659c
Auto-generated-cl: translation import
2016-05-24 18:47:00 -07:00
Andrew Sapperstein
0067760b50 Fix confirm lock UI theme.
Now uses colorPrimary as its background color and sets colorAccent
directly. Some other mild cleanup as well.

BUG: 28760785

Change-Id: Ib8e5140b789449e518b498bc49438cb4a2bc6451
2016-05-24 18:08:36 -07:00
Andrew Sapperstein
b40b0d2006 Update color bar defaults to use theme attr colors
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
2016-05-24 18:08:36 -07:00
Andrew Sapperstein
ddc21c0fb1 Update Theme.DialogWhenLarge to use theme colors.
This theme is at least used by the Phone Status activity and probably
others as well.

BUG: 28760785

Change-Id: If3faa84ad9d291f007c7191f1c0dba8d98fe9bf8
2016-05-24 18:08:36 -07:00
Andrew Sapperstein
8da144bdee Update alertDialogTheme to use proper colorAccent.
The settings dialogs were all using the default colorAccent.
Now it uses the app's version.

BUG: 28760785

Change-Id: Ic9bf90745db7d2ef5b1fd047474bab5c6bbdab23
2016-05-24 18:08:36 -07:00
Adrian Roos
2018df601d Merge "Remove option to configure emergency app" into nyc-dev am: 06b7d7cdf9 am: 4b3ab5871c
am: aa98d45059

* commit 'aa98d450595df191c0d23fed9293094df71eba27':

Change-Id: I5f64fdf20b2d195448f2ad565cf556b5db92e37f
2016-05-25 00:43:45 +00:00
Adrian Roos
f1677e4c0b Merge "Remove option to configure emergency app" into nyc-dev am: 06b7d7cdf9 am: aea945a821
am: 7226630b67

* commit '7226630b6797121c6a7dcabcceefc0177de46366':
  Remove option to configure emergency app

Change-Id: Ia9f11c4099cb58c5d4e318f050fe70301f19fb91
2016-05-25 00:43:42 +00:00
Adrian Roos
aa98d45059 Merge "Remove option to configure emergency app" into nyc-dev am: 06b7d7cdf9
am: 4b3ab5871c

* commit '4b3ab5871c0869eb0f51a08a6bc9aceede856090':

Change-Id: I2488f70caa3b2a735d02b16decba07d25a6af272
2016-05-25 00:35:41 +00:00
Adrian Roos
7226630b67 Merge "Remove option to configure emergency app" into nyc-dev am: 06b7d7cdf9
am: aea945a821

* commit 'aea945a82133cfc2704c14b214fd93e06624f4f3':
  Remove option to configure emergency app

Change-Id: I6fd3b85f96e22fb85960fcad56e09b8f8b0eef70
2016-05-25 00:31:58 +00:00
Adrian Roos
aea945a821 Merge "Remove option to configure emergency app" into nyc-dev
am: 06b7d7cdf9

* commit '06b7d7cdf954902dad8fde766fe54ea315a463b3':
  Remove option to configure emergency app

Change-Id: I4643f4cae85c6e70d82a8a25f34c2f17305b240d
2016-05-25 00:23:29 +00:00
Adrian Roos
4b3ab5871c Merge "Remove option to configure emergency app" into nyc-dev
am: 06b7d7cdf9

* commit '06b7d7cdf954902dad8fde766fe54ea315a463b3':
  Remove option to configure emergency app

Change-Id: Ia306455b8fe44d6e42493937fce6ad92904737fe
2016-05-25 00:23:28 +00:00
TreeHugger Robot
06b7d7cdf9 Merge "Remove option to configure emergency app" into nyc-dev 2016-05-25 00:17:20 +00:00
Andrew Sapperstein
dd8bc4a94f Merge "Replace bluetooth pngs with vector drawables." into nyc-mr1-dev am: 759ba9d152
am: cd7376067c

* commit 'cd7376067cc8c10db13644e314a2fad5e1d1158b':
  Replace bluetooth pngs with vector drawables.

Change-Id: I4abf91c3cf4fdb1e4d6867179992de9650683270
2016-05-25 00:16:49 +00:00
Andrew Sapperstein
cd7376067c Merge "Replace bluetooth pngs with vector drawables." into nyc-mr1-dev
am: 759ba9d152

* commit '759ba9d152296470fa8d4153726cf8a08e4bf51d':
  Replace bluetooth pngs with vector drawables.

Change-Id: I6c251e7207469ccbc6a147617aeed4af38138dcb
2016-05-25 00:09:08 +00:00
TreeHugger Robot
759ba9d152 Merge "Replace bluetooth pngs with vector drawables." into nyc-mr1-dev 2016-05-24 23:50:30 +00:00
Daniel Nishi
e9d8c8d58c Change Downloads to show individual files in the Deletion Helper. am: 1370f7ed20
am: 5a546fbcaf

* commit '5a546fbcafded7e7244c2e7c2f95eb3f828c813e':
  Change Downloads to show individual files in the Deletion Helper.

Change-Id: I974c1afee291448caf9656dabbae4f8637a3d17e
2016-05-24 23:11:22 +00:00
Daniel Nishi
5a546fbcaf Change Downloads to show individual files in the Deletion Helper.
am: 1370f7ed20

* commit '1370f7ed200ae4442c1d4a159584c26bc86d8a63':
  Change Downloads to show individual files in the Deletion Helper.

Change-Id: I52237038b49acdd1122c4ade19e408463027b0bb
2016-05-24 23:05:11 +00:00
Andrew Sapperstein
aeed7d481c Replace bluetooth pngs with vector drawables.
The current pngs are hardcoded to the green accent color.
Instead, the new vector drawable replacements have colorAccent
set as a tint.

BUG: 28760785
Change-Id: I01853d4e93bca6651460ad86505d0943dc68bf93
2016-05-24 15:32:12 -07:00
Daniel Nishi
9243dffe47 Merge "Update the storage manager settings to match the mocks." into nyc-mr1-dev am: 97ac5c773d
am: ce584ff754

* commit 'ce584ff754f8fa2212a2f6a8855a3b7e3ce24dea':
  Update the storage manager settings to match the mocks.

Change-Id: I8209c79d73db5259e5f7f9ef4a6ed01dfe14367c
2016-05-24 21:37:24 +00:00
Andrew Sapperstein
d668cb2c07 Merge "Refactor Settings theme colors." into nyc-mr1-dev am: 076731b825
am: 38972c3809

* commit '38972c38096a60464ee58cb7e63232bdacf43322':
  Refactor Settings theme colors.

Change-Id: I7a56e486b2601d34a6cd9f8ab9adcfe2dcfb0f38
2016-05-24 21:37:19 +00:00
Daniel Nishi
ce584ff754 Merge "Update the storage manager settings to match the mocks." into nyc-mr1-dev
am: 97ac5c773d

* commit '97ac5c773da07d637ef0e92edbde4052714683ab':
  Update the storage manager settings to match the mocks.

Change-Id: I9c6ed838d3f58fb97c93779c9378f59bb88b1b66
2016-05-24 21:32:37 +00:00
Daniel Nishi
1370f7ed20 Change Downloads to show individual files in the Deletion Helper.
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
2016-05-24 14:26:38 -07:00
Andrew Sapperstein
38972c3809 Merge "Refactor Settings theme colors." into nyc-mr1-dev
am: 076731b825

* commit '076731b8258bb9ed40cfef55c77c69f71fc86331':
  Refactor Settings theme colors.

Change-Id: I520678bf558b33476b705fb7d48a54ecd9b1b5fc
2016-05-24 21:25:50 +00:00
Daniel Nishi
97ac5c773d Merge "Update the storage manager settings to match the mocks." into nyc-mr1-dev 2016-05-24 21:18:39 +00:00
TreeHugger Robot
076731b825 Merge "Refactor Settings theme colors." into nyc-mr1-dev 2016-05-24 21:13:24 +00:00
Andrew Sapperstein
8dd11327b6 Refactor Settings theme colors.
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
2016-05-24 12:49:17 -07:00
Daniel Nishi
974a6a6b71 Merge "Fix a crash where the deletion helper crashes when app sizes load." into nyc-mr1-dev am: c05c8617bc
am: 11b6563cb6

* commit '11b6563cb635c1ca800923df7826f07eb13bf321':
  Fix a crash where the deletion helper crashes when app sizes load.

Change-Id: Id0643922fe54ee3bbd5a931b256cac2a31e9a912
2016-05-24 15:50:51 +00:00
Daniel Nishi
11b6563cb6 Merge "Fix a crash where the deletion helper crashes when app sizes load." into nyc-mr1-dev
am: c05c8617bc

* commit 'c05c8617bc1cb292b67b8c8d40723846914c20fc':
  Fix a crash where the deletion helper crashes when app sizes load.

Change-Id: I0f32008388d8f462df95d1655f43869031be0c20
2016-05-24 15:45:58 +00:00
Daniel Nishi
c05c8617bc Merge "Fix a crash where the deletion helper crashes when app sizes load." into nyc-mr1-dev 2016-05-24 15:36:22 +00:00
Victor Chang
27ca104ece Fix Work Challenge / personal confirm credential is shown on top of keyguard after rotation
ConfirmDeviceCredentialBaseFragment.SHOW_WHEN_LOCKED has been abused.
We should not set onfirmDeviceCredentialBaseFragment.SHOW_WHEN_LOCKED
for work challenge and most other cases.

It's temp fix for the rotation bug. Because it's inconsistent the activity is shown
on top of keyguard with/without rotation (or any config change). In long term,
SHOW_WHEN_LOCKED should be set only if it's truly on purpose, and remove
isKeyguardLocked checking.

Bug: 28878075
Change-Id: I19db913f5bcaf2644c8c46c25e9584103d7fee8a
2016-05-24 15:57:23 +01:00