OSDN Git Service

android-x86/frameworks-base.git
7 years agoFixed a bug with incorrect handling of onUnlockUser
Fyodor Kupolov [Fri, 9 Sep 2016 21:40:54 +0000 (21:40 +0000)]
Fixed a bug with incorrect handling of onUnlockUser
am: 0f57cce644

Change-Id: I316808e7d3ff978dd3eb56a2f5a998f374a1aeab

7 years agoMerge "Fix duplicate entries in ChooserActivity" into nyc-mr1-dev
TreeHugger Robot [Fri, 9 Sep 2016 21:31:02 +0000 (21:31 +0000)]
Merge "Fix duplicate entries in ChooserActivity" into nyc-mr1-dev

7 years agoMerge "Add configurable emergency call number support" into nyc-mr1-dev
Hall Liu [Fri, 9 Sep 2016 20:48:42 +0000 (20:48 +0000)]
Merge "Add configurable emergency call number support" into nyc-mr1-dev

7 years agoMerge "CameraJNI: Fix memory leak in stop recording." into nyc-mr1-dev
Chien-Yu Chen [Fri, 9 Sep 2016 20:09:48 +0000 (20:09 +0000)]
Merge "CameraJNI: Fix memory leak in stop recording." into nyc-mr1-dev

7 years agoMerge "Add filter ordering" into nyc-mr1-dev
TreeHugger Robot [Fri, 9 Sep 2016 19:59:44 +0000 (19:59 +0000)]
Merge "Add filter ordering" into nyc-mr1-dev

7 years agoMerge "Invoke service w/ action" into nyc-mr1-dev
TreeHugger Robot [Fri, 9 Sep 2016 19:50:33 +0000 (19:50 +0000)]
Merge "Invoke service w/ action" into nyc-mr1-dev

7 years agoMerge "Fix a bug where the Deletion Helper could not delete packages." into nyc-mr1-dev
Daniel Nishi [Fri, 9 Sep 2016 19:43:10 +0000 (19:43 +0000)]
Merge "Fix a bug where the Deletion Helper could not delete packages." into nyc-mr1-dev

7 years agoMerge "Hold a weak reference to PointerController when handling vsync" into nyc-mr1-dev
TreeHugger Robot [Fri, 9 Sep 2016 19:28:08 +0000 (19:28 +0000)]
Merge "Hold a weak reference to PointerController when handling vsync" into nyc-mr1-dev

7 years agoMerge "Fix issues with SHOW_WHEN_LOCKED windows" into nyc-mr1-dev
TreeHugger Robot [Fri, 9 Sep 2016 19:17:44 +0000 (19:17 +0000)]
Merge "Fix issues with SHOW_WHEN_LOCKED windows" into nyc-mr1-dev

7 years agoMerge "Update JavaDoc for DragEvent.getLocalState" into nyc-dev am: 148ccbb082
Vladislav Kaznacheev [Fri, 9 Sep 2016 18:47:44 +0000 (18:47 +0000)]
Merge "Update JavaDoc for DragEvent.getLocalState" into nyc-dev am: 148ccbb082
am: b0666c61b1

Change-Id: I0eeed59707162085194858e3ec0349291503c0c4

7 years agoUpdate JavaDoc for DragEvent.getLocalState am: 048f3bfaf0
Vladislav Kaznacheev [Fri, 9 Sep 2016 18:47:41 +0000 (18:47 +0000)]
Update JavaDoc for DragEvent.getLocalState am: 048f3bfaf0
am: fa05df640f

Change-Id: I535a5218bec2f5cf0ea9fa83aaa92ab70f05fcdd

7 years agoMerge "Update JavaDoc for DragEvent.getLocalState" into nyc-dev
Vladislav Kaznacheev [Fri, 9 Sep 2016 18:42:42 +0000 (18:42 +0000)]
Merge "Update JavaDoc for DragEvent.getLocalState" into nyc-dev
am: 148ccbb082

Change-Id: I0933f7f9f2180462b173fc2ca0ef23bfe464b1b5

7 years agoUpdate JavaDoc for DragEvent.getLocalState
Vladislav Kaznacheev [Fri, 9 Sep 2016 18:42:34 +0000 (18:42 +0000)]
Update JavaDoc for DragEvent.getLocalState
am: 048f3bfaf0

Change-Id: I72bec54ac999ebce5779062ddc5effd1bb4d61ce

7 years agoMerge "Update JavaDoc for DragEvent.getLocalState" into nyc-dev
TreeHugger Robot [Fri, 9 Sep 2016 18:34:55 +0000 (18:34 +0000)]
Merge "Update JavaDoc for DragEvent.getLocalState" into nyc-dev

7 years agoFixed a bug with incorrect handling of onUnlockUser
Fyodor Kupolov [Fri, 9 Sep 2016 17:36:30 +0000 (10:36 -0700)]
Fixed a bug with incorrect handling of onUnlockUser

userId should be passed as arg1 instead of obj.

Bug: 31321500
Change-Id: I11e8c146d83773c73ec6bb5f5cfac566759b7bcc

7 years agoFix duplicate entries in ChooserActivity
Adam Powell [Fri, 9 Sep 2016 17:26:35 +0000 (10:26 -0700)]
Fix duplicate entries in ChooserActivity

Fix use of wrong index when checking for duplicates.

Bug 31234526

Change-Id: Ia37d1b04a9054b8d90957057db857633e4b79569

7 years agoHold a weak reference to PointerController when handling vsync
Vladislav Kaznacheev [Fri, 9 Sep 2016 17:03:31 +0000 (10:03 -0700)]
Hold a weak reference to PointerController when handling vsync

Currently PointerController starts listening to display events
immediately (in its constructor) and never explicitly removes
the callback. The reference dangling from the looper
prevents the PointerController instance from being deleted
when all the clients have released their references.

As a result, when USB or BT mouse is disconnected,
the mouse stays frozen on screen and only goes away
after a 15 sec inactivity timeout.

This change introduces an intermediary LooperCallback
which holds only a weak reference to PointerController.
The pointer now disappears immediately upon mouse
disconnect.

Bug: 30824220
Change-Id: I5f7208dbfa381b3e21f248cc0da402f307faa184

7 years agoMerge "Remove reuse of pending deferred transactions." into nyc-mr1-dev
Rob Carr [Fri, 9 Sep 2016 16:37:50 +0000 (16:37 +0000)]
Merge "Remove reuse of pending deferred transactions." into nyc-mr1-dev

7 years agoRemove reuse of pending deferred transactions.
Robert Carr [Thu, 8 Sep 2016 19:56:42 +0000 (12:56 -0700)]
Remove reuse of pending deferred transactions.

Only defer transactions originating from repositionChild. There is
no guarantee the frame we are suggested to synchronize to will ever
arrive and synchronizing WM originated transactions to this can
interfere with implementation of system policy. Anyway this code
originally was fixing a case where transactions pushed by pulling
down the notification shade, would interrupt animating SurfaceView's
by pushing an undeferred transaction for those SurfaceView's. This
doesn't seem to be occuring anymore even without this code. Furthermore
even if it was occuring, we should prevent transactions from pushing
updates for Surfaces where nothing has really changed, rather than
attempt to chain the deferred transactions.

Bug: 31293950
Bug: 27098060
Bug: 28858420
Change-Id: Ifb83fe78bb4e7d18376e53a743709648aa1e03bc

7 years agoMerge "Backport changes to whitelist sockets opened by the zygote." into lmp-mr1...
Narayan Kamath [Fri, 9 Sep 2016 11:01:19 +0000 (11:01 +0000)]
Merge "Backport changes to whitelist sockets opened by the zygote." into lmp-mr1-ub-dev am: 00e808b06b am: e59073096e am: 24ffc9ab47 am: bd6a29cddc am: e9295560cf am: 19ebec6d36
am: 2e8b25701a

Change-Id: If0cc333a2fa6bfadc0d4ac56049dc14e7066e38c

7 years agoMerge "Backport changes to whitelist sockets opened by the zygote." into lmp-mr1...
Narayan Kamath [Fri, 9 Sep 2016 10:52:43 +0000 (10:52 +0000)]
Merge "Backport changes to whitelist sockets opened by the zygote." into lmp-mr1-ub-dev am: 00e808b06b am: e59073096e am: 24ffc9ab47 am: bd6a29cddc am: e9295560cf
am: 19ebec6d36

Change-Id: Idf28988f014023f04bda3d3ce77a37fc26863469

7 years agoBackport changes to whitelist sockets opened by the zygote. am: 82c6e6267e -s ours...
Narayan Kamath [Fri, 9 Sep 2016 10:52:40 +0000 (10:52 +0000)]
Backport changes to whitelist sockets opened by the zygote. am: 82c6e6267e  -s ours am: 646ee94421 am: 8f0cc3dd13 am: 8cb6b9335c am: eb972e5d9d am: 7aba7234e1
am: d1697846ba

Change-Id: If4553a6075d24cea4398b035abea26db9998313f

7 years agoMerge "Backport changes to whitelist sockets opened by the zygote." into lmp-mr1...
Narayan Kamath [Fri, 9 Sep 2016 10:44:54 +0000 (10:44 +0000)]
Merge "Backport changes to whitelist sockets opened by the zygote." into lmp-mr1-ub-dev am: 00e808b06b am: e59073096e am: 24ffc9ab47 am: bd6a29cddc
am: e9295560cf

Change-Id: Ib64b8f7e777a5779ef7b057cb55bf1b8148e2fa5

7 years agoBackport changes to whitelist sockets opened by the zygote. am: 82c6e6267e -s ours...
Narayan Kamath [Fri, 9 Sep 2016 10:44:45 +0000 (10:44 +0000)]
Backport changes to whitelist sockets opened by the zygote. am: 82c6e6267e  -s ours am: 646ee94421 am: 8f0cc3dd13 am: 8cb6b9335c am: eb972e5d9d
am: 7aba7234e1

Change-Id: I8c33caec1a869caa4ea3d1b7e2cfcb3a9a6787ea

7 years agoBackport changes to whitelist sockets opened by the zygote. am: 82c6e6267e -s ours...
Narayan Kamath [Fri, 9 Sep 2016 10:39:40 +0000 (10:39 +0000)]
Backport changes to whitelist sockets opened by the zygote. am: 82c6e6267e  -s ours am: 646ee94421 am: 8f0cc3dd13 am: 8cb6b9335c
am: eb972e5d9d

Change-Id: I8030e2b745fe08b238fd9da5b518729fda05174e

7 years agoMerge "Backport changes to whitelist sockets opened by the zygote." into lmp-mr1...
Narayan Kamath [Fri, 9 Sep 2016 10:39:29 +0000 (10:39 +0000)]
Merge "Backport changes to whitelist sockets opened by the zygote." into lmp-mr1-ub-dev am: 00e808b06b am: e59073096e am: 24ffc9ab47
am: bd6a29cddc

Change-Id: I78f74e5d3f0e0b82afe4d5f48f2541a881189aa1

7 years agoBackport changes to whitelist sockets opened by the zygote. am: 82c6e6267e -s ours...
Narayan Kamath [Fri, 9 Sep 2016 10:33:43 +0000 (10:33 +0000)]
Backport changes to whitelist sockets opened by the zygote. am: 82c6e6267e  -s ours am: 646ee94421 am: 8f0cc3dd13
am: 8cb6b9335c

Change-Id: If2f8fbef801cd61834ac50a7e1a254ed21b95cc2

7 years agoMerge "Backport changes to whitelist sockets opened by the zygote." into lmp-mr1...
Narayan Kamath [Fri, 9 Sep 2016 10:33:40 +0000 (10:33 +0000)]
Merge "Backport changes to whitelist sockets opened by the zygote." into lmp-mr1-ub-dev am: 00e808b06b am: e59073096e
am: 24ffc9ab47

Change-Id: I78adbdbbf8ffddfee3cd8b1407415cdf3a4d1b1f

7 years agoMerge "Backport changes to whitelist sockets opened by the zygote." into lmp-mr1...
Narayan Kamath [Fri, 9 Sep 2016 10:28:52 +0000 (10:28 +0000)]
Merge "Backport changes to whitelist sockets opened by the zygote." into lmp-mr1-ub-dev am: 00e808b06b
am: e59073096e

Change-Id: Ifb7972c30d70a0fbc4ffdae100aac2d77ca445ca

7 years agoBackport changes to whitelist sockets opened by the zygote. am: 82c6e6267e -s ours...
Narayan Kamath [Fri, 9 Sep 2016 10:28:46 +0000 (10:28 +0000)]
Backport changes to whitelist sockets opened by the zygote. am: 82c6e6267e  -s ours am: 646ee94421
am: 8f0cc3dd13

Change-Id: Ida08d48da51f9f49dc70a916fa379cf89a4d33c0

7 years agoBackport changes to whitelist sockets opened by the zygote. am: 82c6e6267e -s ours
Narayan Kamath [Fri, 9 Sep 2016 10:21:48 +0000 (10:21 +0000)]
Backport changes to whitelist sockets opened by the zygote. am: 82c6e6267e  -s ours
am: 646ee94421

Change-Id: I62f6556e630707274daa4ee0a4a57c77f5329bbc

7 years agoMerge "Backport changes to whitelist sockets opened by the zygote." into lmp-mr1...
Narayan Kamath [Fri, 9 Sep 2016 10:18:19 +0000 (10:18 +0000)]
Merge "Backport changes to whitelist sockets opened by the zygote." into lmp-mr1-ub-dev
am: 00e808b06b

Change-Id: I14939b5bf04ba47229e663b2ffc50543c5c6bc9a

7 years agoBackport changes to whitelist sockets opened by the zygote.
Narayan Kamath [Fri, 9 Sep 2016 10:15:11 +0000 (10:15 +0000)]
Backport changes to whitelist sockets opened by the zygote.
am: 82c6e6267e  -s ours

Change-Id: Ib35b2567f19aff39d285794951cf9b8cb8d74ef1

7 years agoMerge "Backport changes to whitelist sockets opened by the zygote." into lmp-mr1...
Narayan Kamath [Fri, 9 Sep 2016 10:05:44 +0000 (10:05 +0000)]
Merge "Backport changes to whitelist sockets opened by the zygote." into lmp-mr1-ub-dev

7 years agoMerge "[DO NOT MERGE] While-list apps to access account if already saw it" into nyc...
TreeHugger Robot [Fri, 9 Sep 2016 02:32:58 +0000 (02:32 +0000)]
Merge "[DO NOT MERGE] While-list apps to access account if already saw it" into nyc-mr1-dev

7 years agoMerge "Move EventLogTags.writeDeviceIdle calls outside synchronized block." into...
TreeHugger Robot [Fri, 9 Sep 2016 02:15:38 +0000 (02:15 +0000)]
Merge "Move EventLogTags.writeDeviceIdle calls outside synchronized block." into nyc-mr1-dev

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 agoMove EventLogTags.writeDeviceIdle calls outside synchronized block.
Felipe Leme [Tue, 6 Sep 2016 20:59:54 +0000 (13:59 -0700)]
Move EventLogTags.writeDeviceIdle calls outside synchronized block.

BUG: 31281543

Change-Id: I1cf5f80dda7ef0801a9fa9d0b5a5b207fc684cd5

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 ago[DO NOT MERGE] While-list apps to access account if already saw it
Svet Ganov [Sun, 4 Sep 2016 02:36:26 +0000 (19:36 -0700)]
[DO NOT MERGE] While-list apps to access account if already saw it

Sync adapters without an account access cannot run until the
user approves the account access (for the case the account
access is not allowed by other policy such as being singed
with the same cert as the authenticator). However, if the
sync adapter package already got the account from another
app which means it already saw the account we white-list
the sync adapter app to access the account as it already
saw it - the bird is out of the cage.

bug:31162498

Change-Id: I2b72f3b0d6307561ed68db2f2e9c900b15e8d098

7 years agoUpdate JavaDoc for DragEvent.getLocalState
Vladislav Kaznacheev [Thu, 8 Sep 2016 23:37:23 +0000 (16:37 -0700)]
Update JavaDoc for DragEvent.getLocalState

Explicitly state that "local state" is local to the window
which has started the drag operation.

Bug: 31372686
Change-Id: Idbea7586c4e74097362067fa90390b97744181bb

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 agoCameraJNI: Fix memory leak in stop recording.
Akhila musunuri [Thu, 21 Jul 2016 08:03:11 +0000 (13:33 +0530)]
CameraJNI: Fix memory leak in stop recording.

Issue:
Due to race conditions, if a recording frame callback is received
after a proxy listener is set to NULL, the callback is forwarded
to JNIContext which does nothing. This will lead to buffer leak
in metadata mode because fd would have been duped already.

Fix:
Release recording frame from JNIContext.

Bug: 30299751
CRs-Fixed: 1040448
Change-Id: I315ec3124014c6309d68fdc1be1e18091a84e154
Bug : 30143478

7 years agoAdd filter ordering
Todd Kennedy [Thu, 8 Sep 2016 22:34:03 +0000 (15:34 -0700)]
Add filter ordering

Filter ordering allows automatic disambiguation between multiple filters
that matching a pattern. Ordering currently only works for EphemeralResolveInfo
objects.

Bug: 30837021
Change-Id: Ia217218c7c7d159dbd75d7733c45556e690d06d2

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 agoInvoke service w/ action
Todd Kennedy [Thu, 8 Sep 2016 20:49:05 +0000 (13:49 -0700)]
Invoke service w/ action

GMS uses a service proxy and needs the action to be able to route
the connection to the proper service.

Bug: 30805203
Change-Id: I4e2177170c19dd7572226fc4f7eb36f67592e45d

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 agoFix a bug where the Deletion Helper could not delete packages.
Daniel Nishi [Thu, 25 Aug 2016 21:46:51 +0000 (14:46 -0700)]
Fix a bug where the Deletion Helper could not delete packages.

Bug: 31096000
Change-Id: I780cf74dc6750110024dcb0008b47879597f0156

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