OSDN Git Service

android-x86/frameworks-base.git
7 years agoDispatch a11y events in separate thread.
Phil Weaver [Fri, 19 Aug 2016 22:46:13 +0000 (22:46 +0000)]
Dispatch a11y events in separate thread.
am: c34649411d

Change-Id: Ie19da4e16b9bc78574545bbba1d44f28ef065b3d

7 years agoMerge "Removed screen on/off callbacks from NPMS." into nyc-mr1-dev
Felipe Leme [Fri, 19 Aug 2016 22:46:09 +0000 (22:46 +0000)]
Merge "Removed screen on/off callbacks from NPMS." into nyc-mr1-dev
am: ffd0d578d1

Change-Id: I8136f00004bc390bd6ec39279da0ec987e946788

7 years agoRemoved screen on/off callbacks from NPMS.
Felipe Leme [Fri, 19 Aug 2016 22:46:05 +0000 (22:46 +0000)]
Removed screen on/off callbacks from NPMS.
am: f8dd7b4e8d

Change-Id: I0cbf6cbbbfe8a30b6257f934b76c4e88631c0f7b

7 years agoMerge "Removed screen on/off callbacks from NPMS." into nyc-mr1-dev
TreeHugger Robot [Fri, 19 Aug 2016 22:37:47 +0000 (22:37 +0000)]
Merge "Removed screen on/off callbacks from NPMS." into nyc-mr1-dev

7 years agoMerge "Lowercasing search query in ExternalStorageProvider#querySearchDocs." into...
Ben Lin [Fri, 19 Aug 2016 22:28:24 +0000 (22:28 +0000)]
Merge "Lowercasing search query in ExternalStorageProvider#querySearchDocs." into nyc-mr1-dev
am: 7ca3194d9a

Change-Id: Ie2b22d817acc61e52ebafe77b846e68d86a51acb

7 years agoLowercasing search query in ExternalStorageProvider#querySearchDocs.
Ben Lin [Fri, 19 Aug 2016 22:28:20 +0000 (22:28 +0000)]
Lowercasing search query in ExternalStorageProvider#querySearchDocs.
am: b56e9213ce

Change-Id: I6dd4f9194d0c590525962f8acba70e7a8e14a4ed

7 years agoMerge "HIC: Improve AccelerationClassifier" into nyc-mr1-dev
Adrian Roos [Fri, 19 Aug 2016 22:28:14 +0000 (22:28 +0000)]
Merge "HIC: Improve AccelerationClassifier" into nyc-mr1-dev
am: f438720b17

Change-Id: I67289fb4ecd78037e96bc28df5468af13dfc09ea

7 years agoHIC: Improve AccelerationClassifier
Adrian Roos [Fri, 19 Aug 2016 22:28:08 +0000 (22:28 +0000)]
HIC: Improve AccelerationClassifier
am: 6b312a09fc

Change-Id: Ic0e0db4d8c0cdd507352b18904fb5fb0747168e9

7 years agoMerge "Re-enable disabled emoji tests [DO NOT MERGE]" into nyc-mr1-dev
Roozbeh Pournader [Fri, 19 Aug 2016 22:27:59 +0000 (22:27 +0000)]
Merge "Re-enable disabled emoji tests [DO NOT MERGE]" into nyc-mr1-dev
am: eab8a12845

Change-Id: I653c3539906407229bf98b2646706083aba88334

7 years agoRe-enable disabled emoji tests [DO NOT MERGE]
Roozbeh Pournader [Fri, 19 Aug 2016 22:27:50 +0000 (22:27 +0000)]
Re-enable disabled emoji tests [DO NOT MERGE]
am: 8cd1b1ba80

Change-Id: I0cc4e1b30d8df95efea682d0b2ae4dc96822689b

7 years agoMerge "Check defaults for Android default-emoji characters [DO NOT MERGE]" into nyc...
Roozbeh Pournader [Fri, 19 Aug 2016 22:26:44 +0000 (22:26 +0000)]
Merge "Check defaults for Android default-emoji characters [DO NOT MERGE]" into nyc-mr1-dev
am: 01bb406426

Change-Id: I8d1ff867915f8a86296f6605ce0b363916341583

7 years agoCheck defaults for Android default-emoji characters [DO NOT MERGE]
Roozbeh Pournader [Fri, 19 Aug 2016 22:26:11 +0000 (22:26 +0000)]
Check defaults for Android default-emoji characters [DO NOT MERGE]
am: 84b1746130

Change-Id: Icadd25ab3dc99a2ce00220900a6b37cf0144d7d4

7 years agoMerge "Lowercasing search query in ExternalStorageProvider#querySearchDocs." into...
Ben Lin [Fri, 19 Aug 2016 22:06:07 +0000 (22:06 +0000)]
Merge "Lowercasing search query in ExternalStorageProvider#querySearchDocs." into nyc-mr1-dev

7 years agoMerge "HIC: Improve AccelerationClassifier" into nyc-mr1-dev
TreeHugger Robot [Fri, 19 Aug 2016 22:03:37 +0000 (22:03 +0000)]
Merge "HIC: Improve AccelerationClassifier" into nyc-mr1-dev

7 years agoMerge "Re-enable disabled emoji tests [DO NOT MERGE]" into nyc-mr1-dev
Roozbeh Pournader [Fri, 19 Aug 2016 21:43:01 +0000 (21:43 +0000)]
Merge "Re-enable disabled emoji tests [DO NOT MERGE]" into nyc-mr1-dev

7 years agoMerge "Check defaults for Android default-emoji characters [DO NOT MERGE]" into nyc...
Roozbeh Pournader [Fri, 19 Aug 2016 21:43:01 +0000 (21:43 +0000)]
Merge "Check defaults for Android default-emoji characters [DO NOT MERGE]" into nyc-mr1-dev

7 years agoHIC: Improve AccelerationClassifier
Adrian Roos [Wed, 17 Aug 2016 20:26:33 +0000 (13:26 -0700)]
HIC: Improve AccelerationClassifier

Apply a bunch of improvements to the acceleration classifier:

- When dragging from the edges, we get some delay without
  movement between the DOWN and MOVE, which confounds the
  classifier. Now discounts data segments where the delay
  does not match the expected 16ms.
- The distance ratio did not compensate for differences
  in sampling. If it does it's equivalent to the speed
  ratio however. The distance ratio was removed and the
  impact of the speed ratio score doubled.
- If we cannot calculate the ratio, no longer penalize
  the traces for this.

Bug: 27405075
Change-Id: I067eb4d478593afbb20354e5c85a05353e2b4184

7 years agoMerge "DO NOT MERGE: Enable switch access api to activate/open files in DocsUI."...
Ben Lin [Fri, 19 Aug 2016 20:30:20 +0000 (20:30 +0000)]
Merge "DO NOT MERGE: Enable switch access api to activate/open files in DocsUI." into nyc-mr1-dev
am: f4c5b344ae

Change-Id: If772c9fb7ac1a3d68f0507b29dfeb8697760533b

7 years agoDO NOT MERGE: Enable switch access api to activate/open files in DocsUI.
Ben Lin [Fri, 19 Aug 2016 20:30:13 +0000 (20:30 +0000)]
DO NOT MERGE: Enable switch access api to activate/open files in DocsUI.
am: d06893eb10

Change-Id: Ib4abf6d8222af7ade0a9804de10f3152b2b451a6

7 years agoMerge "DO NOT MERGE: Enable switch access api to activate/open files in DocsUI."...
Ben Lin [Fri, 19 Aug 2016 20:19:38 +0000 (20:19 +0000)]
Merge "DO NOT MERGE: Enable switch access api to activate/open files in DocsUI." into nyc-mr1-dev

7 years agoDispatch a11y events in separate thread.
Phil Weaver [Thu, 4 Aug 2016 17:37:17 +0000 (10:37 -0700)]
Dispatch a11y events in separate thread.

Moves the IPCs into a separate thread, where they should affect
jank a lot less.

Bug: 30183085
Change-Id: Ib76159d158e7a867e76cdd5c8ea3a318949fcc5b

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
Bill Yi [Fri, 19 Aug 2016 15:34:56 +0000 (15:34 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev
am: 4ecc9d2db4  -s ours

Change-Id: I17a1beb48aad1e8744ecfab50791267ee972b971

7 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 19 Aug 2016 15:34:55 +0000 (15:34 +0000)]
Import translations. DO NOT MERGE
am: 02799d57d7  -s ours

Change-Id: I83188fb11d9ca24d92049d8e4ba33b8d2e08a4d0

7 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev
TreeHugger Robot [Fri, 19 Aug 2016 15:28:48 +0000 (15:28 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Fri, 19 Aug 2016 15:28:28 +0000 (15:28 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoMerge "Add connection events for indicated when a connection is remotely held." into...
Tyler Gunn [Fri, 19 Aug 2016 14:32:21 +0000 (14:32 +0000)]
Merge "Add connection events for indicated when a connection is remotely held." into nyc-mr1-dev
am: 9df655a443

Change-Id: Iaa5962749f2c3695c145af84c52a0389a8a0f906

7 years agoAdd connection events for indicated when a connection is remotely held.
Tyler Gunn [Fri, 19 Aug 2016 14:32:16 +0000 (14:32 +0000)]
Add connection events for indicated when a connection is remotely held.
am: b5ed860de7

Change-Id: I0ff4ec175ae9c316ba9a31ad225a84248301f252

7 years agoMerge "Add connection events for indicated when a connection is remotely held." into...
Tyler Gunn [Fri, 19 Aug 2016 14:28:06 +0000 (14:28 +0000)]
Merge "Add connection events for indicated when a connection is remotely held." into nyc-mr1-dev

7 years agoMerge "fix redirect for AIDL doc bug: 5967288" into nyc-dev am: 66ffbbfdf9 am: 97d6427ab0
Scott Main [Fri, 19 Aug 2016 13:42:14 +0000 (13:42 +0000)]
Merge "fix redirect for AIDL doc bug: 5967288" into nyc-dev am: 66ffbbfdf9 am: 97d6427ab0
am: c4fb0012e1

Change-Id: I2c313260cb95acc8ef7fc1a416ede9faaf29a938

7 years agofix redirect for AIDL doc bug: 5967288 am: 9ad944f8c9 am: 3872e56f69
smain@google.com [Fri, 19 Aug 2016 13:42:12 +0000 (13:42 +0000)]
fix redirect for AIDL doc bug: 5967288 am: 9ad944f8c9 am: 3872e56f69
am: 97fd094458

Change-Id: I55bd31ed3d9b4ce98058ef2478a38cf511b5b85d

7 years agoMerge "Process: Fix communication with zygote." into nyc-dev am: cce8af824a am: b8f0c...
Narayan Kamath [Fri, 19 Aug 2016 13:42:09 +0000 (13:42 +0000)]
Merge "Process: Fix communication with zygote." into nyc-dev am: cce8af824a am: b8f0cd0248
am: e3cb8a7db9

Change-Id: Iadb326b237e0ff2e23805d46b0331266d81f52f5

7 years agoProcess: Fix communication with zygote. am: 448be0a622 am: 99f960f7da
Narayan Kamath [Fri, 19 Aug 2016 13:42:07 +0000 (13:42 +0000)]
Process: Fix communication with zygote. am: 448be0a622 am: 99f960f7da
am: b060316945

Change-Id: I44662f76bc72770c7c52800933e4423811c76aa9

7 years agoMerge "fix redirect for AIDL doc bug: 5967288" into nyc-dev am: 66ffbbfdf9
Scott Main [Fri, 19 Aug 2016 13:29:14 +0000 (13:29 +0000)]
Merge "fix redirect for AIDL doc bug: 5967288" into nyc-dev am: 66ffbbfdf9
am: 97d6427ab0

Change-Id: Ic8a4e3c86fed503333e6f46d62ad4fd492430547

7 years agofix redirect for AIDL doc bug: 5967288 am: 9ad944f8c9
smain@google.com [Fri, 19 Aug 2016 13:29:12 +0000 (13:29 +0000)]
fix redirect for AIDL doc bug: 5967288 am: 9ad944f8c9
am: 3872e56f69

Change-Id: I19e1cb6e9f79edb9755afb66cce4a67db9428f7f

7 years agoMerge "Process: Fix communication with zygote." into nyc-dev am: cce8af824a
Narayan Kamath [Fri, 19 Aug 2016 13:29:10 +0000 (13:29 +0000)]
Merge "Process: Fix communication with zygote." into nyc-dev am: cce8af824a
am: b8f0cd0248

Change-Id: I49cd6679da56f5f853c17c741064db88431ded8c

7 years agoProcess: Fix communication with zygote. am: 448be0a622
Narayan Kamath [Fri, 19 Aug 2016 13:29:07 +0000 (13:29 +0000)]
Process: Fix communication with zygote. am: 448be0a622
am: 99f960f7da

Change-Id: I471c81919cce6725433895c3d20ca22a8e827b98

7 years agoMerge "Isolated processes don't get precached system service binders" into nyc-mr1-dev
Christopher Tate [Fri, 19 Aug 2016 13:18:07 +0000 (13:18 +0000)]
Merge "Isolated processes don't get precached system service binders" into nyc-mr1-dev
am: 1b58e1c821

Change-Id: If350a2fe5b82301f33c5bf16ccd55f3e487c38f7

7 years agoIsolated processes don't get precached system service binders
Christopher Tate [Fri, 19 Aug 2016 13:18:03 +0000 (13:18 +0000)]
Isolated processes don't get precached system service binders
am: 2c61c57ac5

Change-Id: I1902e0b4401d78a5870c36ba48086819910d55ff

7 years agoMerge "Add resource based mechanism to grant default permissions" into nyc-mr1-dev
Svetoslav Ganov [Fri, 19 Aug 2016 13:17:59 +0000 (13:17 +0000)]
Merge "Add resource based mechanism to grant default permissions" into nyc-mr1-dev
am: 9a6008a334

Change-Id: I6391719f2c978d508c8cd5e29c1d2c9cb173f3d7

7 years agoAdd resource based mechanism to grant default permissions
Svet Ganov [Fri, 19 Aug 2016 13:17:57 +0000 (13:17 +0000)]
Add resource based mechanism to grant default permissions
am: 59020bffb7

Change-Id: I34d675b7f2ef4fb439bb582c6b36cb00de16acd8

7 years agoMerge "Release mPackages lock earlier" into nyc-mr1-dev
Todd Kennedy [Fri, 19 Aug 2016 13:17:54 +0000 (13:17 +0000)]
Merge "Release mPackages lock earlier" into nyc-mr1-dev
am: 42b14329f5

Change-Id: I7b6b45115d3ccdf4646395a59c6c572c22b70103

7 years agoRelease mPackages lock earlier
Todd Kennedy [Fri, 19 Aug 2016 13:17:51 +0000 (13:17 +0000)]
Release mPackages lock earlier
am: a8d4f48997

Change-Id: I4c6a560fed34887eb67db728b4497b28931ae905

7 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 19 Aug 2016 11:31:46 +0000 (04:31 -0700)]
Import translations. DO NOT MERGE

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

7 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 19 Aug 2016 05:59:03 +0000 (22:59 -0700)]
Import translations. DO NOT MERGE

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

7 years agoMerge "fix redirect for AIDL doc bug: 5967288" into nyc-dev
Scott Main [Fri, 19 Aug 2016 01:12:09 +0000 (01:12 +0000)]
Merge "fix redirect for AIDL doc bug: 5967288" into nyc-dev
am: 66ffbbfdf9

Change-Id: Ib72ec2497e7b58c42ecca05cc318d7345e9fce69

7 years agofix redirect for AIDL doc bug: 5967288
smain@google.com [Fri, 19 Aug 2016 01:12:05 +0000 (01:12 +0000)]
fix redirect for AIDL doc bug: 5967288
am: 9ad944f8c9

Change-Id: I8614af80ea19a68d078ea578d2f8e7a3286f930a

7 years agoMerge "fix redirect for AIDL doc bug: 5967288" into nyc-dev
Scott Main [Fri, 19 Aug 2016 01:04:01 +0000 (01:04 +0000)]
Merge "fix redirect for AIDL doc bug: 5967288" into nyc-dev

7 years agoMerge "Isolated processes don't get precached system service binders" into nyc-mr1-dev
TreeHugger Robot [Fri, 19 Aug 2016 00:29:34 +0000 (00:29 +0000)]
Merge "Isolated processes don't get precached system service binders" into nyc-mr1-dev

7 years agoMerge "Add resource based mechanism to grant default permissions" into nyc-mr1-dev
Svetoslav Ganov [Thu, 18 Aug 2016 23:38:32 +0000 (23:38 +0000)]
Merge "Add resource based mechanism to grant default permissions" into nyc-mr1-dev

7 years agoMerge "Release mPackages lock earlier" into nyc-mr1-dev
TreeHugger Robot [Thu, 18 Aug 2016 23:16:01 +0000 (23:16 +0000)]
Merge "Release mPackages lock earlier" into nyc-mr1-dev

7 years agoMerge "Process: Fix communication with zygote." into nyc-dev
Narayan Kamath [Thu, 18 Aug 2016 23:08:51 +0000 (23:08 +0000)]
Merge "Process: Fix communication with zygote." into nyc-dev
am: cce8af824a

Change-Id: I9e945b2a660d5daf57d7c51e8e7c9d814e78a728

7 years agoProcess: Fix communication with zygote.
Narayan Kamath [Thu, 18 Aug 2016 23:08:49 +0000 (23:08 +0000)]
Process: Fix communication with zygote.
am: 448be0a622

Change-Id: I530a1f04545a796d22ca59141aa8fe3de349388c

7 years agoMerge "Fix NPE during Activity transition using wrong Activity." into nyc-mr1-dev
George Mount [Thu, 18 Aug 2016 22:32:14 +0000 (22:32 +0000)]
Merge "Fix NPE during Activity transition using wrong Activity." into nyc-mr1-dev
am: 2613fb543a

Change-Id: I82e061d321a935aed4ec9334b51c16d713991d67

7 years agoFix NPE during Activity transition using wrong Activity.
George Mount [Thu, 18 Aug 2016 22:32:08 +0000 (22:32 +0000)]
Fix NPE during Activity transition using wrong Activity.
am: a3edbf6a5d

Change-Id: Ie6ca8f9f9f251eaf844f842e0f6f0ab36a975c1e

7 years agoMerge "AudioSystem: Verify audio port array information" into nyc-mr1-dev
Andy Hung [Thu, 18 Aug 2016 22:32:00 +0000 (22:32 +0000)]
Merge "AudioSystem: Verify audio port array information" into nyc-mr1-dev
am: 47c7a8c19a

Change-Id: I8cb76567c8de112d4ac11fbdeaf8880b7ec7c7f9

7 years agoAudioSystem: Verify audio port array information
Andy Hung [Thu, 18 Aug 2016 22:31:53 +0000 (22:31 +0000)]
AudioSystem: Verify audio port array information
am: 737d9fb181

Change-Id: I7a9eeeac4e0f02b4e045b7f277666bd4d3866441

7 years agoMerge "Fix NPE during Activity transition using wrong Activity." into nyc-mr1-dev
George Mount [Thu, 18 Aug 2016 22:27:27 +0000 (22:27 +0000)]
Merge "Fix NPE during Activity transition using wrong Activity." into nyc-mr1-dev

7 years agoMerge "AudioSystem: Verify audio port array information" into nyc-mr1-dev
Andy Hung [Thu, 18 Aug 2016 22:25:17 +0000 (22:25 +0000)]
Merge "AudioSystem: Verify audio port array information" into nyc-mr1-dev

7 years agofix redirect for AIDL doc
smain@google.com [Thu, 18 Aug 2016 21:41:47 +0000 (14:41 -0700)]
fix redirect for AIDL doc
bug: 5967288

Change-Id: Ia2a4cbdde56d2e6baca4c5f74ea92bb7bfaf2938

7 years agoMerge "Prevent FIFO threads from creating more FIFO threads." into nyc-mr1-dev
Tim Murray [Thu, 18 Aug 2016 20:31:00 +0000 (20:31 +0000)]
Merge "Prevent FIFO threads from creating more FIFO threads." into nyc-mr1-dev
am: bb4e37c602

Change-Id: Iea2f53fb8a62d3c59a10ca352a8485cd4d0ee326

7 years agoPrevent FIFO threads from creating more FIFO threads.
Tim Murray [Thu, 18 Aug 2016 20:30:58 +0000 (20:30 +0000)]
Prevent FIFO threads from creating more FIFO threads.
am: 38ee337f45

Change-Id: Iecd7619faae5195934335afc0048cc5ddb6b9ab7

7 years agoMerge "Prevent FIFO threads from creating more FIFO threads." into nyc-mr1-dev
Tim Murray [Thu, 18 Aug 2016 20:25:36 +0000 (20:25 +0000)]
Merge "Prevent FIFO threads from creating more FIFO threads." into nyc-mr1-dev

7 years agoAdd resource based mechanism to grant default permissions
Svet Ganov [Thu, 18 Aug 2016 19:32:35 +0000 (12:32 -0700)]
Add resource based mechanism to grant default permissions

This CL adds a mechanism for an OEM to grant default permissions
using the build system. This allows permissions for which they
got default grant exceptions to be added without modifying the
platform code. The format is a simple XML listing the packages
and the permissions to be granted for a package. The XML file
is placed in etc/default-permissions.

bug:29546655
bug:30929033

Change-Id: Ifb0516d7e2d0b399532024438bc0f86068a2e4e2

7 years agoMerge "Grab lock when accessing mutable state" into nyc-mr1-dev
Svetoslav Ganov [Thu, 18 Aug 2016 19:12:54 +0000 (19:12 +0000)]
Merge "Grab lock when accessing mutable state" into nyc-mr1-dev
am: 6642c963d9

Change-Id: Ibe00e1f3bdf916129355a38beece5378ec379a78

7 years agoGrab lock when accessing mutable state
Svet Ganov [Thu, 18 Aug 2016 19:12:50 +0000 (19:12 +0000)]
Grab lock when accessing mutable state
am: 442ed57e4b

Change-Id: Ic8610ed5f0584150d7cda88761bff69dca8d1b42

7 years agoMerge "Grab lock when accessing mutable state" into nyc-mr1-dev
Svetoslav Ganov [Thu, 18 Aug 2016 19:05:47 +0000 (19:05 +0000)]
Merge "Grab lock when accessing mutable state" into nyc-mr1-dev

7 years agoProtect various Bluetooth broadcasts
Ajay Panicker [Thu, 18 Aug 2016 18:40:25 +0000 (18:40 +0000)]
Protect various Bluetooth broadcasts
am: 9a236066db

Change-Id: I71a84c8486b70d6b94e9656a8a1299a9796d0d52

7 years agoRelease mPackages lock earlier
Todd Kennedy [Thu, 18 Aug 2016 18:22:52 +0000 (11:22 -0700)]
Release mPackages lock earlier

We cannot hold mPackages when calling into generatePackageDexopts().
This method takes Package Manager's mInstallLock. By holding mPackages,
we have lock inversion and hilarity ensues.

Change-Id: Ia11a158677051e3511702f38cde6780e75b256fb
Fixes: 30927731

7 years agoPrevent FIFO threads from creating more FIFO threads.
Tim Murray [Thu, 18 Aug 2016 18:13:26 +0000 (11:13 -0700)]
Prevent FIFO threads from creating more FIFO threads.

SCHED_FIFO threads shouldn't be able to arbitrarily create more
SCHED_FIFO threads.

bug 30898724

Change-Id: I3704b47b88b573313e9b1610556648c8595d4108

7 years agoIsolated processes don't get precached system service binders
Christopher Tate [Tue, 16 Aug 2016 23:03:44 +0000 (16:03 -0700)]
Isolated processes don't get precached system service binders

More specifically, they get a PackageManager binder -- necessary for
Android process startup and configuration -- but none of the other
usual preloaded service binders.

Bug 30202228

Change-Id: I3810649f504cd631665ece338a83d2e54d41ad05

7 years agoFix NPE during Activity transition using wrong Activity.
George Mount [Tue, 16 Aug 2016 20:10:19 +0000 (13:10 -0700)]
Fix NPE during Activity transition using wrong Activity.

Bug 30786309

If the Activity used in makeSceneTransitionAnimation isn't
the same one used in the startActivity call, a NullPointerException
could be thrown.

Change-Id: Id21c54fcf99b353feab62f7fc160997ed06e7d23
(cherry picked from commit 3289bfa289f560d60611dddef9441c9614fd883a)

7 years agoProtect various Bluetooth broadcasts
Ajay Panicker [Wed, 17 Aug 2016 22:36:24 +0000 (15:36 -0700)]
Protect various Bluetooth broadcasts

Bug: 30832954
Change-Id: I37e0b2ffab65c0703244917a4ade9bb8afbb5e6f

7 years agoRemoved screen on/off callbacks from NPMS.
Felipe Leme [Wed, 10 Aug 2016 20:00:32 +0000 (13:00 -0700)]
Removed screen on/off callbacks from NPMS.

NetworkPolicyManagerService (NPMS) used to depend on screen on/off
changes to determine if a foreground activity should have network
restrictions, but such check is now redundant since ActivityManager
already changes the proper UID state (like going from TOP to
TOP_SLEEPING) when the screen status is changed.

Removing such code decreases the NPMS lock contention when the screen is
turned on in about 3-5ms.

Change-Id: I2853443efedbf14961ae9a5b2e72689d4d1a646c
BUG: 30785671
(cherry picked from commit 88f40ad9a721ee30708be82f66fb58c64f1d36b5)

7 years agoMerge "Process: Fix communication with zygote." into nyc-dev am: cce8af824a
Narayan Kamath [Thu, 18 Aug 2016 10:25:53 +0000 (10:25 +0000)]
Merge "Process: Fix communication with zygote." into nyc-dev am: cce8af824a
am: e24a4590bf

Change-Id: I933fe1f6f191e669a7a6ed4d00660a01f95feade

7 years agoProcess: Fix communication with zygote. am: 448be0a622
Narayan Kamath [Thu, 18 Aug 2016 10:25:51 +0000 (10:25 +0000)]
Process: Fix communication with zygote. am: 448be0a622
am: ac16712d8a

Change-Id: Ief10a90dc77fa8e5cd562a39a6ddbad059353fdf

7 years agoMerge "Process: Fix communication with zygote." into nyc-dev
Narayan Kamath [Thu, 18 Aug 2016 10:20:00 +0000 (10:20 +0000)]
Merge "Process: Fix communication with zygote." into nyc-dev
am: cce8af824a

Change-Id: I1086785cde9f5d9bbdff84b225c4d20582977c75

7 years agoProcess: Fix communication with zygote.
Narayan Kamath [Thu, 18 Aug 2016 10:19:57 +0000 (10:19 +0000)]
Process: Fix communication with zygote.
am: 448be0a622

Change-Id: I5d496613f53c339c75a3293845670d9d8360c90f

7 years agoMerge "Process: Fix communication with zygote." into nyc-dev
Narayan Kamath [Thu, 18 Aug 2016 10:14:29 +0000 (10:14 +0000)]
Merge "Process: Fix communication with zygote." into nyc-dev

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
Bill Yi [Thu, 18 Aug 2016 01:28:19 +0000 (01:28 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev
am: 4b30053ede  -s ours

Change-Id: I28c7df17b56064d5d267de60a0821ebd409b910b

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 18 Aug 2016 01:28:18 +0000 (01:28 +0000)]
Import translations. DO NOT MERGE
am: 9d652db6a4  -s ours

Change-Id: If56739a9258c72a95dd7be524dd3b5c21bfd34ed

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Thu, 18 Aug 2016 01:23:04 +0000 (01:23 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoMerge "AppIdleHistory: Only write screen on durations during regular sync" into nyc...
Adam Lesinski [Thu, 18 Aug 2016 01:19:56 +0000 (01:19 +0000)]
Merge "AppIdleHistory: Only write screen on durations during regular sync" into nyc-mr1-dev
am: 1af694510d

Change-Id: I60d96424e94226a85ef9fe79aba571b2329ee96e

7 years agoAppIdleHistory: Only write screen on durations during regular sync
Adam Lesinski [Thu, 18 Aug 2016 01:19:51 +0000 (01:19 +0000)]
AppIdleHistory: Only write screen on durations during regular sync
am: f2d87eba75

Change-Id: I7e5a6d89afa813fdb68c68d201ad04971641dabd

7 years agoMerge "AppIdleHistory: Only write screen on durations during regular sync" into nyc...
TreeHugger Robot [Thu, 18 Aug 2016 01:14:31 +0000 (01:14 +0000)]
Merge "AppIdleHistory: Only write screen on durations during regular sync" into nyc-mr1-dev

7 years agoAudioSystem: Verify audio port array information
Andy Hung [Wed, 17 Aug 2016 01:38:49 +0000 (18:38 -0700)]
AudioSystem: Verify audio port array information

Bug: 30737845
Change-Id: Id092086862bc527fccc5e9f34c8a3ab16167ae92

7 years agoGrab lock when accessing mutable state
Svet Ganov [Thu, 18 Aug 2016 00:29:43 +0000 (17:29 -0700)]
Grab lock when accessing mutable state

bug:30881375

Change-Id: Ied52fd9666f28b5c2038144b85cd74480ccfde43

7 years agoAppIdleHistory: Only write screen on durations during regular sync
Adam Lesinski [Wed, 17 Aug 2016 22:21:16 +0000 (15:21 -0700)]
AppIdleHistory: Only write screen on durations during regular sync

Stop writing to disk every time the display goes off. Only write to
disk periodically.

Consequences

Previously, if the device rebooted after the screen duration was written
to disk, apps would appear more stale than they actually were.

Now apps will always look fresher, which is a better scenario.

Bug:30807864
Change-Id: Ia69a2e51fc9e397789215b449fae56fa3e29c74a

7 years agoFix vulnerability in LockSettings service am: 2d71384a13 am: 485fbda04c am: 229de7088...
Jim Miller [Wed, 17 Aug 2016 23:33:13 +0000 (23:33 +0000)]
Fix vulnerability in LockSettings service am: 2d71384a13 am: 485fbda04c am: 229de7088e am: cb83f6188b am: e3457fc127
am: 669a153531

Change-Id: Ia8a9962fdbf010066b6fd72ed4ccdc35548571f9

7 years agoFix vulnerability in LockSettings service am: 2d71384a13 am: 485fbda04c am: 229de7088...
Jim Miller [Wed, 17 Aug 2016 23:26:57 +0000 (23:26 +0000)]
Fix vulnerability in LockSettings service am: 2d71384a13 am: 485fbda04c am: 229de7088e am: cb83f6188b
am: e3457fc127

Change-Id: I1bc40c141498e62cad36acc9568177cb88debc11

7 years agoFix vulnerability in LockSettings service am: 2d71384a13 am: 485fbda04c am: 229de7088e
Jim Miller [Wed, 17 Aug 2016 23:22:33 +0000 (23:22 +0000)]
Fix vulnerability in LockSettings service am: 2d71384a13 am: 485fbda04c am: 229de7088e
am: cb83f6188b

Change-Id: I82302931ab714e25ec21721dc05480e1f2d447b0

7 years agoFix vulnerability in LockSettings service am: 2d71384a13 am: 485fbda04c
Jim Miller [Wed, 17 Aug 2016 23:15:43 +0000 (23:15 +0000)]
Fix vulnerability in LockSettings service am: 2d71384a13 am: 485fbda04c
am: 229de7088e

Change-Id: I8e9d946f96933c1338261d8adf80156cb67d3ba1

7 years agoMerge "dd new ds-static doc build target to generate static docs (only) for devsite...
Dirk Dougherty [Wed, 17 Aug 2016 23:08:17 +0000 (23:08 +0000)]
Merge "dd new ds-static doc build target to generate static docs (only) for devsite without resolving @links." into nyc-dev am: 96855c49a6
am: 4fa4b29890

Change-Id: Id9260b2dc3be5840d3322ea7d5a6f90d0e62e117

7 years agodd new ds-static doc build target to generate static docs (only) for devsite without...
Dirk Dougherty [Wed, 17 Aug 2016 23:08:15 +0000 (23:08 +0000)]
dd new ds-static doc build target to generate static docs (only) for devsite without resolving @links. am: b042ab1eb6
am: d66ec65b77

Change-Id: If34b51e4685f18a066dc21c794a88f7d4d03bc22

7 years agoFix vulnerability in LockSettings service am: 2d71384a13
Jim Miller [Wed, 17 Aug 2016 23:07:46 +0000 (23:07 +0000)]
Fix vulnerability in LockSettings service am: 2d71384a13
am: 485fbda04c

Change-Id: I07def32199ecdbbb32aa6ecaca20724cfc81265c

7 years agoMerge "dd new ds-static doc build target to generate static docs (only) for devsite...
Dirk Dougherty [Wed, 17 Aug 2016 22:59:31 +0000 (22:59 +0000)]
Merge "dd new ds-static doc build target to generate static docs (only) for devsite without resolving @links." into nyc-dev
am: 96855c49a6

Change-Id: If07272ee0de59b546df04f0232219bb0954da582

7 years agoFix vulnerability in LockSettings service
Jim Miller [Wed, 17 Aug 2016 22:59:27 +0000 (22:59 +0000)]
Fix vulnerability in LockSettings service
am: 2d71384a13

Change-Id: I62ca5fb150022fe0971329294b1063957f397248

7 years agodd new ds-static doc build target to generate static docs (only) for devsite without...
Dirk Dougherty [Wed, 17 Aug 2016 22:59:23 +0000 (22:59 +0000)]
dd new ds-static doc build target to generate static docs (only) for devsite without resolving @links.
am: b042ab1eb6

Change-Id: I725ff3bce89572d06f76dd9f1860365514d27d56

7 years agoMerge "dd new ds-static doc build target to generate static docs (only) for devsite...
Dirk Dougherty [Wed, 17 Aug 2016 22:53:23 +0000 (22:53 +0000)]
Merge "dd new ds-static doc build target to generate static docs (only) for devsite without resolving @links." into nyc-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 17 Aug 2016 22:33:39 +0000 (15:33 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 30362824
Change-Id: I319b881d2a02816d932688c70c61f4ad2b315ef8

7 years agoMerge "BackgroundDexOptService: Check for low storage conditions." into nyc-mr1-dev
Narayan Kamath [Wed, 17 Aug 2016 22:11:13 +0000 (22:11 +0000)]
Merge "BackgroundDexOptService: Check for low storage conditions." into nyc-mr1-dev
am: 712dde29ff

Change-Id: I717fe1f5cbc7ca19044325a65721bdb389a38097