OSDN Git Service
Selim Cinek [Thu, 22 Sep 2016 21:03:41 +0000 (14:03 -0700)]
Fixed an issue where the inline controls where not usable
Because the calculation whether a touch is on a view was incorrect
the inline controlls would always close on tablets when interacting
with them.
Change-Id: I68dcba411b34def32a044f5a4d73b396f74e9730
Fixes:
31502625
Selim Cinek [Tue, 13 Sep 2016 23:02:33 +0000 (16:02 -0700)]
Added Emergency affordance feature
Added a service that listens whether emergency affordances
are necessary.
If the they are needed, it adds an option to the
global actions dialog that directly launches the
emergency call and also adds a long-press listener
to the keyguard emergency button.
Test: adb shell settings put global force_emergency_affordance 1 && adb shell settings put global emergency_affordance_number 111112
Fixes:
30404490
Change-Id: Ib96a15da2ef4b568a8d77140ebca6aa6f20f5ddb
Selim Cinek [Thu, 8 Sep 2016 03:00:25 +0000 (20:00 -0700)]
Large icons now scale nicer when expanding bundles
Fixes:
27597173
Change-Id: I5df234d58903b87cbef5df8812e48992b435fca8
Selim Cinek [Fri, 9 Sep 2016 21:58:41 +0000 (14:58 -0700)]
Escalate HeadsUp when dreaming starts
1. When dreaming starts before locking, notifications can remain
pinned. This is because the device is locked without
screen off, and HeadsUp are not escalated.
As a result is the pinned heads up shown behind the bouncer
when unlocking.
In this case touchable bound is limited to headsup bounds,
so the user can't unlock at all.
2. Escalate HeadsUp when bar state changes to KEYGUARD
3. This also fixed a bug where the bouncer isn't touchable
When device is occluded and locked, HeadsUp can appear.
If the user then clicks on the HeadsUp and try to send
pending intent, Bouncer can be shown without expanding
panel.
Bug:
30820511
Change-Id: I8604c9d00d839d773b32d8b913dfdcd2ed72f1dd
Selim Cinek [Tue, 30 Aug 2016 18:28:19 +0000 (11:28 -0700)]
Overflow number supports RTL layout
Fix overlapping issue of overflow number view in RTL layout.
And also, fit the width of overflow Single-line view to match_parent.
Change-Id: I436a3770c8a0001b7a577e3f726bb52cd978298e
Fixes:
31181327
Selim Cinek [Tue, 6 Sep 2016 23:42:54 +0000 (16:42 -0700)]
Update contentDescription of the DismissView when locale changes
When the locale changes, update not only text
but also contentDescription of the DismissView.
Test: switch language and observe dismiss view description
Fixes:
31320721
Change-Id: If89fd6d2f3c3819927a181ff69849b66855ae451
Selim Cinek [Tue, 6 Sep 2016 23:23:17 +0000 (16:23 -0700)]
Fixes a crash with a renderthread camera animation
Test: double-tap power button when display is off and freshly restarted.
Change-Id: I6bad3e75568ba578245dd86f7dd28597c29ae95d
Fixes:
31084435
TreeHugger Robot [Sat, 10 Sep 2016 00:04:24 +0000 (00:04 +0000)]
Merge "[DO NOT MERGE] Backup account access grants" into nyc-mr1-dev
Sungsoo Lim [Fri, 9 Sep 2016 23:50:50 +0000 (23:50 +0000)]
Merge "DO NOT MERGE) ExifInterface: Make saveAttributes throw an exception before change" into mnc-dev am:
987472290c am:
bcc0e5a7ab am:
883a724193 am:
ba9aa89cfe -s ours am:
034401cfaf
am:
4443c42d7d
Change-Id: Iac823ef7d5c21d956760dfeac8c484db1a6a5ab1
Sungsoo [Fri, 9 Sep 2016 23:50:47 +0000 (23:50 +0000)]
DO NOT MERGE) ExifInterface: Make saveAttributes throw an exception before change am:
2ee53c82cc am:
865bf88813 am:
45e14ffec6 am:
5906630ad7 -s ours am:
85446272d3
am:
4098d6507f
Change-Id: Id98427978d37dcee69a3ecd63c70f638ce93687c
Sungsoo Lim [Fri, 9 Sep 2016 23:46:11 +0000 (23:46 +0000)]
Merge "DO NOT MERGE) ExifInterface: Make saveAttributes throw an exception before change" into mnc-dev am:
987472290c am:
bcc0e5a7ab am:
883a724193 am:
ba9aa89cfe -s ours
am:
034401cfaf
Change-Id: I48a8d054110bfbf7f3e7b6b2e5829bfabd8f6133
Sungsoo [Fri, 9 Sep 2016 23:46:06 +0000 (23:46 +0000)]
DO NOT MERGE) ExifInterface: Make saveAttributes throw an exception before change am:
2ee53c82cc am:
865bf88813 am:
45e14ffec6 am:
5906630ad7 -s ours
am:
85446272d3
Change-Id: I065c3361d5bf2c495243c1a5da2d5dae46f03eb8
Sungsoo Lim [Fri, 9 Sep 2016 23:38:54 +0000 (23:38 +0000)]
Merge "DO NOT MERGE) ExifInterface: Make saveAttributes throw an exception before change" into mnc-dev am:
987472290c am:
bcc0e5a7ab am:
883a724193
am:
ba9aa89cfe -s ours
Change-Id: Ic85cbc0ad279e0c8e8859b066ec98638cfbd1cec
Sungsoo [Fri, 9 Sep 2016 23:38:34 +0000 (23:38 +0000)]
DO NOT MERGE) ExifInterface: Make saveAttributes throw an exception before change am:
2ee53c82cc am:
865bf88813 am:
45e14ffec6
am:
5906630ad7 -s ours
Change-Id: If39f3ad11006c270690a6621dfa0c16d7b74e68c
Sungsoo Lim [Fri, 9 Sep 2016 23:07:52 +0000 (23:07 +0000)]
Merge "DO NOT MERGE) ExifInterface: Make saveAttributes throw an exception before change" into mnc-dev am:
987472290c am:
bcc0e5a7ab
am:
883a724193
Change-Id: I3766dbd982ea51e8f7429da76bce8b9feebbfe8d
Sungsoo [Fri, 9 Sep 2016 23:07:49 +0000 (23:07 +0000)]
DO NOT MERGE) ExifInterface: Make saveAttributes throw an exception before change am:
2ee53c82cc am:
865bf88813
am:
45e14ffec6
Change-Id: I1a6d79242b6f972dca5bb7eb6ddd37960b1cd4f9
TreeHugger Robot [Fri, 9 Sep 2016 23:03:16 +0000 (23:03 +0000)]
Merge "Remove the reference to android.support.v7.widget.Space" into nyc-mr1-dev
Sungsoo Lim [Fri, 9 Sep 2016 22:55:14 +0000 (22:55 +0000)]
Merge "DO NOT MERGE) ExifInterface: Make saveAttributes throw an exception before change" into mnc-dev am:
987472290c
am:
bcc0e5a7ab
Change-Id: I03932a82253351dd46dee8bdd7e8910bd5862410
Sungsoo Lim [Fri, 9 Sep 2016 22:55:14 +0000 (22:55 +0000)]
Merge "DO NOT MERGE) ExifInterface: Make saveAttributes throw an exception before change" into nyc-dev am:
c60f995ae9
am:
6df90df83c
Change-Id: I6bd28a829dfbb5056b860c8667e17defcc632e5c
Sungsoo [Fri, 9 Sep 2016 22:55:11 +0000 (22:55 +0000)]
DO NOT MERGE) ExifInterface: Make saveAttributes throw an exception before change am:
2ee53c82cc
am:
865bf88813
Change-Id: I1a59ad0872c98a416efa7bfc8800d65c01cea3f8
Sungsoo [Fri, 9 Sep 2016 22:55:11 +0000 (22:55 +0000)]
DO NOT MERGE) ExifInterface: Make saveAttributes throw an exception before change am:
56ea7b4901
am:
9a420bb0f6
Change-Id: I311bf018bd114397dc1b54986aa2e8f7e7915de4
Sungsoo Lim [Fri, 9 Sep 2016 22:47:09 +0000 (22:47 +0000)]
Merge "DO NOT MERGE) ExifInterface: Make saveAttributes throw an exception before change" into mnc-dev
am:
987472290c
Change-Id: Ida680d7915f1774e1f4b2cf94d38c384d50c0e64
Sungsoo [Fri, 9 Sep 2016 22:47:06 +0000 (22:47 +0000)]
DO NOT MERGE) ExifInterface: Make saveAttributes throw an exception before change
am:
2ee53c82cc
Change-Id: Ifb5d9af5faae122dcd3111a83e69a218bf4e4f3f
Sungsoo Lim [Fri, 9 Sep 2016 22:46:53 +0000 (22:46 +0000)]
Merge "DO NOT MERGE) ExifInterface: Make saveAttributes throw an exception before change" into nyc-dev
am:
c60f995ae9
Change-Id: I91f906df707b351e082ba5444208ef24fb076534
Sungsoo [Fri, 9 Sep 2016 22:46:46 +0000 (22:46 +0000)]
DO NOT MERGE) ExifInterface: Make saveAttributes throw an exception before change
am:
56ea7b4901
Change-Id: Iebcfced541a569bd441f45ff126075c2e87401c9
Sungsoo Lim [Fri, 9 Sep 2016 22:39:20 +0000 (22:39 +0000)]
Merge "DO NOT MERGE) ExifInterface: Make saveAttributes throw an exception before change" into nyc-dev
Sungsoo Lim [Fri, 9 Sep 2016 22:39:06 +0000 (22:39 +0000)]
Merge "DO NOT MERGE) ExifInterface: Make saveAttributes throw an exception before change" into mnc-dev
Fyodor Kupolov [Fri, 9 Sep 2016 21:40:58 +0000 (21:40 +0000)]
Merge "Fixed a bug with incorrect handling of onUnlockUser" into nyc-dr1-dev
am:
05918fd123
Change-Id: I94f65a46948a26260aef08af18b8e4b2a5e1f7cb
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
Fyodor Kupolov [Fri, 9 Sep 2016 21:36:01 +0000 (21:36 +0000)]
Merge "Fixed a bug with incorrect handling of onUnlockUser" into nyc-dr1-dev
TreeHugger Robot [Fri, 9 Sep 2016 21:31:02 +0000 (21:31 +0000)]
Merge "Fix duplicate entries in ChooserActivity" 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
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
TreeHugger Robot [Fri, 9 Sep 2016 19:59:44 +0000 (19:59 +0000)]
Merge "Add filter ordering" 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
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
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
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
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
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
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
Vladislav Kaznacheev [Fri, 9 Sep 2016 18:42:34 +0000 (18:42 +0000)]
Update JavaDoc for DragEvent.getLocalState
am:
048f3bfaf0
Change-Id: I72bec54ac999ebce5779062ddc5effd1bb4d61ce
TreeHugger Robot [Fri, 9 Sep 2016 18:34:55 +0000 (18:34 +0000)]
Merge "Update JavaDoc for DragEvent.getLocalState" into nyc-dev
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
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
Svet Ganov [Wed, 7 Sep 2016 16:57:41 +0000 (09:57 -0700)]
[DO NOT MERGE] Backup account access grants
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). If the sync adapter
does not have permission to access the account we ask the
user to grant access and take a note. This CL adds backup
for the explicit user grants.
bug:
31162498
Change-Id: I31e3f3d010475352c7c54255ac2d3a2fed4d0c72
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
Rob Carr [Fri, 9 Sep 2016 16:37:50 +0000 (16:37 +0000)]
Merge "Remove reuse of pending deferred transactions." into nyc-mr1-dev
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
TreeHugger Robot [Fri, 9 Sep 2016 02:07:30 +0000 (02:07 +0000)]
Merge "Calls setUidFirewallRules() and enableFirewallChain() asynchronously." 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
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
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
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
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
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
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
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
Greg Kaiser [Fri, 9 Sep 2016 00:18:56 +0000 (00:18 +0000)]
Merge "ContextHubService: Keep handles across hub reboot" 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
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
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
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
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)
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
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
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
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
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
TreeHugger Robot [Thu, 8 Sep 2016 21:06:58 +0000 (21:06 +0000)]
Merge "Change density for the correct user" into nyc-mr1-dev
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
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
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
Greg Kaiser [Thu, 8 Sep 2016 20:40:58 +0000 (20:40 +0000)]
Merge "ContextHubService: Avoid null pointer dereference" 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
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
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
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
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
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
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
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
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