OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Calls setUidFirewallRules() and enableFirewallChain() asynchronously." into...
TreeHugger Robot [Fri, 9 Sep 2016 02:07:30 +0000 (02:07 +0000)]
Merge "Calls setUidFirewallRules() and enableFirewallChain() asynchronously." into nyc-mr1-dev

7 years agoMerge "Revert "Fixing issue with old tasks being visible in Overview"" into nyc-mr1-dev
Winson Chung [Fri, 9 Sep 2016 01:50:18 +0000 (01:50 +0000)]
Merge "Revert "Fixing issue with old tasks being visible in Overview"" into nyc-mr1-dev

7 years agoRevert "Fixing issue with old tasks being visible in Overview"
Winson Chung [Thu, 8 Sep 2016 23:29:43 +0000 (23:29 +0000)]
Revert "Fixing issue with old tasks being visible in Overview"

Bug: 28908500

This reverts commit b258f6a4bd685e5efcb36c02d5817f659e10479b.

Change-Id: I9b3c04358d6ca693ed3fdcd9220af13f81eb704e

7 years agoMerge "docs: Define card data for GPU Debugger b/31318053" into nyc-dev am: 8a7947b0d6
Cheryl Potter [Fri, 9 Sep 2016 01:28:43 +0000 (01:28 +0000)]
Merge "docs: Define card data for GPU Debugger b/31318053" into nyc-dev am: 8a7947b0d6
am: 300f7438d8

Change-Id: I549ca0b589a9a31b0edd158d3287f98690bd66a9

7 years agodocs: Define card data for GPU Debugger b/31318053 am: 9af802df0f
Cheryl Potter [Fri, 9 Sep 2016 01:28:41 +0000 (01:28 +0000)]
docs: Define card data for GPU Debugger b/31318053 am: 9af802df0f
am: 6b82489573

Change-Id: I40907673e1fdfacad6197b5e4e2b0f3a3e772c4a

7 years agoMerge "docs: Define card data for GPU Debugger b/31318053" into nyc-dev
Cheryl Potter [Fri, 9 Sep 2016 01:24:04 +0000 (01:24 +0000)]
Merge "docs: Define card data for GPU Debugger b/31318053" into nyc-dev
am: 8a7947b0d6

Change-Id: I98277a55a0699b995bd71b93bcc68e914b14a576

7 years agodocs: Define card data for GPU Debugger b/31318053
Cheryl Potter [Fri, 9 Sep 2016 01:23:57 +0000 (01:23 +0000)]
docs: Define card data for GPU Debugger b/31318053
am: 9af802df0f

Change-Id: Iccbf477340c50283660c0eed32decd4587e56154

7 years agoMerge "docs: Define card data for GPU Debugger b/31318053" into nyc-dev
Cheryl Potter [Fri, 9 Sep 2016 01:15:52 +0000 (01:15 +0000)]
Merge "docs: Define card data for GPU Debugger b/31318053" into nyc-dev

7 years agoMerge "ContextHubService: Keep handles across hub reboot" into nyc-mr1-dev
Greg Kaiser [Fri, 9 Sep 2016 00:18:56 +0000 (00:18 +0000)]
Merge "ContextHubService: Keep handles across hub reboot" into nyc-mr1-dev

7 years agoMerge "[DO NOT MERGE] Remove toast window immediately" into nyc-mr1-dev
Svetoslav Ganov [Thu, 8 Sep 2016 23:49:35 +0000 (23:49 +0000)]
Merge "[DO NOT MERGE] Remove toast window immediately" into nyc-mr1-dev

7 years agoMerge "Don't update app idle rules on updateRulesForRestrictPowerUL()." into nyc...
TreeHugger Robot [Thu, 8 Sep 2016 23:17:46 +0000 (23:17 +0000)]
Merge "Don't update app idle rules on updateRulesForRestrictPowerUL()." into nyc-mr1-dev

7 years ago[DO NOT MERGE] Remove toast window immediately
Svet Ganov [Thu, 8 Sep 2016 14:11:52 +0000 (07:11 -0700)]
[DO NOT MERGE] Remove toast window immediately

To address a security issue where a toast window can be
used by an app to overlay other apps without a permission
we now allow legacy apps to be able to put at most one
toast window on the screen to prevent adding the same
window over and over again to go around the new restriction
that toast windows are always removed after a timeout.
This change ensures that Toast removes its window immediately.

bug:31340854

Change-Id: Ia7f90844eb64b583321103d090e4407038b41547
(cherry picked from commit 1777c91f8f700c106290744b3f3465f8220c474f)

7 years agoMerge "KeyguardStatusBar: Fix bad state after canceled animation" into nyc-mr1-dev
TreeHugger Robot [Thu, 8 Sep 2016 21:31:51 +0000 (21:31 +0000)]
Merge "KeyguardStatusBar: Fix bad state after canceled animation" into nyc-mr1-dev

7 years agoMerge "Remove the deleted userhanle in cache to stop crashing." into nyc-mr1-dev
Lei Yu [Thu, 8 Sep 2016 21:14:25 +0000 (21:14 +0000)]
Merge "Remove the deleted userhanle in cache to stop crashing." into nyc-mr1-dev

7 years agoContextHubService: Keep handles across hub reboot
Greg Kaiser [Thu, 8 Sep 2016 07:12:19 +0000 (00:12 -0700)]
ContextHubService: Keep handles across hub reboot

Previously, when a Context Hub rebooted, this service would reset
all of the "handles" used to identify the nanoapps on the Context
Hub.  This caused many issues for Java application code trying to
track nanoapps, and these issues were exacerbated under nanohub,
which reboots every times it loads an app.

We change this so that we keep the same handle across reboot if
the same nanoapp is still running post-reboot.  We accomplish
this by never "invalidating" our caches, but rather performing
a query post-reboot and removing stale entries.

Due to b/30835598, we needed to change our post-load query to
be all apps.  Without that change, a race between the two
query responses we would have post nanohub app load (one for
post-load, one for post-reboot) would leave us without knowing
which response we're dealing with.  Now, since both requests
are the same, we don't care which response we deal with.

This is all (hopefully) just for the Nougat release.  In the
O release, we hope to remove these caches (b/30835981) and
the idea of the JNI code inventing handles (b/30810861).

Bug: 30950975
Change-Id: I85a84ba5c1a039d69c1adaaea56609e0a38cce42

7 years agoMerge "Change density for the correct user" into nyc-mr1-dev
TreeHugger Robot [Thu, 8 Sep 2016 21:06:58 +0000 (21:06 +0000)]
Merge "Change density for the correct user" into nyc-mr1-dev

7 years agoCalls setUidFirewallRules() and enableFirewallChain() asynchronously.
Felipe Leme [Thu, 8 Sep 2016 20:26:55 +0000 (13:26 -0700)]
Calls setUidFirewallRules() and enableFirewallChain() asynchronously.

The updateRulesForRestrictPowerUL() method is used to set the
power-related restrictions for all apps and it ends up by calling
NetworkManagerService twice (and each call spawns an iptables process,
which takes ~50ms to complete). This method is called on some critical
paths, like when the device leaves Doze Light mode.

This change makes these calls asynchronously, hence reducing the delay
on such critical paths in the O(100ms).

Fixes: 31281543

Test: cts-tradefed run commandAndExit cts -m CtsHostsideNetworkTests -t
com.android.cts.net.HostsideRestrictBackgroundNetworkTests

Change-Id: If720a7112c72a18193ea9614ae187b7ed9c741ec

7 years agoMerge "Changed the header of the region selection list to "All regions"" into nyc...
Mihai Niță [Thu, 8 Sep 2016 20:48:11 +0000 (20:48 +0000)]
Merge "Changed the header of the region selection list to "All regions"" into nyc-mr1-dev

7 years agoMerge "ContextHubService: Avoid null pointer dereference" into nyc-mr1-dev
Greg Kaiser [Thu, 8 Sep 2016 20:40:58 +0000 (20:40 +0000)]
Merge "ContextHubService: Avoid null pointer dereference" into nyc-mr1-dev

7 years agoMerge "Fix hint text color to align with latest Material spec" into nyc-mr1-dev
Alan Viverette [Thu, 8 Sep 2016 20:00:32 +0000 (20:00 +0000)]
Merge "Fix hint text color to align with latest Material spec" into nyc-mr1-dev

7 years agoDon't update app idle rules on updateRulesForRestrictPowerUL().
Felipe Leme [Thu, 8 Sep 2016 16:33:48 +0000 (09:33 -0700)]
Don't update app idle rules on updateRulesForRestrictPowerUL().

updateRulesForRestrictPowerUL() should only affect the global
rules (Doze and Battery Saver), while app idle is an app-specific
rule. Such call was delaying setDeviceIdle() in O(100ms).

BUG: 31281543

Test: cts-tradefed run commandAndExit cts -m CtsHostsideNetworkTests -t com.android.cts.net.HostsideRestrictBackgroundNetworkTests#testAppIdleNonMetered_enabled
Test: cts-tradefed run commandAndExit cts -m CtsHostsideNetworkTests -t com.android.cts.net.HostsideRestrictBackgroundNetworkTests#testAppIdleNonMetered_whitelisted
Test: cts-tradefed run commandAndExit cts -m CtsHostsideNetworkTests -t com.android.cts.net.HostsideRestrictBackgroundNetworkTests#testAppIdleNonMetered_blacklisted
Test: cts-tradefed run commandAndExit cts -m CtsHostsideNetworkTests -t com.android.cts.net.HostsideRestrictBackgroundNetworkTests#testAppIdleMetered_enabled
Test: cts-tradefed run commandAndExit cts -m CtsHostsideNetworkTests -t com.android.cts.net.HostsideRestrictBackgroundNetworkTests#testAppIdleMetered_whitelisted
Test: cts-tradefed run commandAndExit cts -m CtsHostsideNetworkTests -t com.android.cts.net.HostsideRestrictBackgroundNetworkTests#testAppIdleMetered_disabled

Change-Id: I32ad6853a6d88e2709538d00cd1e77b96d331b2d

7 years agoChanged the header of the region selection list to "All regions"
Mihai Nita [Fri, 2 Sep 2016 17:36:59 +0000 (10:36 -0700)]
Changed the header of the region selection list to "All regions"

Bug: 31257462
Change-Id: I3112b5700e23674d2c48c7ca96a2f1a17a5f15db

7 years agoMerge "docs: Fixing links to moved Fragments guide, + redirect" into nyc-dev am:...
Andrew Solovay [Thu, 8 Sep 2016 17:55:51 +0000 (17:55 +0000)]
Merge "docs: Fixing links to moved Fragments guide, + redirect" into nyc-dev am: de40f9d677
am: 6cff52dbae

Change-Id: Ida064a9e8fd3498f2df2f5843c94ecd53653124a

7 years agodocs: Fixing links to moved Fragments guide, + redirect am: f53968061c
Andrew Solovay [Thu, 8 Sep 2016 17:50:36 +0000 (17:50 +0000)]
docs: Fixing links to moved Fragments guide, + redirect am: f53968061c
am: 37b32a5d31

Change-Id: Iedccf6e09180096235f438edb96bdf73e273fae0

7 years agoMerge "docs: Fixing links to moved Fragments guide, + redirect" into nyc-dev
Andrew Solovay [Thu, 8 Sep 2016 17:43:45 +0000 (17:43 +0000)]
Merge "docs: Fixing links to moved Fragments guide, + redirect" into nyc-dev
am: de40f9d677

Change-Id: Ib6be573fb963eda1d032c55eb9da4878d7374533

7 years agodocs: Fixing links to moved Fragments guide, + redirect
Andrew Solovay [Thu, 8 Sep 2016 17:43:40 +0000 (17:43 +0000)]
docs: Fixing links to moved Fragments guide, + redirect
am: f53968061c

Change-Id: Ic29b29244d2919bcd5eb5b72daeaa8a78dc71e2d

7 years agoMerge "docs: Fixing links to moved Fragments guide, + redirect" into nyc-dev
Andrew Solovay [Thu, 8 Sep 2016 17:36:46 +0000 (17:36 +0000)]
Merge "docs: Fixing links to moved Fragments guide, + redirect" into nyc-dev

7 years agoMerge "Fix memory leak in MediaScannerConnection" into nyc-mr1-dev
Marco Nelissen [Thu, 8 Sep 2016 17:34:16 +0000 (17:34 +0000)]
Merge "Fix memory leak in MediaScannerConnection" into nyc-mr1-dev

7 years agoMerge "DO NOT MERGE: Accurately emulate historic Downloads ACTION_VIEW behavior....
TreeHugger Robot [Thu, 8 Sep 2016 17:25:16 +0000 (17:25 +0000)]
Merge "DO NOT MERGE: Accurately emulate historic Downloads ACTION_VIEW behavior." into nyc-mr1-dev

7 years agoRemove the deleted userhanle in cache to stop crashing.
jackqdyulei [Wed, 24 Aug 2016 16:48:54 +0000 (09:48 -0700)]
Remove the deleted userhanle in cache to stop crashing.

Because the user handles are not up-to-date, we need to update it when
necessary.

Bug: 30919785
Test: This branch doesn't support robo test, testcases will be added in
master branch when merged down(ag/1419729)

Change-Id: Ia095c3946c49db239e0b1b2bcc8588b02158c036

7 years agoFix memory leak in MediaScannerConnection
xiaoli.xb.zuo [Wed, 13 Jul 2016 05:37:58 +0000 (14:37 +0900)]
Fix memory leak in MediaScannerConnection

This patch adds releasing of MediaScannerConnection in ClientProxy
after disconnecting and releasing of ClientProxy and
IMediaScannerService in disconnection sequence in
MediaScannerConnection.

Bug: 30150344

Change-Id: I1e162e4c9a0b7a741ace20480bcf06f3151a93bf

7 years agoMerge "Update icons and strings for always-on VPN info" into nyc-mr1-dev
TreeHugger Robot [Thu, 8 Sep 2016 10:52:17 +0000 (10:52 +0000)]
Merge "Update icons and strings for always-on VPN info" into nyc-mr1-dev

7 years agoMerge "Backport changes to whitelist sockets opened by the zygote." into mnc-dev...
Narayan Kamath [Thu, 8 Sep 2016 09:21:44 +0000 (09:21 +0000)]
Merge "Backport changes to whitelist sockets opened by the zygote." into mnc-dev am: 014016cf32 am: 447d3798f1 am: 71e6a6f12a am: 177ee386b9 am: b126d7c7c5
am: f04f3892fb

Change-Id: I1bfdbef0c8df640d64cdb77cdccc51d38bb75186

7 years agoMerge "Backport changes to whitelist sockets opened by the zygote." into mnc-dev...
Narayan Kamath [Thu, 8 Sep 2016 09:16:24 +0000 (09:16 +0000)]
Merge "Backport changes to whitelist sockets opened by the zygote." into mnc-dev am: 014016cf32 am: 447d3798f1 am: 71e6a6f12a am: 177ee386b9
am: b126d7c7c5

Change-Id: Ibd4f7188bf500886e53d4b714e5c7de1ad5b10c0

7 years agoBackport changes to whitelist sockets opened by the zygote. am: 0f6a0e1560 -s ours...
Narayan Kamath [Thu, 8 Sep 2016 09:06:22 +0000 (09:06 +0000)]
Backport changes to whitelist sockets opened by the zygote. am: 0f6a0e1560  -s ours am: 6fa8339792 am: c6ced086d1 am: 4474da7b7c am: 5556367bc1
am: 7f78990260

Change-Id: I6a6be5e38a99806f68bf33a2642a79d39f14d3b3

7 years agoMerge "Backport changes to whitelist sockets opened by the zygote." into mnc-dr-dev...
Narayan Kamath [Thu, 8 Sep 2016 09:06:19 +0000 (09:06 +0000)]
Merge "Backport changes to whitelist sockets opened by the zygote." into mnc-dr-dev am: 459810b9b7 am: 47b88a15f6 am: 7a0c7ab520 am: 45d7b8dd2a
am: c83ca7267a

Change-Id: I3ec8374998a606b98d61a2e6de72b1be2800a4c8

7 years agoMerge "Backport changes to whitelist sockets opened by the zygote." into mnc-dev...
Narayan Kamath [Thu, 8 Sep 2016 09:05:08 +0000 (09:05 +0000)]
Merge "Backport changes to whitelist sockets opened by the zygote." into mnc-dev am: 014016cf32 am: 447d3798f1 am: 71e6a6f12a
am: 177ee386b9

Change-Id: Ic7a1d8c1ba996024b02915e431f2b7aacc306225

7 years agoBackport changes to whitelist sockets opened by the zygote. am: 0f6a0e1560 -s ours...
Narayan Kamath [Thu, 8 Sep 2016 08:57:48 +0000 (08:57 +0000)]
Backport changes to whitelist sockets opened by the zygote. am: 0f6a0e1560  -s ours am: 6fa8339792 am: c6ced086d1 am: 4474da7b7c
am: 5556367bc1

Change-Id: I5db1d9538c274cf6d5e9a001ba7d38056f3928eb

7 years agoMerge "Backport changes to whitelist sockets opened by the zygote." into mnc-dr-dev...
Narayan Kamath [Thu, 8 Sep 2016 08:57:46 +0000 (08:57 +0000)]
Merge "Backport changes to whitelist sockets opened by the zygote." into mnc-dr-dev am: 459810b9b7 am: 47b88a15f6 am: 7a0c7ab520
am: 45d7b8dd2a

Change-Id: I66a02ec7bac220d515fc623dbcd0688b72db37fb

7 years agoBackport changes to whitelist sockets opened by the zygote. am: 41ca1bce01 am: 49d992...
Narayan Kamath [Thu, 8 Sep 2016 08:57:35 +0000 (08:57 +0000)]
Backport changes to whitelist sockets opened by the zygote. am: 41ca1bce01 am: 49d992fdb0 am: 67c4adb5c1  -s ours am: bf16d345a6
am: beade90fe3

Change-Id: I17a42a46943a47015a94f31d9e4298ec2162fa29

7 years agoBackport changes to whitelist sockets opened by the zygote. am: 41ca1bce01 am: 49d992...
Narayan Kamath [Thu, 8 Sep 2016 08:49:59 +0000 (08:49 +0000)]
Backport changes to whitelist sockets opened by the zygote. am: 41ca1bce01 am: 49d992fdb0 am: 67c4adb5c1  -s ours
am: bf16d345a6

Change-Id: Iedb9a7c7428cd8a5dc5aabaf9f1f88d96c8f022a

7 years agoBackport changes to whitelist sockets opened by the zygote. am: 0f6a0e1560 -s ours...
Narayan Kamath [Thu, 8 Sep 2016 08:48:39 +0000 (08:48 +0000)]
Backport changes to whitelist sockets opened by the zygote. am: 0f6a0e1560  -s ours am: 6fa8339792 am: c6ced086d1
am: 4474da7b7c

Change-Id: Ie14b0e7887bd2da5c986b077f4563bbc306c88be

7 years agoMerge "Backport changes to whitelist sockets opened by the zygote." into mnc-dr-dev...
Narayan Kamath [Thu, 8 Sep 2016 08:48:31 +0000 (08:48 +0000)]
Merge "Backport changes to whitelist sockets opened by the zygote." into mnc-dr-dev am: 459810b9b7 am: 47b88a15f6
am: 7a0c7ab520

Change-Id: I0ed385ab13ca461c1b77226d3be3cf788a09d3d6

7 years agoMerge "Backport changes to whitelist sockets opened by the zygote." into mnc-dev...
Narayan Kamath [Thu, 8 Sep 2016 08:45:47 +0000 (08:45 +0000)]
Merge "Backport changes to whitelist sockets opened by the zygote." into mnc-dev am: 014016cf32 am: 447d3798f1
am: 71e6a6f12a

Change-Id: Ib162897a1428ab8c025a414eb0a3872327274f7a

7 years agoBackport changes to whitelist sockets opened by the zygote. am: 41ca1bce01 am: 49d992fdb0
Narayan Kamath [Thu, 8 Sep 2016 08:44:31 +0000 (08:44 +0000)]
Backport changes to whitelist sockets opened by the zygote. am: 41ca1bce01 am: 49d992fdb0
am: 67c4adb5c1  -s ours

Change-Id: I2af50f6d32be035f491df4a0b83489ba7da186e7

7 years agoMerge "Backport changes to whitelist sockets opened by the zygote." into mnc-dev...
Narayan Kamath [Thu, 8 Sep 2016 08:40:03 +0000 (08:40 +0000)]
Merge "Backport changes to whitelist sockets opened by the zygote." into mnc-dev am: 014016cf32
am: 447d3798f1

Change-Id: I323c669ed44e10f9e3a91271f47800754da5d389

7 years agoBackport changes to whitelist sockets opened by the zygote. am: 0f6a0e1560 -s ours...
Narayan Kamath [Thu, 8 Sep 2016 08:39:07 +0000 (08:39 +0000)]
Backport changes to whitelist sockets opened by the zygote. am: 0f6a0e1560  -s ours am: 6fa8339792
am: c6ced086d1

Change-Id: Ie3699efd33fe53acfd0dff64cbb18e4792a65bf3

7 years agoMerge "Backport changes to whitelist sockets opened by the zygote." into mnc-dr-dev...
Narayan Kamath [Thu, 8 Sep 2016 08:35:04 +0000 (08:35 +0000)]
Merge "Backport changes to whitelist sockets opened by the zygote." into mnc-dr-dev am: 459810b9b7
am: 47b88a15f6

Change-Id: Id267e22508824d569f54068291304584b3343b9a

7 years agoBackport changes to whitelist sockets opened by the zygote. am: 41ca1bce01
Narayan Kamath [Thu, 8 Sep 2016 08:34:58 +0000 (08:34 +0000)]
Backport changes to whitelist sockets opened by the zygote. am: 41ca1bce01
am: 49d992fdb0

Change-Id: I0560d831235bd7ba3ea764b23e64b4e08110d7e5

7 years agoBackport changes to whitelist sockets opened by the zygote. am: 0f6a0e1560 -s ours
Narayan Kamath [Thu, 8 Sep 2016 08:33:40 +0000 (08:33 +0000)]
Backport changes to whitelist sockets opened by the zygote. am: 0f6a0e1560  -s ours
am: 6fa8339792

Change-Id: Id7ad55a251a26782815005218dc186b53e74cfca

7 years agoMerge "Backport changes to whitelist sockets opened by the zygote." into mnc-dev
Narayan Kamath [Thu, 8 Sep 2016 08:30:41 +0000 (08:30 +0000)]
Merge "Backport changes to whitelist sockets opened by the zygote." into mnc-dev
am: 014016cf32

Change-Id: Ic0cf8b5cc2accaad552b82eaadce359e21e5e624

7 years agoMerge "Backport changes to whitelist sockets opened by the zygote." into mnc-dr-dev
Narayan Kamath [Thu, 8 Sep 2016 08:24:54 +0000 (08:24 +0000)]
Merge "Backport changes to whitelist sockets opened by the zygote." into mnc-dr-dev
am: 459810b9b7

Change-Id: I867a7c97c8363ede1b04e4ea8a75045d36d9d58d

7 years agoBackport changes to whitelist sockets opened by the zygote.
Narayan Kamath [Thu, 8 Sep 2016 08:24:47 +0000 (08:24 +0000)]
Backport changes to whitelist sockets opened by the zygote.
am: 41ca1bce01

Change-Id: Id08676457fa3fa022d607e5de754f49b9c396261

7 years agoBackport changes to whitelist sockets opened by the zygote.
Narayan Kamath [Thu, 8 Sep 2016 08:23:49 +0000 (08:23 +0000)]
Backport changes to whitelist sockets opened by the zygote.
am: 0f6a0e1560  -s ours

Change-Id: I2cdd131b750b4d04672149dcf7a90d2d566dd621

7 years agoMerge "Backport changes to whitelist sockets opened by the zygote." into mnc-dr-dev
Narayan Kamath [Thu, 8 Sep 2016 08:20:55 +0000 (08:20 +0000)]
Merge "Backport changes to whitelist sockets opened by the zygote." into mnc-dr-dev

7 years agoMerge "Fix incorrect notification about running out of storage space." into nyc-mr1-dev
TreeHugger Robot [Thu, 8 Sep 2016 08:17:48 +0000 (08:17 +0000)]
Merge "Fix incorrect notification about running out of storage space." into nyc-mr1-dev

7 years agoMerge "Backport changes to whitelist sockets opened by the zygote." into mnc-dev
Narayan Kamath [Thu, 8 Sep 2016 08:12:17 +0000 (08:12 +0000)]
Merge "Backport changes to whitelist sockets opened by the zygote." into mnc-dev

7 years agoMerge "Backport changes to whitelist sockets opened by the zygote." into nyc-dev...
Narayan Kamath [Thu, 8 Sep 2016 07:52:59 +0000 (07:52 +0000)]
Merge "Backport changes to whitelist sockets opened by the zygote." into nyc-dev am: 15ab539368
am: d18881d4f8

Change-Id: Id755f9a0a2854f874f852eddeaf129e59bb15838

7 years agoBackport changes to whitelist sockets opened by the zygote. am: a1252ccbdb
Narayan Kamath [Thu, 8 Sep 2016 07:52:57 +0000 (07:52 +0000)]
Backport changes to whitelist sockets opened by the zygote. am: a1252ccbdb
am: abd5b05190  -s ours

Change-Id: I372ab503a353175ff9e7ed49e8c775481f173bd8

7 years agoMerge "Backport changes to whitelist sockets opened by the zygote." into nyc-dev
Narayan Kamath [Thu, 8 Sep 2016 07:47:24 +0000 (07:47 +0000)]
Merge "Backport changes to whitelist sockets opened by the zygote." into nyc-dev
am: 15ab539368

Change-Id: I88c0fde563218de25fb0fa9a6bd29abf0df44212

7 years agoBackport changes to whitelist sockets opened by the zygote.
Narayan Kamath [Thu, 8 Sep 2016 07:41:44 +0000 (07:41 +0000)]
Backport changes to whitelist sockets opened by the zygote.
am: a1252ccbdb

Change-Id: Idd41ba2068102de067a66080da0563cf75b1e433

7 years agoMerge "Backport changes to whitelist sockets opened by the zygote." into nyc-dev
Narayan Kamath [Thu, 8 Sep 2016 07:30:43 +0000 (07:30 +0000)]
Merge "Backport changes to whitelist sockets opened by the zygote." into nyc-dev

7 years agoMerge "ContextHubService: Don't change app handle on load" into nyc-mr1-dev
Greg Kaiser [Thu, 8 Sep 2016 05:37:25 +0000 (05:37 +0000)]
Merge "ContextHubService: Don't change app handle on load" into nyc-mr1-dev

7 years agoContextHubService: Avoid null pointer dereference
Greg Kaiser [Thu, 8 Sep 2016 04:53:57 +0000 (21:53 -0700)]
ContextHubService: Avoid null pointer dereference

We stop calling closeLoadTxn() with a nullptr, so we won't crash.

Bug: 31354170
Change-Id: Iebec9ff90a12b350811c24886917f084de88a7d5

7 years agoMerge "Disable "Night Light" mode while in VR mode." into nyc-mr1-dev
Ruben Brunk [Thu, 8 Sep 2016 01:15:57 +0000 (01:15 +0000)]
Merge "Disable "Night Light" mode while in VR mode." into nyc-mr1-dev

7 years agoMerge "Created a NETWORK trace tag." into nyc-mr1-dev
TreeHugger Robot [Thu, 8 Sep 2016 00:34:19 +0000 (00:34 +0000)]
Merge "Created a NETWORK trace tag." into nyc-mr1-dev

7 years agoMerge "docs: Added item to Support Library revision history" into nyc-dev am: bdbed7857b
Andrew Solovay [Thu, 8 Sep 2016 00:12:25 +0000 (00:12 +0000)]
Merge "docs: Added item to Support Library revision history" into nyc-dev am: bdbed7857b
am: 139ded758a

Change-Id: I7bc5c5eada818981f76a7b85a2e00936b4fa22de

7 years agodocs: Added item to Support Library revision history am: 89e77eb55c
Andrew Solovay [Thu, 8 Sep 2016 00:12:23 +0000 (00:12 +0000)]
docs: Added item to Support Library revision history am: 89e77eb55c
am: e63f82734e

Change-Id: I72f05d38fcc0d0755ebcfcfb39cb1bc33670b65f

7 years agoMerge "revisions to the Building Your First app class with feedback from mpawlan...
Scott Main [Thu, 8 Sep 2016 00:05:12 +0000 (00:05 +0000)]
Merge "revisions to the Building Your First app class with feedback from mpawlan (thank you!)" into nyc-dev am: 9635756473
am: 16fe510e03

Change-Id: If1309a7eca08359525464c3c2ff344abc63e2330

7 years agorevisions to the Building Your First app class with feedback from mpawlan (thank...
smain@google.com [Thu, 8 Sep 2016 00:05:07 +0000 (00:05 +0000)]
revisions to the Building Your First app class with feedback from mpawlan (thank you!) am: 14f51a724e
am: 78622206ce

Change-Id: Idf7d1ebb59952c5453356cdd676c25f673bb8b22

7 years agoMerge "docs: Added item to Support Library revision history" into nyc-dev
Andrew Solovay [Thu, 8 Sep 2016 00:04:52 +0000 (00:04 +0000)]
Merge "docs: Added item to Support Library revision history" into nyc-dev
am: bdbed7857b

Change-Id: I9f7fe6847bb36d197174869ba6224d3db1581c0e

7 years agodocs: Added item to Support Library revision history
Andrew Solovay [Thu, 8 Sep 2016 00:04:48 +0000 (00:04 +0000)]
docs: Added item to Support Library revision history
am: 89e77eb55c

Change-Id: Ia649f9e8f28697014153a2f29762426303292aa2

7 years agoMerge "revisions to the Building Your First app class with feedback from mpawlan...
Scott Main [Wed, 7 Sep 2016 23:51:47 +0000 (23:51 +0000)]
Merge "revisions to the Building Your First app class with feedback from mpawlan (thank you!)" into nyc-dev
am: 9635756473

Change-Id: Ieae6cd0439d75e8858a16b44393fd248ddffcaa3

7 years agorevisions to the Building Your First app class with feedback from mpawlan (thank...
smain@google.com [Wed, 7 Sep 2016 23:51:44 +0000 (23:51 +0000)]
revisions to the Building Your First app class with feedback from mpawlan (thank you!)
am: 14f51a724e

Change-Id: I1a0d719e4aac12155cf0889069b8efd10084fe67

7 years agoMerge "Package Manager: Sort list of packages to dexopt" into nyc-mr1-dev
TreeHugger Robot [Wed, 7 Sep 2016 23:46:31 +0000 (23:46 +0000)]
Merge "Package Manager: Sort list of packages to dexopt" into nyc-mr1-dev

7 years agoMerge "docs: Added item to Support Library revision history" into nyc-dev
TreeHugger Robot [Wed, 7 Sep 2016 23:45:37 +0000 (23:45 +0000)]
Merge "docs: Added item to Support Library revision history" into nyc-dev

7 years agoMerge "revisions to the Building Your First app class with feedback from mpawlan...
Scott Main [Wed, 7 Sep 2016 23:39:50 +0000 (23:39 +0000)]
Merge "revisions to the Building Your First app class with feedback from mpawlan (thank you!)" into nyc-dev

7 years agoMerge "docs: fix grammar mistake in TextureView" into nyc-dev am: 2b05f12911
Mark Lu [Wed, 7 Sep 2016 23:35:45 +0000 (23:35 +0000)]
Merge "docs: fix grammar mistake in TextureView" into nyc-dev am: 2b05f12911
am: 4e61df6258

Change-Id: Ieebfbd7e527e7d396398076075741f28df7d3ad3

7 years agodocs: fix grammar mistake in TextureView am: e8691d19cb
Mark Lu [Wed, 7 Sep 2016 23:35:43 +0000 (23:35 +0000)]
docs: fix grammar mistake in TextureView am: e8691d19cb
am: c657eed270

Change-Id: Ie27e53ef83f31dc528df7db8973e6484d1b53230

7 years agoMerge "docs: fix grammar mistake in TextureView" into nyc-dev
Mark Lu [Wed, 7 Sep 2016 23:29:27 +0000 (23:29 +0000)]
Merge "docs: fix grammar mistake in TextureView" into nyc-dev
am: 2b05f12911

Change-Id: Ia4944106365d6c6c85b3cf2dc47250b160a5424b

7 years agodocs: fix grammar mistake in TextureView
Mark Lu [Wed, 7 Sep 2016 23:29:20 +0000 (23:29 +0000)]
docs: fix grammar mistake in TextureView
am: e8691d19cb

Change-Id: I857deef5cf08c9cdaf0d6e8e99449e688bec5ba5

7 years agoMerge "docs: fix grammar mistake in TextureView" into nyc-dev
Mark Lu [Wed, 7 Sep 2016 23:24:09 +0000 (23:24 +0000)]
Merge "docs: fix grammar mistake in TextureView" into nyc-dev

7 years agoMerge "A11y: Prevent utterance from resetting RemoteInputView" into nyc-mr1-dev
TreeHugger Robot [Wed, 7 Sep 2016 22:53:50 +0000 (22:53 +0000)]
Merge "A11y: Prevent utterance from resetting RemoteInputView" into nyc-mr1-dev

7 years agodocs: Fixing links to moved Fragments guide, + redirect
Andrew Solovay [Fri, 26 Aug 2016 22:46:38 +0000 (15:46 -0700)]
docs: Fixing links to moved Fragments guide, + redirect

The Fragments API guide was moved, but apparently a redirect was
never set up. Also, there are a few links to the old location in
the Javadocs.

Staged the revised Javadocs (see first comment for stage location).
Not going to stage the redirects file since it would trash another,
bigger CL that deals with the redirects file, but it's pretty
straightforward.

bug: 30559011
Change-Id: Ibd65f85c1ebb9789c1d40614fe11fe4ffda97e58

7 years agoMerge "DO NOT MERGE Stop work challenge freeform bypass" into nyc-dev am: fb2cdce7c2
Robin Lee [Wed, 7 Sep 2016 22:23:12 +0000 (22:23 +0000)]
Merge "DO NOT MERGE Stop work challenge freeform bypass" into nyc-dev am: fb2cdce7c2
am: a28de3b8c5

Change-Id: I8af478fbc7eb8c62142769cd0f23a33cb3c821c3

7 years agoDO NOT MERGE Stop work challenge freeform bypass am: 0737c2b4c2
Robin Lee [Wed, 7 Sep 2016 22:23:10 +0000 (22:23 +0000)]
DO NOT MERGE Stop work challenge freeform bypass am: 0737c2b4c2
am: ec5ceae174

Change-Id: Ic4bbce08944881f0d20a08c1ebb4db5531208f23

7 years agoKeyguardStatusBar: Fix bad state after canceled animation
Adrian Roos [Wed, 7 Sep 2016 22:16:22 +0000 (15:16 -0700)]
KeyguardStatusBar: Fix bad state after canceled animation

Fixes a bug where the icon area and user switcher
could overlap if the animation was canceled at a
bad time.

Change-Id: I21713512fb5c70c45439258609b87a585675304a
Fixes: 30865084

7 years agoMerge "DO NOT MERGE Stop work challenge freeform bypass" into nyc-dev
Robin Lee [Wed, 7 Sep 2016 22:15:30 +0000 (22:15 +0000)]
Merge "DO NOT MERGE Stop work challenge freeform bypass" into nyc-dev
am: fb2cdce7c2

Change-Id: I50be838e9f0f9e794389f6d24a5e699d7f163caf

7 years agoDO NOT MERGE Stop work challenge freeform bypass
Robin Lee [Wed, 7 Sep 2016 22:15:28 +0000 (22:15 +0000)]
DO NOT MERGE Stop work challenge freeform bypass
am: 0737c2b4c2

Change-Id: Ia76391f710e42e9634010bd211a0370230b318e3

7 years agoMerge "DO NOT MERGE Stop work challenge freeform bypass" into nyc-dev
TreeHugger Robot [Wed, 7 Sep 2016 22:07:19 +0000 (22:07 +0000)]
Merge "DO NOT MERGE Stop work challenge freeform bypass" into nyc-dev

7 years agoPackage Manager: Sort list of packages to dexopt
Andreas Gampe [Wed, 7 Sep 2016 01:22:19 +0000 (18:22 -0700)]
Package Manager: Sort list of packages to dexopt

Sort the list by last-use-time, if available. Interleave the
dependencies with the packages.

Clean up the code a bit for better code reuse and ease of writing
filters.

This should help with prioritization under space constraints.

Bug: 31347757
Change-Id: Ia0ec62faf013a379dc4c80b18fd6b2bfbfa470c4

7 years agodocs: Added item to Support Library revision history
Andrew Solovay [Mon, 29 Aug 2016 19:05:17 +0000 (12:05 -0700)]
docs: Added item to Support Library revision history

See first comment for doc stage location.

bug: 30622244
Change-Id: I7cfdf2107d57d72565bcc4cc503242741f2452ff

7 years agoMerge "Moved activity to stopped state if relaunched while device is asleep" into...
TreeHugger Robot [Wed, 7 Sep 2016 21:57:05 +0000 (21:57 +0000)]
Merge "Moved activity to stopped state if relaunched while device is asleep" into nyc-mr1-dev

7 years agoMerge "Allow DO/PO to be installed with certain preconfigured accounts." into nyc...
Makoto Onuki [Wed, 7 Sep 2016 21:36:35 +0000 (21:36 +0000)]
Merge "Allow DO/PO to be installed with certain preconfigured accounts." into nyc-mr1-dev

7 years agoA11y: Prevent utterance from resetting RemoteInputView
Adrian Roos [Wed, 7 Sep 2016 21:08:40 +0000 (14:08 -0700)]
A11y: Prevent utterance from resetting RemoteInputView

Fixes a bug where the RemoteInputView would issue an
utterance upon resetting the view because it was not
hidden at that point.

Change-Id: I3f80b903c0b3e55c308bda8d4f18aa0b586aa328
Fixes: 30103313

7 years agoMerge "Fix slow PIN dismiss animation" into nyc-mr1-dev
TreeHugger Robot [Wed, 7 Sep 2016 21:16:22 +0000 (21:16 +0000)]
Merge "Fix slow PIN dismiss animation" into nyc-mr1-dev

7 years agorevisions to the Building Your First app class with feedback from mpawlan (thank...
smain@google.com [Tue, 6 Sep 2016 19:32:18 +0000 (12:32 -0700)]
revisions to the Building Your First app class with feedback from mpawlan (thank you!)

stage: https://android-dot-devsite.googleplex.com/training/basics/firstapp/creating-project.html

Change-Id: I40ce201553226fa36477e54b82721bc6cc85b88b

7 years agoMerge "Support library 24.2.0 API diff" into nyc-dev am: 9d25bf73a4
Alan Viverette [Wed, 7 Sep 2016 21:03:45 +0000 (21:03 +0000)]
Merge "Support library 24.2.0 API diff" into nyc-dev am: 9d25bf73a4
am: 75136ac15b

Change-Id: I83b88e8b9c2b5f807f06b016110a19d46dbb348c

7 years agoSupport library 24.2.0 API diff am: ae3fecc1a9
Alan Viverette [Wed, 7 Sep 2016 21:03:43 +0000 (21:03 +0000)]
Support library 24.2.0 API diff am: ae3fecc1a9
am: 56477c1fcb

Change-Id: I3e4f453f37fabe0e5358b32272d38d93ea97b28c

7 years agoMerge "Support library 24.2.0 API diff" into nyc-dev
Alan Viverette [Wed, 7 Sep 2016 20:59:53 +0000 (20:59 +0000)]
Merge "Support library 24.2.0 API diff" into nyc-dev
am: 9d25bf73a4

Change-Id: I0f691281d86562c96ed0768efb69d6df77d29456