16386 Commits

Author SHA1 Message Date
Jakub Adamek
2c02647109 Adding minimal customizable background colour support.
This adds back minimal support from
https://googleplex-android-review.googlesource.com/#/c/1442940/1
because the bigger thing had to be reverted.

Bug: 31459804
Change-Id: I545d1f7639c9dada417e95b5da6290414d3de05d
(cherry picked from commit d64a158269b8e10baaa2c2782fd017b594a078d4)
2016-10-07 14:46:28 +00:00
Jakub Adamek
c36f2cd550 Revert "Adding customizable background colour support."
This reverts commit eedebc4850749ba8a7a70e17a41399997806856a.

This needs to be submitted only with the next change which re-adds
minimal support.

Change-Id: I1f269a7c3bbd11fc60f61d6f23e78a1933f182c7
(cherry picked from commit 91181aa5deafac0660e8132964e50a4ec25da00b)
2016-10-07 14:45:24 +00:00
Jakub Adamek
2f5099ee66 Revert "Improving customization in DeviceDefault themes."
This reverts commit 426e7a0f8357b7401a4d3fc00ff89c5dd0de51c4.
(cherry picked from commit 801cb62b9fdb90e59a94a9791ead00e46607f1be)

Change-Id: Idef7570e1a2b1fac9b1a0ec913b378732fb3a1ab
2016-10-07 14:42:52 +00:00
TreeHugger Robot
21fb1ea5b7 Merge "Import translations. DO NOT MERGE" 2016-10-06 09:33:32 +00:00
Bill Yi
5e89159760 Import translations. DO NOT MERGE
Change-Id: I868f49ac497845c70753447f6a965f03e7f7712b
Auto-generated-cl: translation import
2016-10-05 22:15:00 -07:00
Jakub Adamek
9641847eed Improving customization in DeviceDefault themes. am: 426e7a0f83
am: c05369968b

Change-Id: I4a29e1e3380821824cf4c32e394325ef0b39f7a5
2016-10-05 22:54:21 +00:00
Robin Lee
f1ac71dbe2 Merge "Redact work notifications separately from personal" 2016-10-05 14:59:31 +00:00
Jakub Adamek
c05369968b Improving customization in DeviceDefault themes.
am: 426e7a0f83

Change-Id: If548abe061e2005bf8b8598346b4a7fdb382faab
2016-10-05 08:02:15 +00:00
Bill Yi
8e0b71890c Merge "Import translations. DO NOT MERGE" 2016-10-04 18:45:37 +00:00
Jordan Liu
5ffaae6efe Merge "Add editable_voicemail_number key to CarrierConfig" am: 25b64aad01 am: 2b7118fcbf
am: c44e7f3f76

Change-Id: I208e7871029efc1ca331fac3b240d337d00d3189
2016-10-04 18:30:19 +00:00
Jordan Liu
7a99ecfa17 Merge "Remove config in frameworks/base" am: 529f8d7209 am: 32e1d7f6b4
am: 1c4c9c7690

Change-Id: I0c1436660146bcebc573671b4fbc0f95df25b4ab
2016-10-04 18:29:30 +00:00
Jordan Liu
c44e7f3f76 Merge "Add editable_voicemail_number key to CarrierConfig" am: 25b64aad01
am: 2b7118fcbf

Change-Id: I4ca39a58ed1d35eae4a0b8802c027cd0c4c271ee
2016-10-04 18:23:25 +00:00
Jordan Liu
1c4c9c7690 Merge "Remove config in frameworks/base" am: 529f8d7209
am: 32e1d7f6b4

Change-Id: I3016d18369640dfc7336106b2272f737113b133a
2016-10-04 18:22:27 +00:00
Jordan Liu
2b7118fcbf Merge "Add editable_voicemail_number key to CarrierConfig"
am: 25b64aad01

Change-Id: If3ac600a1dbb0dc0aba65af49d271b333b7e6368
2016-10-04 18:17:25 +00:00
Jordan Liu
32e1d7f6b4 Merge "Remove config in frameworks/base"
am: 529f8d7209

Change-Id: I20e8eef28b656fd60da84da00b9d9d566d3b340b
2016-10-04 18:16:30 +00:00
Jordan Liu
25b64aad01 Merge "Add editable_voicemail_number key to CarrierConfig" 2016-10-04 18:07:01 +00:00
Jordan Liu
529f8d7209 Merge "Remove config in frameworks/base" 2016-10-04 18:07:01 +00:00
Jakub Adamek
701e27bb13 Adding customizable background colour support. am: eedebc4850
am: 278a3472dc

Change-Id: I8726e6f635b6204c8e019255255b2eb172cbda9d
2016-10-04 10:18:33 +00:00
Jakub Adamek
278a3472dc Adding customizable background colour support.
am: eedebc4850

Change-Id: I0accdfc75b295bed8e8779d85bb8c48f47595cee
2016-10-04 10:14:30 +00:00
Jakub Adamek
426e7a0f83 Improving customization in DeviceDefault themes.
Changes standard button color to white with 50% alpha.
Fixes background color in radio lists in settings.
Continues in removing duplication of color palette.

Bug: 31391353

Change-Id: I3778c070644e85d50743d34af57103b1a2b636ba
2016-10-04 11:13:47 +01:00
Bill Yi
13c5b3cdb6 Import translations. DO NOT MERGE
Change-Id: I878549c41adbddb91d0daf9d21980ca9f3f45f61
Auto-generated-cl: translation import
2016-10-03 18:13:39 -07:00
Jordan Liu
1ea688153f Remove old configs for default_vm_number
This was migrated to CarrierConfig so no need for old configs in
config.xml/symbols.xml anymore.

Bug: 29873049
Change-Id: I3d5d56a3f79df7b80694ca1f989c4ffe49d82d0f
2016-10-03 11:09:54 -07:00
Jakub Adamek
eedebc4850 Adding customizable background colour support.
Also changes how sub-styles are created: copies the modified properties
like e.g. fullscreen from Material. Previously most sub-styles
inherited from their material counterparts and updated just some colors.
The new approach should be more stable wrt changes in device default
theme. It would need updating when Material is updated but these kind
of properties does not look like it would be updated often.

Bug: 31459804
Change-Id: I78862bf33ca3dac586ad0a25f17bf8c0008a1dd0
2016-10-03 18:45:01 +01:00
TreeHugger Robot
c350547dcf Merge "Import translations. DO NOT MERGE" into cw-f-dev 2016-10-01 08:54:49 +00:00
TreeHugger Robot
f33949680f Merge "Import translations. DO NOT MERGE" 2016-10-01 08:53:47 +00:00
Bill Yi
17ed1e71c8 Import translations. DO NOT MERGE
Change-Id: I5c298541f95a540413c09ee3e6a42f36e627a545
Auto-generated-cl: translation import
2016-09-30 22:52:13 -07:00
Bill Yi
69fa3bcb6c Import translations. DO NOT MERGE
Change-Id: Ia7e6389c2b54eb7e81af07a6d96a815f1cbbc8bd
Auto-generated-cl: translation import
2016-09-30 18:52:22 -07:00
Tyler Gunn
606a3639e9 Increase char limit for string. am: be6919995f am: 93eedcc9f3
am: 3174d3f94b

Change-Id: Ibe789b51cdbe17e303155129f26e10e3d9cfb5d5
2016-10-01 00:15:09 +00:00
Etan Cohen
557fe02484 [NAN] Register WIFI_NAN_STATE_CHANGED as protected broadcast am: 720d175757 am: 083f313756 am: a06821b2cf
am: 1a92c54559

Change-Id: I92d50b5caa6f2aab0b2341957d614210b35b1e66
2016-10-01 00:03:38 +00:00
Jordan Liu
894da5acb9 Merge "Add config_carrier_wfc_ims_available to config.xml" am: d1d682e446 am: 4fe680f920 am: 0af8ddf661
am: 456edab6e5

Change-Id: I2339f2d669aaa756f26d0843bf1a3c85cb7a9656
2016-09-30 23:50:02 +00:00
Tyler Gunn
3174d3f94b Increase char limit for string. am: be6919995f
am: 93eedcc9f3

Change-Id: I0130cdd92b8d339290271a58101ab1e436d46933
2016-09-30 22:44:26 +00:00
Tyler Gunn
93eedcc9f3 Increase char limit for string.
am: be6919995f

Change-Id: Iefde844a66eec33f6c2b85262c80952dd82821fc
2016-09-30 22:35:38 +00:00
Etan Cohen
1a92c54559 [NAN] Register WIFI_NAN_STATE_CHANGED as protected broadcast am: 720d175757 am: 083f313756
am: a06821b2cf

Change-Id: I23d1aee5e8cf1134ea03e7a3b4f32fe931855f14
2016-09-30 21:14:30 +00:00
Etan Cohen
a06821b2cf [NAN] Register WIFI_NAN_STATE_CHANGED as protected broadcast am: 720d175757
am: 083f313756

Change-Id: I2fee098345991d73c8bfc5cedff4c1799628524e
2016-09-30 21:05:20 +00:00
Etan Cohen
083f313756 [NAN] Register WIFI_NAN_STATE_CHANGED as protected broadcast
am: 720d175757

Change-Id: I5916af955c4452afe07a7fa35e8229aa53f56638
2016-09-30 20:56:54 +00:00
Etan Cohen
e3d5fa1094 Merge changes from topic 'cherry-pick'
* changes:
  [NAN] Register WIFI_NAN_STATE_CHANGED as protected broadcast
  [NAN] Update API javadoc to clarify NAN status change broadcast scope
2016-09-30 20:45:02 +00:00
Jordan Liu
456edab6e5 Merge "Add config_carrier_wfc_ims_available to config.xml" am: d1d682e446 am: 4fe680f920
am: 0af8ddf661

Change-Id: I24c1eea9828a2f1c4e6008e7a79f7440b9df0b0b
2016-09-30 19:01:38 +00:00
Jordan Liu
0af8ddf661 Merge "Add config_carrier_wfc_ims_available to config.xml" am: d1d682e446
am: 4fe680f920

Change-Id: I180db3ee55eb43d66e3eef89b3e6c1c57fc25cf2
2016-09-30 18:57:24 +00:00
Jordan Liu
4fe680f920 Merge "Add config_carrier_wfc_ims_available to config.xml"
am: d1d682e446

Change-Id: I78e496cd8d01f283cfb9a737b155b0dab4984b67
2016-09-30 18:50:24 +00:00
Etan Cohen
720d175757 [NAN] Register WIFI_NAN_STATE_CHANGED as protected broadcast
Broadcast can be registered protected (as in this CL) in which case they
are restricted to system apps. Broadcasts sent by the System Service must
be protected (so no one else can fake them).

The WIFI_NAN_STATE_CHANGED is sent by the System Service and no other apps
should be able to send them (e.g. to deny access to NAN to other apps).

(cherry-pick of commit b8ce87175e3a865feaad7c6aa49226f768729540)

Bug: 31811154
Test: build & run - enable/disable Wi-Fi to trigger bug
Change-Id: I77ea18291d68c38a63d64a75affc6b7ea114e549
2016-09-30 11:32:18 -07:00
Jordan Liu
786e4f7d23 Add config_carrier_wfc_ims_available to config.xml
The migration of this config to CarrierConfig breaks the build on
certain devices, so we should leave the original config in.

Bug: 29873049
Change-Id: I2f526c37198359de7adec4cfd4c391ccaa8ab0be
2016-09-30 09:43:49 -07:00
Tyler Gunn
be6919995f Increase char limit for string.
Translation requested an increase in the char limit for this string;
there is plenty of room so increasing to 50.

Bug: 31814596
Change-Id: I07e1b51ad9335b961ce503233b13c008e9bcda2d
2016-09-30 09:40:26 -07:00
Jordan Liu
3643dd1a7a Add editable_voicemail_number key to CarrierConfig
Add KEY_EDITABLE_VOICEMAIL_NUMBER_BOOL and default value to
CarrierConfigManager, and remove the references to the old config in
core/res/res/values/[config.xml/symbols.xml]

This value exists to fix http://b/14093735. If a SIM card has no
voicemail number available, since the default number is empty, we allow
users to edit the voicemail number when this flag is true.
Merged-In: I68a494e2176306e4e9181a8ccb0aa818f3e08154

Bug: 29873049
Change-Id: I68a494e2176306e4e9181a8ccb0aa818f3e08154
2016-09-29 17:21:15 -07:00
Jordan Liu
f93beccd12 Merge "Remove migrated config_carrier_wfc_ims_available" am: 5d71e2d671 am: 86cdc8f330
am: d6efda6957

Change-Id: Ic582e40064cfd28e3eaf036af4b34b016cee07ec
2016-09-29 23:51:16 +00:00
Jordan Liu
d5c4c61639 Merge "Remove configs in frameworks/base" am: 8abf78dc58 am: 3a25b32a69
am: e956291c58

Change-Id: Idb7dcbe5fb26cc106d8a92f7c4d8ff9b951021fb
2016-09-29 23:47:18 +00:00
Jordan Liu
edc05eeccf Remove config in frameworks/base
Remove old config within frameworks/base. With move to CarrierConfig no
need for the old editable_voicemailnumber resources.
Merged-In: Ib70ac5f488b45f32b705e471478e13802ebe9dd7

Bug: 29873049
Change-Id: Ib70ac5f488b45f32b705e471478e13802ebe9dd7
2016-09-29 16:05:30 -07:00
Jordan Liu
d6efda6957 Merge "Remove migrated config_carrier_wfc_ims_available" am: 5d71e2d671
am: 86cdc8f330

Change-Id: Ib3a4b1bf5eb649a67885c035e1222560b67926c7
2016-09-29 23:01:06 +00:00
Jordan Liu
86cdc8f330 Merge "Remove migrated config_carrier_wfc_ims_available"
am: 5d71e2d671

Change-Id: Iaf50b529303f8449b776c33942175953ff0fc6e1
2016-09-29 22:57:28 +00:00
Jordan Liu
5d71e2d671 Merge "Remove migrated config_carrier_wfc_ims_available" 2016-09-29 22:50:15 +00:00
Jordan Liu
07c5bd1826 Merge "Remove dial_string_replace configs" am: c95c2344b5 am: 90ca3ff5e6
am: 8a9bed1c93

Change-Id: Idb3ece6de72b8e4293e69dfb6de2407b3be02cdd
2016-09-29 18:16:54 +00:00