Commit Graph

9535 Commits

Author SHA1 Message Date
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
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
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
Mahaver Chopra
2d15f81ee8 Merge "Disallow OEM unlock when DISALLOW_FACTORY_RESET applies" into nyc-mr1-dev am: e6e8c92134
am: 150dd9cc4f

* commit '150dd9cc4fecbfd58db2f9e994077b9968368a2b':
  Disallow OEM unlock when DISALLOW_FACTORY_RESET applies

Change-Id: I386ad26655446801d1b6a221cdb8c6446b5a6ba9
2016-05-24 12:38:04 +00:00
Mahaver Chopra
150dd9cc4f Merge "Disallow OEM unlock when DISALLOW_FACTORY_RESET applies" into nyc-mr1-dev
am: e6e8c92134

* commit 'e6e8c92134b7a212058d7728007407eb74720625':
  Disallow OEM unlock when DISALLOW_FACTORY_RESET applies

Change-Id: I2389a5518a55fc3131a91fb5a5d8af376d79d936
2016-05-24 12:31:57 +00:00
Mahaver Chopra
e6e8c92134 Merge "Disallow OEM unlock when DISALLOW_FACTORY_RESET applies" into nyc-mr1-dev 2016-05-24 12:23:20 +00:00
Mahaver Chopra
dcf3d7c185 Disallow OEM unlock when DISALLOW_FACTORY_RESET applies
Bug: 28339424
Change-Id: I2ccba997fc6c9ccfab802c0f49a9e2115a314552
2016-05-24 12:04:49 +00:00
Maurice Lam
ce16ccb792 Merge "Update margins to match specs" into nyc-mr1-dev am: 3b15d6234d
am: 534d856458

* commit '534d85645849a84b122d8a2d1ec7b7bf413ad956':
  Update margins to match specs

Change-Id: Ie74c5f7feeb87a59af630d848ffe3e3d3cfb703e
2016-05-24 01:02:07 +00:00
Maurice Lam
534d856458 Merge "Update margins to match specs" into nyc-mr1-dev
am: 3b15d6234d

* commit '3b15d6234dc9097869030c1e5e2b26a9b34d1f19':
  Update margins to match specs

Change-Id: Iceacbab85dd0697708ddfad1b95b9faccae11a2d
2016-05-24 00:54:11 +00:00
Maurice Lam
3b15d6234d Merge "Update margins to match specs" into nyc-mr1-dev 2016-05-24 00:45:15 +00:00
Maurice Lam
b357e4a81a Update margins to match specs
- 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
2016-05-23 14:51:22 -07:00
Daniel Nishi
435628ac21 Merge "Materialize the button bar in the Deletion Helper." into nyc-mr1-dev am: 64b25588b7
am: f16b8be7b4

* commit 'f16b8be7b4c9d9da62ffd60d9c181c2e014c1edd':
  Materialize the button bar in the Deletion Helper.

Change-Id: Ifa7291619131002f85288c7da63b70c947125d6d
2016-05-23 20:40:40 +00:00
Daniel Nishi
f16b8be7b4 Merge "Materialize the button bar in the Deletion Helper." into nyc-mr1-dev
am: 64b25588b7

* commit '64b25588b7aa1f377ffb1585c1a9f07c1705b7f0':
  Materialize the button bar in the Deletion Helper.

Change-Id: Iece17635fc4c7a0ffd112381068b39a84bc3daeb
2016-05-23 20:28:56 +00:00
Daniel Nishi
ba03d2ff21 Update the storage manager settings to match the mocks.
Bug: 28560570
Change-Id: I0f218da1d23b687e38c52b5a927f7b84645958c7
2016-05-23 13:27:30 -07:00
Daniel Nishi
64b25588b7 Merge "Materialize the button bar in the Deletion Helper." into nyc-mr1-dev 2016-05-23 20:23:47 +00:00
Andrew Sapperstein
4ab0558972 Delete a bunch of dead code and resources.
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
2016-05-23 18:50:05 +00:00
Maurice Lam
cbec5aecb5 Merge "Add skip button to fingerprint settings" into nyc-mr1-dev am: c2a929f06a
am: d39ac69ef1

* commit 'd39ac69ef1cb75e90e0a574254f917b980df5703':
  Add skip button to fingerprint settings

Change-Id: I27dff63a84e78f51cffa636abe49b74309946baa
2016-05-23 18:20:03 +00:00
Maurice Lam
d39ac69ef1 Merge "Add skip button to fingerprint settings" into nyc-mr1-dev
am: c2a929f06a

* commit 'c2a929f06ae98346fa1133c50e90888d496bc076':
  Add skip button to fingerprint settings

Change-Id: I0f7e22626ec6652bda5d663943cbf2b5875415a3
2016-05-23 18:11:52 +00:00
Maurice Lam
c2a929f06a Merge "Add skip button to fingerprint settings" into nyc-mr1-dev 2016-05-23 17:56:02 +00:00
Bill Yi
1bc8bb2a70 Import translations. DO NOT MERGE
Change-Id: Icbe6d3dd29d739afc90790826bee8f0fc2af028e
Auto-generated-cl: translation import
2016-05-23 06:48:26 -07:00
Bill Yi
906224c4dd Import translations. DO NOT MERGE
Change-Id: I18ff7e3d70d30e76e01214b31c1df2065209f30f
Auto-generated-cl: translation import
2016-05-23 06:35:00 -07:00
Bill Yi
797928a672 Import translations. DO NOT MERGE
Change-Id: I1781c1d2edab8e31a79e9bced54f6749dcd9c59d
Auto-generated-cl: translation import
2016-05-23 05:48:27 -07:00
Baligh Uddin
ffe930ec76 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 28857042
Change-Id: I2ef0467d8a959436073642564afcb8fd25d3d09e
2016-05-21 13:10:17 -07:00
Maurice Lam
c1f787d032 Add skip button to fingerprint settings
The landscape layout was missing the fingerprint button

Bug: 28810925
Change-Id: Ic47242abdac61985f86cc4837f1c25801ee1248c
2016-05-20 19:03:25 -07:00
Daniel Nishi
5af567eca7 Materialize the button bar in the Deletion Helper.
Older Android style buttons were used for the bottom button bar.
By changing them to use the buttonBarBottomStyle, they are updated
to flat buttons. The bottom button bar for settings preference
fragments now more closely tracks the Material Design spec as seen
here in [0].

The other Settings views which use the button bar buttons are the
Redaction settings and WiFi network picker in some contexts. These
should be unaffected as they are based on the SettingsActivity,
rather than the SettingsFragment, and inflate a different view.

[0] https://material-design.storage.googleapis.com/publish/material_v_8/material_ext_publish/0B7WCemMG6e0VaDdZWXpLXzNicjg/components_buttons_usage6.png

Bug: 28845586
Change-Id: I9ea55aa2fe1e76f8f952880675501cbb0f76719d
2016-05-20 16:34:59 -07:00
Felipe Leme
6af9e6a8b4 Merge "Defined help page for Data Saver." into nyc-dev am: f8265a8f1e am: d21e63fe4b
am: 1d6d3723ba

* commit '1d6d3723bae00d0b6fd3f19dc63b0cb396bbc367':
  Defined help page for Data Saver.

Change-Id: I5061c9969b538ad3e5f08b6ce95ab6d190955866
2016-05-20 22:11:01 +00:00
Felipe Leme
1d6d3723ba Merge "Defined help page for Data Saver." into nyc-dev am: f8265a8f1e
am: d21e63fe4b

* commit 'd21e63fe4b381354a2033bac1251f4152a7e14a3':
  Defined help page for Data Saver.

Change-Id: Ie8761cd677ee5a14a92ba52419d1ee21dfa1befa
2016-05-20 22:08:22 +00:00
Felipe Leme
d21e63fe4b Merge "Defined help page for Data Saver." into nyc-dev
am: f8265a8f1e

* commit 'f8265a8f1ed751d93ef15596658b82748d2a8d28':
  Defined help page for Data Saver.

Change-Id: I1430270ab4ac368a6909038ad90816ba67e1d664
2016-05-20 22:06:06 +00:00
Felipe Leme
ec218b75ac Merge "Defined help page for Data Saver." into nyc-dev
am: f8265a8f1e

* commit 'f8265a8f1ed751d93ef15596658b82748d2a8d28':
  Defined help page for Data Saver.

Change-Id: I8ee0281525ab7b606bec6262ac2b115cbe31ca2e
2016-05-20 21:33:30 +00:00
Felipe Leme
f8265a8f1e Merge "Defined help page for Data Saver." into nyc-dev 2016-05-20 21:27:57 +00:00
Felipe Leme
cf2c0b1b97 Defined help page for Data Saver.
BUG: 28865521
Change-Id: I07930232312df2775ecee5beacee6921f7245847
2016-05-20 09:08:28 -07:00
Daniel Nishi
bbbdf1fa24 Merge "Add a collapsible checkbox preference for deletion helper." into nyc-mr1-dev am: ab5a648ddb
am: d7c52d9a99

* commit 'd7c52d9a992fe799cc2206a6a829d4ab57f77f84':
  Add a collapsible checkbox preference for deletion helper.

Change-Id: I63632673593f3f64d53e44425f94d6accec99127
2016-05-20 00:16:36 +00:00
Fan Zhang
f579cf9ae1 Merge "Display disclaimer dialog before starting support." into nyc-mr1-dev am: de188186d8
am: 9821904876

* commit '98219048769789a7904c840bf32806cf70f0d56f':
  Display disclaimer dialog before starting support.

Change-Id: Ia973f79f522c627ec2e126a42392d00e5d0e371d
2016-05-20 00:16:29 +00:00