Commit Graph

251731 Commits

Author SHA1 Message Date
Hall Liu
265fcad145 Merge "Add configurable emergency call number support" into nyc-mr1-dev 2016-09-09 20:48:44 +00:00
Chien-Yu Chen
d0948a053f Merge "CameraJNI: Fix memory leak in stop recording." into nyc-mr1-dev 2016-09-09 20:09:49 +00:00
TreeHugger Robot
295f5108f1 Merge "Add filter ordering" into nyc-mr1-dev 2016-09-09 19:59:46 +00:00
TreeHugger Robot
b64095df86 Merge "Invoke service w/ action" into nyc-mr1-dev 2016-09-09 19:50:36 +00:00
Daniel Nishi
e64b7a0656 Merge "Fix a bug where the Deletion Helper could not delete packages." into nyc-mr1-dev 2016-09-09 19:43:12 +00:00
TreeHugger Robot
c1c0421f67 Merge "Hold a weak reference to PointerController when handling vsync" into nyc-mr1-dev 2016-09-09 19:28:10 +00:00
TreeHugger Robot
163f8eac70 Merge "Fix issues with SHOW_WHEN_LOCKED windows" into nyc-mr1-dev 2016-09-09 19:17:46 +00:00
Vladislav Kaznacheev
8fdbce9d6c Merge "Update JavaDoc for DragEvent.getLocalState" into nyc-dev am: 148ccbb082
am: b0666c61b1

Change-Id: I0eeed59707162085194858e3ec0349291503c0c4
2016-09-09 18:47:44 +00:00
Vladislav Kaznacheev
c9bab3001f Update JavaDoc for DragEvent.getLocalState am: 048f3bfaf0
am: fa05df640f

Change-Id: I535a5218bec2f5cf0ea9fa83aaa92ab70f05fcdd
2016-09-09 18:47:41 +00:00
Vladislav Kaznacheev
b0666c61b1 Merge "Update JavaDoc for DragEvent.getLocalState" into nyc-dev
am: 148ccbb082

Change-Id: I0933f7f9f2180462b173fc2ca0ef23bfe464b1b5
2016-09-09 18:42:42 +00:00
Vladislav Kaznacheev
fa05df640f Update JavaDoc for DragEvent.getLocalState
am: 048f3bfaf0

Change-Id: I72bec54ac999ebce5779062ddc5effd1bb4d61ce
2016-09-09 18:42:34 +00:00
TreeHugger Robot
148ccbb082 Merge "Update JavaDoc for DragEvent.getLocalState" into nyc-dev 2016-09-09 18:34:59 +00:00
Vladislav Kaznacheev
33c5903e77 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
2016-09-09 10:03:31 -07:00
Rob Carr
1b6e3e4824 Merge "Remove reuse of pending deferred transactions." into nyc-mr1-dev 2016-09-09 16:37:51 +00:00
Robert Carr
5dc3f284bd 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
2016-09-09 16:36:47 +00:00
Narayan Kamath
2fd160b0d4 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
2016-09-09 11:01:19 +00:00
Narayan Kamath
2e8b25701a 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
2016-09-09 10:52:43 +00:00
Narayan Kamath
7a4882a895 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
2016-09-09 10:52:40 +00:00
Narayan Kamath
19ebec6d36 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
2016-09-09 10:44:54 +00:00
Narayan Kamath
d1697846ba 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
2016-09-09 10:44:45 +00:00
Narayan Kamath
7aba7234e1 Backport changes to whitelist sockets opened by the zygote. am: 82c6e6267e -s ours am: 646ee94421 am: 8f0cc3dd13 am: 8cb6b9335c
am: eb972e5d9d

Change-Id: I8030e2b745fe08b238fd9da5b518729fda05174e
2016-09-09 10:39:40 +00:00
Narayan Kamath
e9295560cf 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
2016-09-09 10:39:29 +00:00
Narayan Kamath
eb972e5d9d Backport changes to whitelist sockets opened by the zygote. am: 82c6e6267e -s ours am: 646ee94421 am: 8f0cc3dd13
am: 8cb6b9335c

Change-Id: If2f8fbef801cd61834ac50a7e1a254ed21b95cc2
2016-09-09 10:33:43 +00:00
Narayan Kamath
bd6a29cddc Merge "Backport changes to whitelist sockets opened by the zygote." into lmp-mr1-ub-dev am: 00e808b06b am: e59073096e
am: 24ffc9ab47

Change-Id: I78adbdbbf8ffddfee3cd8b1407415cdf3a4d1b1f
2016-09-09 10:33:40 +00:00
Narayan Kamath
24ffc9ab47 Merge "Backport changes to whitelist sockets opened by the zygote." into lmp-mr1-ub-dev am: 00e808b06b
am: e59073096e

Change-Id: Ifb7972c30d70a0fbc4ffdae100aac2d77ca445ca
2016-09-09 10:28:52 +00:00
Narayan Kamath
8cb6b9335c Backport changes to whitelist sockets opened by the zygote. am: 82c6e6267e -s ours am: 646ee94421
am: 8f0cc3dd13

Change-Id: Ida08d48da51f9f49dc70a916fa379cf89a4d33c0
2016-09-09 10:28:46 +00:00
Narayan Kamath
8f0cc3dd13 Backport changes to whitelist sockets opened by the zygote. am: 82c6e6267e -s ours
am: 646ee94421

Change-Id: I62f6556e630707274daa4ee0a4a57c77f5329bbc
2016-09-09 10:21:48 +00:00
Narayan Kamath
e59073096e Merge "Backport changes to whitelist sockets opened by the zygote." into lmp-mr1-ub-dev
am: 00e808b06b

Change-Id: I14939b5bf04ba47229e663b2ffc50543c5c6bc9a
2016-09-09 10:18:19 +00:00
Narayan Kamath
646ee94421 Backport changes to whitelist sockets opened by the zygote.
am: 82c6e6267e  -s ours

Change-Id: Ib35b2567f19aff39d285794951cf9b8cb8d74ef1
2016-09-09 10:15:11 +00:00
Narayan Kamath
00e808b06b Merge "Backport changes to whitelist sockets opened by the zygote." into lmp-mr1-ub-dev 2016-09-09 10:05:46 +00:00
TreeHugger Robot
4edd9dd249 Merge "[DO NOT MERGE] While-list apps to access account if already saw it" into nyc-mr1-dev 2016-09-09 02:33:00 +00:00
TreeHugger Robot
b0e4d9e97b Merge "Move EventLogTags.writeDeviceIdle calls outside synchronized block." into nyc-mr1-dev 2016-09-09 02:15:42 +00:00
TreeHugger Robot
80e32028e7 Merge "Calls setUidFirewallRules() and enableFirewallChain() asynchronously." into nyc-mr1-dev 2016-09-09 02:07:33 +00:00
Winson Chung
99cf874cc3 Merge "Revert "Fixing issue with old tasks being visible in Overview"" into nyc-mr1-dev 2016-09-09 01:50:22 +00:00
Winson Chung
36f3f0337d Revert "Fixing issue with old tasks being visible in Overview"
Bug: 28908500

This reverts commit b258f6a4bd.

Change-Id: I9b3c04358d6ca693ed3fdcd9220af13f81eb704e
2016-09-09 01:29:18 +00:00
Cheryl Potter
9ee0772cde Merge "docs: Define card data for GPU Debugger b/31318053" into nyc-dev am: 8a7947b0d6
am: 300f7438d8

Change-Id: I549ca0b589a9a31b0edd158d3287f98690bd66a9
2016-09-09 01:28:43 +00:00
Cheryl Potter
310a76cc40 docs: Define card data for GPU Debugger b/31318053 am: 9af802df0f
am: 6b82489573

Change-Id: I40907673e1fdfacad6197b5e4e2b0f3a3e772c4a
2016-09-09 01:28:41 +00:00
Cheryl Potter
300f7438d8 Merge "docs: Define card data for GPU Debugger b/31318053" into nyc-dev
am: 8a7947b0d6

Change-Id: I98277a55a0699b995bd71b93bcc68e914b14a576
2016-09-09 01:24:04 +00:00
Cheryl Potter
6b82489573 docs: Define card data for GPU Debugger b/31318053
am: 9af802df0f

Change-Id: Iccbf477340c50283660c0eed32decd4587e56154
2016-09-09 01:23:57 +00:00
Cheryl Potter
8a7947b0d6 Merge "docs: Define card data for GPU Debugger b/31318053" into nyc-dev 2016-09-09 01:15:54 +00:00
Felipe Leme
ea01439ef2 Move EventLogTags.writeDeviceIdle calls outside synchronized block.
BUG: 31281543

Change-Id: I1cf5f80dda7ef0801a9fa9d0b5a5b207fc684cd5
2016-09-08 17:22:52 -07:00
Greg Kaiser
8e91087c3a Merge "ContextHubService: Keep handles across hub reboot" into nyc-mr1-dev 2016-09-09 00:18:59 +00:00
Svetoslav Ganov
821dd78512 Merge "[DO NOT MERGE] Remove toast window immediately" into nyc-mr1-dev 2016-09-08 23:49:38 +00:00
Svet Ganov
91d37f43c7 [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
2016-09-08 16:46:46 -07:00
Vladislav Kaznacheev
048f3bfaf0 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
2016-09-08 16:37:23 -07:00
TreeHugger Robot
abf1e82594 Merge "Don't update app idle rules on updateRulesForRestrictPowerUL()." into nyc-mr1-dev 2016-09-08 23:17:49 +00:00
Svet Ganov
6367e4ed30 [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 1777c91f8f)
2016-09-08 23:12:11 +00:00
Akhila musunuri
44a59499ea 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
2016-09-08 15:55:20 -07:00
Todd Kennedy
c2e96d45d2 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
2016-09-08 15:34:03 -07:00
TreeHugger Robot
cbed5a74a4 Merge "KeyguardStatusBar: Fix bad state after canceled animation" into nyc-mr1-dev 2016-09-08 21:31:54 +00:00