OSDN Git Service

android-x86/frameworks-base.git
8 years agoDO NOT MERGE Redact Account info from getCurrentSyncs am: a5cafd2a93 am: 06ef7dfdf0...
Matthew Williams [Thu, 21 Jan 2016 19:25:51 +0000 (19:25 +0000)]
DO NOT MERGE Redact Account info from getCurrentSyncs am: a5cafd2a93 am: 06ef7dfdf0 am: 5fc753acaf  -s ours am: 0d3e46391a am: 9c841923df  -s ours am: a76208d4e4 am: 9e52b29fe2 am: 1f6dbd910b  -s ours am: 5cb2597a9d am: 08d7e9608e am: c151cec56e am: 4831ef3872
am: d877135d61

* commit 'd877135d616321b4b3013b302e8615a8f8b04ffa':
  DO NOT MERGE Redact Account info from getCurrentSyncs

8 years agoDO NOT MERGE Redact Account info from getCurrentSyncs am: a5cafd2a93 am: 06ef7dfdf0...
Matthew Williams [Thu, 21 Jan 2016 19:20:31 +0000 (19:20 +0000)]
DO NOT MERGE Redact Account info from getCurrentSyncs am: a5cafd2a93 am: 06ef7dfdf0 am: 5fc753acaf  -s ours am: 0d3e46391a am: 9c841923df  -s ours am: a76208d4e4 am: 9e52b29fe2 am: 1f6dbd910b  -s ours am: 5cb2597a9d am: 08d7e9608e am: c151cec56e
am: 4831ef3872

* commit '4831ef3872f7f5c5d2ea0838f0958412e3833aeb':
  DO NOT MERGE Redact Account info from getCurrentSyncs

8 years agoDO NOT MERGE Redact Account info from getCurrentSyncs am: a5cafd2a93 am: 06ef7dfdf0...
Matthew Williams [Thu, 21 Jan 2016 19:13:32 +0000 (19:13 +0000)]
DO NOT MERGE Redact Account info from getCurrentSyncs am: a5cafd2a93 am: 06ef7dfdf0 am: 5fc753acaf  -s ours am: 0d3e46391a am: 9c841923df  -s ours am: a76208d4e4 am: 9e52b29fe2 am: 1f6dbd910b  -s ours am: 5cb2597a9d am: 08d7e9608e
am: c151cec56e

* commit 'c151cec56ec3666b5bb20e8cf7c3dca2500ea353':
  DO NOT MERGE Redact Account info from getCurrentSyncs

8 years agoDO NOT MERGE Redact Account info from getCurrentSyncs am: a5cafd2a93 am: 06ef7dfdf0...
Matthew Williams [Thu, 21 Jan 2016 19:08:07 +0000 (19:08 +0000)]
DO NOT MERGE Redact Account info from getCurrentSyncs am: a5cafd2a93 am: 06ef7dfdf0 am: 5fc753acaf  -s ours am: 0d3e46391a am: 9c841923df  -s ours am: a76208d4e4 am: 9e52b29fe2 am: 1f6dbd910b  -s ours am: 5cb2597a9d
am: 08d7e9608e

* commit '08d7e9608ea822815b15be15a66f26be664ce541':
  DO NOT MERGE Redact Account info from getCurrentSyncs

8 years agoDO NOT MERGE Redact Account info from getCurrentSyncs am: a5cafd2a93 am: 06ef7dfdf0...
Matthew Williams [Thu, 21 Jan 2016 19:01:02 +0000 (19:01 +0000)]
DO NOT MERGE Redact Account info from getCurrentSyncs am: a5cafd2a93 am: 06ef7dfdf0 am: 5fc753acaf  -s ours am: 0d3e46391a am: 9c841923df  -s ours am: a76208d4e4 am: 9e52b29fe2 am: 1f6dbd910b  -s ours
am: 5cb2597a9d

* commit '5cb2597a9da3202229fdbc91c12b8e172b2b5667':
  DO NOT MERGE Redact Account info from getCurrentSyncs

8 years agoDO NOT MERGE Redact Account info from getCurrentSyncs am: a5cafd2a93 am: 06ef7dfdf0...
Matthew Williams [Thu, 21 Jan 2016 18:54:44 +0000 (18:54 +0000)]
DO NOT MERGE Redact Account info from getCurrentSyncs am: a5cafd2a93 am: 06ef7dfdf0 am: 5fc753acaf  -s ours am: 0d3e46391a am: 9c841923df  -s ours am: a76208d4e4 am: 9e52b29fe2
am: 1f6dbd910b  -s ours

* commit '1f6dbd910bf9bf93df8a708209e92add61fbff44':
  DO NOT MERGE Redact Account info from getCurrentSyncs

8 years agoDO NOT MERGE Redact Account info from getCurrentSyncs am: a5cafd2a93 am: 06ef7dfdf0...
Matthew Williams [Thu, 21 Jan 2016 18:48:55 +0000 (18:48 +0000)]
DO NOT MERGE Redact Account info from getCurrentSyncs am: a5cafd2a93 am: 06ef7dfdf0 am: 5fc753acaf  -s ours am: 0d3e46391a am: 9c841923df  -s ours am: a76208d4e4
am: 9e52b29fe2

* commit '9e52b29fe27035df4720db582637157ce9ce268d':
  DO NOT MERGE Redact Account info from getCurrentSyncs

8 years agoDO NOT MERGE Redact Account info from getCurrentSyncs am: a5cafd2a93 am: 06ef7dfdf0...
Matthew Williams [Thu, 21 Jan 2016 18:41:55 +0000 (18:41 +0000)]
DO NOT MERGE Redact Account info from getCurrentSyncs am: a5cafd2a93 am: 06ef7dfdf0 am: 5fc753acaf  -s ours am: 0d3e46391a am: 9c841923df  -s ours
am: a76208d4e4

* commit 'a76208d4e4f7f690f5fde4210a00a5c3022721bd':
  DO NOT MERGE Redact Account info from getCurrentSyncs

8 years agoDO NOT MERGE Redact Account info from getCurrentSyncs am: a5cafd2a93 am: 06ef7dfdf0...
Matthew Williams [Thu, 21 Jan 2016 18:37:01 +0000 (18:37 +0000)]
DO NOT MERGE Redact Account info from getCurrentSyncs am: a5cafd2a93 am: 06ef7dfdf0 am: 5fc753acaf  -s ours am: 0d3e46391a
am: 9c841923df  -s ours

* commit '9c841923dfc36db046909e388b8a2fda3b694be1':
  DO NOT MERGE Redact Account info from getCurrentSyncs

8 years agoDO NOT MERGE Redact Account info from getCurrentSyncs am: a5cafd2a93 am: 06ef7dfdf0...
Matthew Williams [Thu, 21 Jan 2016 18:29:33 +0000 (18:29 +0000)]
DO NOT MERGE Redact Account info from getCurrentSyncs am: a5cafd2a93 am: 06ef7dfdf0 am: 5fc753acaf  -s ours
am: 0d3e46391a

* commit '0d3e46391a0ffa0c428b8c8082195d1cbc4b1efa':
  DO NOT MERGE Redact Account info from getCurrentSyncs

8 years agoDO NOT MERGE Redact Account info from getCurrentSyncs am: a5cafd2a93 am: 06ef7dfdf0
Matthew Williams [Thu, 21 Jan 2016 18:19:53 +0000 (18:19 +0000)]
DO NOT MERGE Redact Account info from getCurrentSyncs am: a5cafd2a93 am: 06ef7dfdf0
am: 5fc753acaf  -s ours

* commit '5fc753acaf9731742957db256b2818376fe8c4a4':
  DO NOT MERGE Redact Account info from getCurrentSyncs

8 years agoDO NOT MERGE Redact Account info from getCurrentSyncs am: a5cafd2a93
Matthew Williams [Thu, 21 Jan 2016 18:14:32 +0000 (18:14 +0000)]
DO NOT MERGE Redact Account info from getCurrentSyncs am: a5cafd2a93
am: 06ef7dfdf0

* commit '06ef7dfdf0a3efb44326228c55309ec6df134376':
  DO NOT MERGE Redact Account info from getCurrentSyncs

8 years agoDO NOT MERGE Redact Account info from getCurrentSyncs
Matthew Williams [Thu, 21 Jan 2016 18:07:55 +0000 (18:07 +0000)]
DO NOT MERGE Redact Account info from getCurrentSyncs
am: a5cafd2a93

* commit 'a5cafd2a93ce1c481328e2ce25c3bf2a19b81601':
  DO NOT MERGE Redact Account info from getCurrentSyncs

8 years agoMerge "org.apache.conn.ssl: rename DistinguishedNameParser to AndroidDistinguishedNam...
Sergio Giro [Thu, 21 Jan 2016 17:20:41 +0000 (17:20 +0000)]
Merge "org.apache.conn.ssl: rename DistinguishedNameParser to AndroidDistinguishedNameParser"
am: eb93182dfb

* commit 'eb93182dfb862df27e479d30c7b8e12f13e5def5':
  org.apache.conn.ssl: rename DistinguishedNameParser to AndroidDistinguishedNameParser

8 years agoMerge "org.apache.conn.ssl: rename DistinguishedNameParser to AndroidDistinguishedNam...
Sergio Giro [Thu, 21 Jan 2016 17:08:21 +0000 (17:08 +0000)]
Merge "org.apache.conn.ssl: rename DistinguishedNameParser to AndroidDistinguishedNameParser"

8 years agoorg.apache.conn.ssl: rename DistinguishedNameParser to AndroidDistinguishedNameParser
Sergio Giro [Thu, 21 Jan 2016 15:25:01 +0000 (15:25 +0000)]
org.apache.conn.ssl: rename DistinguishedNameParser to AndroidDistinguishedNameParser

The name DistinguishedNameParser is used by other libraries having the
same package, and some apps incorrectly include packages that are
present in the boot classpath. This relatively newly introduced
DistinguishedNameParser ends up hiding the ones in the libraries.

Bug: 26647082
Change-Id: I735aef3c1e5dd04e5a8e2eda6da6d9c9179f1c70

8 years agoDO NOT MERGE Redact Account info from getCurrentSyncs
Matthew Williams [Tue, 19 Jan 2016 23:04:04 +0000 (23:04 +0000)]
DO NOT MERGE Redact Account info from getCurrentSyncs

BUG:26094635
If the caller to ContentResolver#getCurrentSyncs does not hold the
GET_ACCOUNTS permission, return a SyncInfo object that does not
contain any Account information.

Change-Id: I5628ebe1f56c8e3f784aaf1b3281e6b829d19314
(cherry picked from commit b63057e698a01dafcefc7ba09b397b0336bba43d)

8 years agoFix SystemUI animator leak am: 3c988197fa
Jorim Jaggi [Thu, 21 Jan 2016 05:38:53 +0000 (05:38 +0000)]
Fix SystemUI animator leak am: 3c988197fa
am: 7a1c656269

* commit '7a1c6562694faaee4bf30a3b06573e96e93034ff':
  Fix SystemUI animator leak

8 years agoFix SystemUI animator leak
Jorim Jaggi [Thu, 21 Jan 2016 05:34:13 +0000 (05:34 +0000)]
Fix SystemUI animator leak
am: 3c988197fa

* commit '3c988197fac989e4cca7fd1a96f6489e8ed4a05b':
  Fix SystemUI animator leak

8 years agoFix SystemUI animator leak
Jorim Jaggi [Wed, 20 Jan 2016 00:32:17 +0000 (16:32 -0800)]
Fix SystemUI animator leak

When there was a state change or layout when there was an animation
set as the mobile icon in the status bar, we never stopped the old
animation, which was infinite. This was using more and more CPU because
the animations never got stopped.

To fix this, we don't update the drawable when a layout happens and we
stop the previous animation when replacing the icon.

Bug: 26616870
Change-Id: If501155d1a99d587e50a1b77ebb03a21c940662b

8 years agoMerge "Fix bug in AssetAtlas packing loop" into cw-e-dev am: b2b2fb0182 am: 8d6f1956e4
Chenjie Luo [Thu, 21 Jan 2016 00:33:46 +0000 (00:33 +0000)]
Merge "Fix bug in AssetAtlas packing loop" into cw-e-dev am: b2b2fb0182 am: 8d6f1956e4
am: bf9a587ca8

* commit 'bf9a587ca8528219e46fc35746d6ec8a8e6568d1':
  Fix bug in AssetAtlas packing loop

8 years agoMerge "Fix bug in AssetAtlas packing loop" into cw-e-dev am: b2b2fb0182
Chenjie Luo [Thu, 21 Jan 2016 00:11:23 +0000 (00:11 +0000)]
Merge "Fix bug in AssetAtlas packing loop" into cw-e-dev am: b2b2fb0182
am: 8d6f1956e4

* commit '8d6f1956e46cefed0eaa754a468805e2e4d61972':
  Fix bug in AssetAtlas packing loop

8 years agoMerge "Fix bug in AssetAtlas packing loop" into cw-e-dev
Chenjie Luo [Wed, 20 Jan 2016 23:55:34 +0000 (23:55 +0000)]
Merge "Fix bug in AssetAtlas packing loop" into cw-e-dev
am: b2b2fb0182

* commit 'b2b2fb018243831144929b1db9db9b8eeab8d984':
  Fix bug in AssetAtlas packing loop

8 years agoMerge "Fix bug in AssetAtlas packing loop" into cw-e-dev
Chenjie Luo [Wed, 20 Jan 2016 23:38:46 +0000 (23:38 +0000)]
Merge "Fix bug in AssetAtlas packing loop" into cw-e-dev

8 years agoFix bug in AssetAtlas packing loop
Chenjie Luo [Wed, 20 Jan 2016 21:25:11 +0000 (13:25 -0800)]
Fix bug in AssetAtlas packing loop

There is a bug in AssetAtlasService that it always choose the
MAX_SIZE as height. The for loop of height calculation starts
from MAX_SIZE and breaks when it finds a working texture. This
means the height loop will always break for the initial value.
Reording the loop optimize the algorithm to find a smaller
atlas texture. The MIN_SIZE is also changed to 512 for fewer
assets case.

Bug: 26429912
Change-Id: Ic0b2396e9697c417a24f81ec792f8a8af53915ad

8 years agoRedact Account info from getCurrentSyncs am: f39549e389 am: 1a0aed3257 am: 0e7cd0a9fb...
Matthew Williams [Wed, 20 Jan 2016 18:44:07 +0000 (18:44 +0000)]
Redact Account info from getCurrentSyncs am: f39549e389 am: 1a0aed3257 am: 0e7cd0a9fb am: be136b7a3e am: a947baa87c am: 0f292147f3 am: ce3842eb1a am: 85f169d19f am: c77a2228aa
am: 4cc10825f0

* commit '4cc10825f0234d365016a18e1f86d61cbd2fd030':
  Redact Account info from getCurrentSyncs

8 years agoRedact Account info from getCurrentSyncs am: f39549e389 am: 1a0aed3257 am: 0e7cd0a9fb...
Matthew Williams [Wed, 20 Jan 2016 18:38:50 +0000 (18:38 +0000)]
Redact Account info from getCurrentSyncs am: f39549e389 am: 1a0aed3257 am: 0e7cd0a9fb am: be136b7a3e am: a947baa87c am: 0f292147f3 am: ce3842eb1a am: 85f169d19f
am: c77a2228aa

* commit 'c77a2228aa66a1d2b1e497c193604de0717ec3c7':
  Redact Account info from getCurrentSyncs

8 years agoRedact Account info from getCurrentSyncs am: f39549e389 am: 1a0aed3257 am: 0e7cd0a9fb...
Matthew Williams [Wed, 20 Jan 2016 18:31:19 +0000 (18:31 +0000)]
Redact Account info from getCurrentSyncs am: f39549e389 am: 1a0aed3257 am: 0e7cd0a9fb am: be136b7a3e am: a947baa87c am: 0f292147f3 am: ce3842eb1a
am: 85f169d19f

* commit '85f169d19f200daa35a30652905d6daf090955c6':
  Redact Account info from getCurrentSyncs

8 years agoRedact Account info from getCurrentSyncs am: f39549e389 am: 1a0aed3257 am: 0e7cd0a9fb...
Matthew Williams [Wed, 20 Jan 2016 18:08:33 +0000 (18:08 +0000)]
Redact Account info from getCurrentSyncs am: f39549e389 am: 1a0aed3257 am: 0e7cd0a9fb am: be136b7a3e am: a947baa87c am: 0f292147f3
am: ce3842eb1a

* commit 'ce3842eb1a5184331ee4aad3e36d5f11f999cf2e':
  Redact Account info from getCurrentSyncs

8 years agoImport translations. DO NOT MERGE am: a341d639a7 -s ours
Geoff Mendal [Wed, 20 Jan 2016 17:51:10 +0000 (17:51 +0000)]
Import translations. DO NOT MERGE am: a341d639a7  -s ours
am: 79b3e943ca  -s ours

* commit '79b3e943ca244b91f397475fbf898b47ceaf1ba8':
  Import translations. DO NOT MERGE

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 20 Jan 2016 17:45:43 +0000 (17:45 +0000)]
Import translations. DO NOT MERGE
am: ce64efc199  -s ours

* commit 'ce64efc1994e7fe8a17489d7f48985b72e9f4770':
  Import translations. DO NOT MERGE

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 20 Jan 2016 17:42:58 +0000 (17:42 +0000)]
Import translations. DO NOT MERGE
am: a341d639a7  -s ours

* commit 'a341d639a7d093fb36850956cd9b3738b72ecfc2':
  Import translations. DO NOT MERGE

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 20 Jan 2016 15:12:24 +0000 (10:12 -0500)]
Import translations. DO NOT MERGE

Change-Id: I3902d341ef58ad3b1d0da111d06384eb60c795ce
Auto-generated-cl: translation import

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 20 Jan 2016 14:33:02 +0000 (09:33 -0500)]
Import translations. DO NOT MERGE

Change-Id: I875bc3fe8f82fe0b29867e9d4790b2e57c4df566
Auto-generated-cl: translation import

8 years agoRedact Account info from getCurrentSyncs am: f39549e389 am: 1a0aed3257 am: 0e7cd0a9fb...
Matthew Williams [Wed, 20 Jan 2016 11:55:52 +0000 (11:55 +0000)]
Redact Account info from getCurrentSyncs am: f39549e389 am: 1a0aed3257 am: 0e7cd0a9fb am: be136b7a3e am: a947baa87c
am: 0f292147f3

* commit '0f292147f3ac803a8701afd7362ad3e0487fd496':
  Redact Account info from getCurrentSyncs

8 years agoRedact Account info from getCurrentSyncs am: f39549e389 am: 1a0aed3257 am: 0e7cd0a9fb...
Matthew Williams [Wed, 20 Jan 2016 11:51:42 +0000 (11:51 +0000)]
Redact Account info from getCurrentSyncs am: f39549e389 am: 1a0aed3257 am: 0e7cd0a9fb am: be136b7a3e
am: a947baa87c

* commit 'a947baa87caeb6733846d6de4ef2bf84f7ab0fa1':
  Redact Account info from getCurrentSyncs

8 years agoRedact Account info from getCurrentSyncs am: f39549e389 am: 1a0aed3257 am: 0e7cd0a9fb
Matthew Williams [Wed, 20 Jan 2016 11:46:39 +0000 (11:46 +0000)]
Redact Account info from getCurrentSyncs am: f39549e389 am: 1a0aed3257 am: 0e7cd0a9fb
am: be136b7a3e

* commit 'be136b7a3e3f117dea283d194d1e6979fb47662b':
  Redact Account info from getCurrentSyncs

8 years agoRedact Account info from getCurrentSyncs am: f39549e389 am: 1a0aed3257
Matthew Williams [Wed, 20 Jan 2016 11:41:23 +0000 (11:41 +0000)]
Redact Account info from getCurrentSyncs am: f39549e389 am: 1a0aed3257
am: 0e7cd0a9fb

* commit '0e7cd0a9fbdcb48c551d54627eb964364dd946d0':
  Redact Account info from getCurrentSyncs

8 years agoRedact Account info from getCurrentSyncs am: f39549e389
Matthew Williams [Wed, 20 Jan 2016 11:37:17 +0000 (11:37 +0000)]
Redact Account info from getCurrentSyncs am: f39549e389
am: 1a0aed3257

* commit '1a0aed3257ad1b8216930928090885cf4210bd87':
  Redact Account info from getCurrentSyncs

8 years agoRedact Account info from getCurrentSyncs
Matthew Williams [Wed, 20 Jan 2016 11:32:56 +0000 (11:32 +0000)]
Redact Account info from getCurrentSyncs
am: f39549e389

* commit 'f39549e389edf62f43bacd95a1b8580d75ad77ed':
  Redact Account info from getCurrentSyncs

8 years agoMerge "Add support for AVRCP 1.3."
Sanket Agarwal [Wed, 20 Jan 2016 01:25:04 +0000 (01:25 +0000)]
Merge "Add support for AVRCP 1.3."
am: 168f2e556b

* commit '168f2e556b7222fd0dab7eadc4ceee2eca13be1a':
  Add support for AVRCP 1.3.

8 years agoMerge "Add support for AVRCP 1.3."
Sanket Agarwal [Wed, 20 Jan 2016 00:23:38 +0000 (00:23 +0000)]
Merge "Add support for AVRCP 1.3."

8 years agoRedact Account info from getCurrentSyncs
Matthew Williams [Tue, 19 Jan 2016 23:04:04 +0000 (23:04 +0000)]
Redact Account info from getCurrentSyncs

BUG:26094635
If the caller to ContentResolver#getCurrentSyncs does not hold the
GET_ACCOUNTS permission, return a SyncInfo object that does not
contain any Account information.

Change-Id: I5628ebe1f56c8e3f784aaf1b3281e6b829d19314
(cherry picked from commit b63057e698a01dafcefc7ba09b397b0336bba43d)

8 years agoAdd support for AVRCP 1.3.
Sanket Agarwal [Thu, 22 Oct 2015 01:23:27 +0000 (18:23 -0700)]
Add support for AVRCP 1.3.

* Add metadata support.
* Add player settings support.
* Add playback support.

A2DP Settings App support.

Bluetooth: A2DP Sink support for Settings App

- add support for A2DP Sink in Settings App. This will enable connection
  initiation and updation on Settings App
- add framework Apis to support A2DP Sink. Any third party Apps can access
  A2DP Sink priority of device and playing state of device
- add support for key to set priority. This manages priority of device for
  A2DP Sink profile

Change-Id: If5f9139f37cdb9d200387877c7801075205c78a0

8 years agoMerge "Revert "Get animation update timing for AVD"" into mnc-dr1.5-dev am: a466e15223
Doris Liu [Tue, 19 Jan 2016 20:15:14 +0000 (20:15 +0000)]
Merge "Revert "Get animation update timing for AVD"" into mnc-dr1.5-dev am: a466e15223
am: 22116275aa

* commit '22116275aa2b7184c65b14c3e92455d76d3c67d4':
  Revert "Get animation update timing for AVD"

8 years agoMerge "Revert "Get animation update timing for AVD"" into mnc-dr1.5-dev
Doris Liu [Tue, 19 Jan 2016 20:04:36 +0000 (20:04 +0000)]
Merge "Revert "Get animation update timing for AVD"" into mnc-dr1.5-dev
am: a466e15223

* commit 'a466e15223ad64c5ae5d81e51f571fc45f606920':
  Revert "Get animation update timing for AVD"

8 years agoMerge "Revert "Get animation update timing for AVD"" into mnc-dr1.5-dev
Doris Liu [Tue, 19 Jan 2016 19:59:53 +0000 (19:59 +0000)]
Merge "Revert "Get animation update timing for AVD"" into mnc-dr1.5-dev

8 years agoRevert "Get animation update timing for AVD"
Doris Liu [Tue, 19 Jan 2016 19:50:18 +0000 (19:50 +0000)]
Revert "Get animation update timing for AVD"

This reverts commit fc8e3cb768b7dfd7c0ed0fb93dd9d735887e8d45.

Bug: 26616870
Change-Id: I2f018cb34f014f4ebb635e18cd940997507a4a4d

8 years agoMerge "fix race condition between HWUI cache and renderThread"
John Reck [Tue, 19 Jan 2016 18:38:11 +0000 (18:38 +0000)]
Merge "fix race condition between HWUI cache and renderThread"
am: 2c2b5e8514

* commit '2c2b5e8514247d8524778d209f26b7dbde19d142':
  fix race condition between HWUI cache and renderThread

8 years agoMerge "fix race condition between HWUI cache and renderThread"
John Reck [Tue, 19 Jan 2016 18:29:30 +0000 (18:29 +0000)]
Merge "fix race condition between HWUI cache and renderThread"

8 years agofix race condition between HWUI cache and renderThread
Thomas Buhot [Mon, 18 Jan 2016 09:31:58 +0000 (10:31 +0100)]
fix race condition between HWUI cache and renderThread

getMaximumBitmapWidth() and getMaximumBitmapHeight() of DisplayListCanvas
need HWUI cache instance. Since the initialization of the cache is
asynchronous it may crash if not yet ready. Add a staticFence() call
to guarantee the cache has been created prior issuing the call.

Change-Id: I5ed9e5cc084444c8d1872a77fef50e294ae14e93
Signed-off-by: Thomas Buhot <thomas.buhot@intel.com>
Signed-off-by: Zhiquan Liu <zhiquan.liu@intel.com>
8 years agoMerge "Import translations. DO NOT MERGE" into mnc-dr2-dev
Geoff Mendal [Mon, 18 Jan 2016 15:26:34 +0000 (15:26 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dr2-dev
am: 7819c3b859  -s ours

* commit '7819c3b8591035426eb9b5706f816a95644422ea':
  Import translations. DO NOT MERGE

8 years agoMerge "Import translations. DO NOT MERGE" into mnc-dr2-dev
Geoff Mendal [Mon, 18 Jan 2016 15:23:52 +0000 (15:23 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dr2-dev

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 18 Jan 2016 15:19:19 +0000 (10:19 -0500)]
Import translations. DO NOT MERGE

Change-Id: I581155468832227ff209fc60743a2735b34f91a2
Auto-generated-cl: translation import

8 years agoImport translations. DO NOT MERGE am: 6168c078ae -s ours
Geoff Mendal [Mon, 18 Jan 2016 14:51:47 +0000 (14:51 +0000)]
Import translations. DO NOT MERGE am: 6168c078ae  -s ours
am: 0745fe8db2  -s ours

* commit '0745fe8db2fc6d8fd2b4d3f57b769ae5bf0f3a0a':
  Import translations. DO NOT MERGE

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 18 Jan 2016 14:47:10 +0000 (14:47 +0000)]
Import translations. DO NOT MERGE
am: 6168c078ae  -s ours

* commit '6168c078aebc9cc3a371fb1165681c3b40e1b2f0':
  Import translations. DO NOT MERGE

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 18 Jan 2016 14:41:08 +0000 (09:41 -0500)]
Import translations. DO NOT MERGE

Change-Id: I0ff7336ca90107f45266090de0ffc634daa54722
Auto-generated-cl: translation import

8 years agoMerge "Supply content description for QS disconnect buttons" into mnc-dr1.5-dev am...
Thierry Strudel [Fri, 15 Jan 2016 23:51:19 +0000 (23:51 +0000)]
Merge "Supply content description for QS disconnect buttons" into mnc-dr1.5-dev am: fc7e682f44
am: f4dd31755a

* commit 'f4dd31755a31a2eea6e363a1ab45a4a8634e27ed':
  Supply content description for QS disconnect buttons

8 years agoMerge "Supply content description for QS disconnect buttons" into mnc-dr1.5-dev
Thierry Strudel [Fri, 15 Jan 2016 23:47:53 +0000 (23:47 +0000)]
Merge "Supply content description for QS disconnect buttons" into mnc-dr1.5-dev
am: fc7e682f44

* commit 'fc7e682f445fbf358e59205912229b63c5fadda4':
  Supply content description for QS disconnect buttons

8 years agoMerge "Supply content description for QS disconnect buttons" into mnc-dr1.5-dev
Thierry Strudel [Fri, 15 Jan 2016 23:44:45 +0000 (23:44 +0000)]
Merge "Supply content description for QS disconnect buttons" into mnc-dr1.5-dev

8 years agoMerge "Stop leaking Notifications when they change groupKeys." into mnc-dr1.5-dev...
Daniel Sandler [Fri, 15 Jan 2016 21:18:20 +0000 (21:18 +0000)]
Merge "Stop leaking Notifications when they change groupKeys." into mnc-dr1.5-dev am: 76f28bbd64
am: 3be84505f4

* commit '3be84505f41e58125b4449f0506d518bd2f1ae95':
  Stop leaking Notifications when they change groupKeys.

8 years agoMerge "Stop leaking Notifications when they change groupKeys." into mnc-dr1.5-dev
Daniel Sandler [Fri, 15 Jan 2016 21:14:01 +0000 (21:14 +0000)]
Merge "Stop leaking Notifications when they change groupKeys." into mnc-dr1.5-dev
am: 76f28bbd64

* commit '76f28bbd64a6841a91d4890d7a248411fd95b149':
  Stop leaking Notifications when they change groupKeys.

8 years agoMerge "Stop leaking Notifications when they change groupKeys." into mnc-dr1.5-dev
Daniel Sandler [Fri, 15 Jan 2016 21:05:41 +0000 (21:05 +0000)]
Merge "Stop leaking Notifications when they change groupKeys." into mnc-dr1.5-dev

8 years agoMerge "Make the appropriate cast to protect from mingw."
Dan Albert [Fri, 15 Jan 2016 21:02:29 +0000 (21:02 +0000)]
Merge "Make the appropriate cast to protect from mingw."
am: dbf8c17bd2

* commit 'dbf8c17bd20c3c5b4ba99242afa8b714841914d1':
  Make the appropriate cast to protect from mingw.

8 years agoMerge "Make the appropriate cast to protect from mingw."
Dan Albert [Fri, 15 Jan 2016 20:41:23 +0000 (20:41 +0000)]
Merge "Make the appropriate cast to protect from mingw."

8 years agoMake the appropriate cast to protect from mingw.
Dan Albert [Fri, 15 Jan 2016 20:16:06 +0000 (12:16 -0800)]
Make the appropriate cast to protect from mingw.

As the comment at the top of the file says:

    STATUST: mingw does seem to redefine UNKNOWN_ERROR from our enum
    value, so a cast is necessary.

Bug: http://b/26523949
Change-Id: I9d86cafdc47bbb9ce0e967cdde9315babc083432

8 years agoMerge "Add thread safety documentation"
Neil Fuller [Fri, 15 Jan 2016 16:36:34 +0000 (16:36 +0000)]
Merge "Add thread safety documentation"
am: b3ea05a56e

* commit 'b3ea05a56ea980541d328ab7534a2da230d62c06':
  Add thread safety documentation

8 years agoMerge "Fix @code escapes"
Neil Fuller [Fri, 15 Jan 2016 16:31:40 +0000 (16:31 +0000)]
Merge "Fix @code escapes"
am: b0d92f4717

* commit 'b0d92f4717af4e4736dc80b2a822dae8e5a52587':
  Fix @code escapes

8 years agoMerge "Add thread safety documentation"
Neil Fuller [Fri, 15 Jan 2016 16:27:16 +0000 (16:27 +0000)]
Merge "Add thread safety documentation"

8 years agoAdd thread safety documentation
Neil Fuller [Tue, 24 Nov 2015 18:19:06 +0000 (18:19 +0000)]
Add thread safety documentation

An upcoming change will remove "synchronized" from the API docs. This change
documents those cases where the guarantees can be determined from code
inspection.

Bug: 25767152
(cherry-picked from commit bf0dc0fba790cf95f76870c37469703f8f20a57c)

Change-Id: I328b96328e89950b90d537bf0a6a704242de4993

8 years agoMerge "Fix @code escapes"
Neil Fuller [Fri, 15 Jan 2016 16:22:16 +0000 (16:22 +0000)]
Merge "Fix @code escapes"

8 years agoFix @code escapes
Neil Fuller [Mon, 30 Nov 2015 09:51:33 +0000 (09:51 +0000)]
Fix @code escapes

The body of {@code} must not be HTML escaped. This is one of
several changes that fix the source in conjunction with a
doclava fix.

Bug: 25757239
(cherry-picked from commit 71fbb81b14958b80fe55738607740c6630e4e9da)

Change-Id: I19dafddc6501be6fee362c396ac5bbdc934ae39d

8 years agoStop leaking Notifications when they change groupKeys.
Dan Sandler [Thu, 14 Jan 2016 20:49:36 +0000 (15:49 -0500)]
Stop leaking Notifications when they change groupKeys.

If a Notification changes groups (either from one group to
another, or gets a group key for the first time, which takes
it out of its implicit singleton group) it should be removed
from the old group in NotificationGroupManager's mGroupMap
and re-inserted under the new one.

Unfortunately we were passing the *new* notification in the
oldNotification argument, so we would always attempt (and
fail) to remove it from the *new* group, leaving a strong
reference to the Notification inside mGroupMap under an
obsolete group key.

Bug: 26561365
Change-Id: Ie5cdceb4f843dbd363652e00fbc0f3ac6f6ef247

8 years agoMerge "Hide static setDefault methods in ICU4J"
Neil Fuller [Thu, 14 Jan 2016 22:28:43 +0000 (22:28 +0000)]
Merge "Hide static setDefault methods in ICU4J"
am: 9e892f53dd

* commit '9e892f53dd489c824b6a39c45028f838123daa85':
  Hide static setDefault methods in ICU4J

8 years agoMerge "DO NOT MERGE Fix for syncs being dropped when appIdle is on" into mnc-dr1...
Ian Pedowitz [Thu, 14 Jan 2016 22:26:32 +0000 (22:26 +0000)]
Merge "DO NOT MERGE Fix for syncs being dropped when appIdle is on" into mnc-dr1.5-dev am: 33001945a8
am: 33b55366c5

* commit '33b55366c5138237e3da268a05f08b064426becc':
  DO NOT MERGE Fix for syncs being dropped when appIdle is on

8 years agoMerge "DO NOT MERGE Fix for syncs being dropped when appIdle is on" into mnc-dr1...
Ian Pedowitz [Thu, 14 Jan 2016 22:21:37 +0000 (22:21 +0000)]
Merge "DO NOT MERGE Fix for syncs being dropped when appIdle is on" into mnc-dr1.5-dev
am: 33001945a8

* commit '33001945a82ba8cd5b5ad27b808312aa2ef210af':
  DO NOT MERGE Fix for syncs being dropped when appIdle is on

8 years agoMerge "Hide static setDefault methods in ICU4J"
Neil Fuller [Thu, 14 Jan 2016 22:20:16 +0000 (22:20 +0000)]
Merge "Hide static setDefault methods in ICU4J"

8 years agoMerge "DO NOT MERGE Fix for syncs being dropped when appIdle is on" into mnc-dr1...
Ian Pedowitz [Thu, 14 Jan 2016 22:18:32 +0000 (22:18 +0000)]
Merge "DO NOT MERGE Fix for syncs being dropped when appIdle is on" into mnc-dr1.5-dev

8 years agoDon\'t verify the scrollbar drawable am: a53c3b2197
Alan Viverette [Thu, 14 Jan 2016 21:49:09 +0000 (21:49 +0000)]
Don\'t verify the scrollbar drawable am: a53c3b2197
am: ca6b87fea6

* commit 'ca6b87fea6b16e38f8bbbd514d3cf07361a5feba':
  Don't verify the scrollbar drawable

8 years agoDon\'t verify the scrollbar drawable
Alan Viverette [Thu, 14 Jan 2016 21:44:31 +0000 (21:44 +0000)]
Don\'t verify the scrollbar drawable
am: a53c3b2197

* commit 'a53c3b2197b73d5b6a697ae2077e04065df84d9e':
  Don't verify the scrollbar drawable

8 years agoDon't verify the scrollbar drawable
Alan Viverette [Thu, 14 Jan 2016 21:06:36 +0000 (16:06 -0500)]
Don't verify the scrollbar drawable

Avoids infinite invalidations caused by re-use of scrollbar drawable
during a single draw() pass. Does not address the general problem of
drawable reuse causing unnecessary invalidations as a result of calls
to setBounds() invoking invalidateSelf().

Bug: 26533725
Change-Id: I99e9c2dfe4ddfc833569e40e7268dcb03e931fc9

8 years agoSupply content description for QS disconnect buttons
Dan Sandler [Thu, 14 Jan 2016 16:33:54 +0000 (11:33 -0500)]
Supply content description for QS disconnect buttons

Bug: 26555270
Change-Id: I3803c7ad78a64894eca5c36f5d9ecf7fc4a6ad92

8 years agoDO NOT MERGE Fix for syncs being dropped when appIdle is on
Shreyas Basarge [Mon, 11 Jan 2016 15:43:54 +0000 (15:43 +0000)]
DO NOT MERGE Fix for syncs being dropped when appIdle is on

Syncs were being dropped when appIdleMode was on for
an app. This CL backs off the sync instead of dropping
it. When the app becomes non-idle, backoff is cleared
and the sync is performed.

Bug: 26355386
Change-Id: I2040dfd847011d3ca902e66a8cd52b2a429177c1

8 years agoMerge "Fix race condition when setting default ringtones" into mnc-dr1.5-dev am:...
Justin Harrison [Thu, 14 Jan 2016 06:48:37 +0000 (06:48 +0000)]
Merge "Fix race condition when setting default ringtones" into mnc-dr1.5-dev am: e41a6c8b19
am: 2363da89a4

* commit '2363da89a431d8809c49e4bb9568f63887e6e33e':
  Fix race condition when setting default ringtones

8 years agoMerge "Fix race condition when setting default ringtones" into mnc-dr1.5-dev
Justin Harrison [Thu, 14 Jan 2016 06:44:21 +0000 (06:44 +0000)]
Merge "Fix race condition when setting default ringtones" into mnc-dr1.5-dev
am: e41a6c8b19

* commit 'e41a6c8b19482a05a98e77d13281f7f14056f119':
  Fix race condition when setting default ringtones

8 years agoMerge "Fix race condition when setting default ringtones" into mnc-dr1.5-dev
Justin Harrison [Thu, 14 Jan 2016 06:42:20 +0000 (06:42 +0000)]
Merge "Fix race condition when setting default ringtones" into mnc-dr1.5-dev

8 years agoMerge "Allow turning off Wi-Fi when emergency call is made [DO NOT MERGE]" into mnc...
Amit Mahajan [Thu, 14 Jan 2016 06:38:27 +0000 (06:38 +0000)]
Merge "Allow turning off Wi-Fi when emergency call is made [DO NOT MERGE]" into mnc-dr1.5-dev am: c6c9b2aa66
am: cd097ff856

* commit 'cd097ff856b800e3d6b991adfe2316007ddb9957':
  Allow turning off Wi-Fi when emergency call is made [DO NOT MERGE]

8 years agoMerge "DO NOT MERGE Adding new intent for EMERGENCY_CALL_STATE_CHANGE" into mnc-dr1...
Amit Mahajan [Thu, 14 Jan 2016 06:34:46 +0000 (06:34 +0000)]
Merge "DO NOT MERGE Adding new intent for EMERGENCY_CALL_STATE_CHANGE" into mnc-dr1.5-dev am: 658fdf8426
am: 2b260b0006

* commit '2b260b0006403e6be39015c12e422f9782ce6877':
  DO NOT MERGE Adding new intent for EMERGENCY_CALL_STATE_CHANGE

8 years agoMerge "Allow turning off Wi-Fi when emergency call is made [DO NOT MERGE]" into mnc...
Amit Mahajan [Thu, 14 Jan 2016 06:33:00 +0000 (06:33 +0000)]
Merge "Allow turning off Wi-Fi when emergency call is made [DO NOT MERGE]" into mnc-dr1.5-dev
am: c6c9b2aa66

* commit 'c6c9b2aa66635761b5cebc2faf9e06631c36eab5':
  Allow turning off Wi-Fi when emergency call is made [DO NOT MERGE]

8 years agoMerge "DO NOT MERGE Adding new intent for EMERGENCY_CALL_STATE_CHANGE" into mnc-dr1...
Amit Mahajan [Thu, 14 Jan 2016 06:30:15 +0000 (06:30 +0000)]
Merge "DO NOT MERGE Adding new intent for EMERGENCY_CALL_STATE_CHANGE" into mnc-dr1.5-dev
am: 658fdf8426

* commit '658fdf8426e5c0fb68b7c04af651eae93a32b4b4':
  DO NOT MERGE Adding new intent for EMERGENCY_CALL_STATE_CHANGE

8 years agoMerge "Allow turning off Wi-Fi when emergency call is made [DO NOT MERGE]" into mnc...
Amit Mahajan [Thu, 14 Jan 2016 06:28:47 +0000 (06:28 +0000)]
Merge "Allow turning off Wi-Fi when emergency call is made [DO NOT MERGE]" into mnc-dr1.5-dev

8 years agoMerge "DO NOT MERGE Adding new intent for EMERGENCY_CALL_STATE_CHANGE" into mnc-dr1...
Amit Mahajan [Thu, 14 Jan 2016 06:26:26 +0000 (06:26 +0000)]
Merge "DO NOT MERGE Adding new intent for EMERGENCY_CALL_STATE_CHANGE" into mnc-dr1.5-dev

8 years agoMerge "Add STEM_1, STEM_2 and STEM_3 key as wakeup keys" into cw-e-dev am: 4a577bff96...
Chenjie Luo [Thu, 14 Jan 2016 02:34:53 +0000 (02:34 +0000)]
Merge "Add STEM_1, STEM_2 and STEM_3 key as wakeup keys" into cw-e-dev am: 4a577bff96 am: d5cea64d8d
am: 7034a6e2d0

* commit '7034a6e2d05c45c437bef6150bcc70b58b3ccb3b':
  Add STEM_1, STEM_2 and STEM_3 key as wakeup keys

8 years agoMerge "Add STEM_1, STEM_2 and STEM_3 key as wakeup keys" into cw-e-dev am: 4a577bff96
Chenjie Luo [Thu, 14 Jan 2016 02:29:13 +0000 (02:29 +0000)]
Merge "Add STEM_1, STEM_2 and STEM_3 key as wakeup keys" into cw-e-dev am: 4a577bff96
am: d5cea64d8d

* commit 'd5cea64d8d63e9ffb61af1e669962de08ea513cc':
  Add STEM_1, STEM_2 and STEM_3 key as wakeup keys

8 years agoAllow turning off Wi-Fi when emergency call is made [DO NOT MERGE]
Vinit Deshpande [Thu, 14 Jan 2016 00:58:30 +0000 (16:58 -0800)]
Allow turning off Wi-Fi when emergency call is made [DO NOT MERGE]

Bug: 24147407

Change-Id: Ia07b8bc4ccbdaeea18ed22fbfcf813f71ddfa7dc

8 years agoMerge "Add STEM_1, STEM_2 and STEM_3 key as wakeup keys" into cw-e-dev
Chenjie Luo [Thu, 14 Jan 2016 02:24:48 +0000 (02:24 +0000)]
Merge "Add STEM_1, STEM_2 and STEM_3 key as wakeup keys" into cw-e-dev
am: 4a577bff96

* commit '4a577bff9674f4bc748ab76bf48ac6e7d3e567cc':
  Add STEM_1, STEM_2 and STEM_3 key as wakeup keys

8 years agoMerge "Add STEM_1, STEM_2 and STEM_3 key as wakeup keys" into cw-e-dev
Chenjie Luo [Thu, 14 Jan 2016 02:22:15 +0000 (02:22 +0000)]
Merge "Add STEM_1, STEM_2 and STEM_3 key as wakeup keys" into cw-e-dev

8 years agoDO NOT MERGE Adding new intent for EMERGENCY_CALL_STATE_CHANGE
Amit Mahajan [Wed, 13 Jan 2016 02:25:33 +0000 (18:25 -0800)]
DO NOT MERGE Adding new intent for EMERGENCY_CALL_STATE_CHANGE

Bug: 24147407
Change-Id: Ida957b9cc6b9c3e13bc8660213ce5cf979c886d5

8 years agoAdd STEM_1, STEM_2 and STEM_3 key as wakeup keys
Chenjie Luo [Wed, 13 Jan 2016 19:01:59 +0000 (11:01 -0800)]
Add STEM_1, STEM_2 and STEM_3 key as wakeup keys

Bug: 25860409
Change-Id: I3f525c9c8df81807d98391c70cd2d1f8c139c8f5

8 years agoMerge "UsageStats: Use new settings key idle_duration2 for app idle" into mnc-dr1...
Adam Lesinski [Thu, 14 Jan 2016 00:59:58 +0000 (00:59 +0000)]
Merge "UsageStats: Use new settings key idle_duration2 for app idle" into mnc-dr1.5-dev am: d2e215978b
am: a5c7106017

* commit 'a5c71060174c5357c75592998fb095e768eca8bd':
  UsageStats: Use new settings key idle_duration2 for app idle