Anthony Hugh
c1de1b6dde
Add panic detection to back button
...
am: 96e9cc5700
Change-Id: I60553d88e1e1c42c11dae92d35c4ad761d188fda
2016-08-05 00:55:38 +00:00
Jakub Pawlowski
de5ad04c2b
Merge "Fix bad index usage" am: 5cfe8a8315 am: 83272db445
...
am: 4184bab40b
Change-Id: I0aaae022f62cde8fab51c258313b00764a0ce799
2016-08-04 21:37:53 +00:00
Andre Eisenbach
4184bab40b
Merge "Fix bad index usage" am: 5cfe8a8315
...
am: 83272db445
Change-Id: Ie20fd9eea99d4ec730e40045a693181da70ec786
2016-08-04 21:29:34 +00:00
Jakub Pawlowski
83272db445
Merge "Fix bad index usage"
...
am: 5cfe8a8315
Change-Id: I36807979de4f0f74f9dd3ef6f3b2a60e83346b0f
2016-08-04 20:46:32 +00:00
Jakub Pawlowski
d167db19a9
Fix bad index usage
...
Bug: 27999121
Change-Id: Ie2ba6f71bbf6f789a3c1016ba2f0051b809ac87e
2016-08-04 20:19:52 +00:00
Makoto Onuki
d7f86b7115
ShortcutManager: Update foreground check. am: 33525d2f1a
...
am: 386fd915fc
Change-Id: Ib8c6d82fdc0218e46d30a4e85b23624882d63b1e
2016-08-04 19:41:07 +00:00
Makoto Onuki
386fd915fc
ShortcutManager: Update foreground check.
...
am: 33525d2f1a
Change-Id: I08769ba85f38c6768515450696d49a9755c698fb
2016-08-04 19:35:41 +00:00
Chris Wren
064d019bd0
only rate limit notification updates am: a61f179c3d
...
am: aefa21b65e
Change-Id: I9ac96d81c273139d08481185b829189ac01cac4d
2016-08-04 18:50:52 +00:00
Chris Wren
aefa21b65e
only rate limit notification updates
...
am: a61f179c3d
Change-Id: I1b140eb26b2cb69c314bcc2f3543dbe3431290c3
2016-08-04 18:40:08 +00:00
Chris Wren
a61f179c3d
only rate limit notification updates
...
Updates to progress bars are the main culprit in system
performance events caused by apps spamming the notification
service. Rate-limiting only updates allows us to set a lower
threshold wihtout the owrry of mistakenly dropping bursts of
notifications being quickly posted after a network sync.
Also reduce logspam caused by the rate-limit events.
Bug: 30132961
Change-Id: I49acda6a2831204da45e899ddd3d62d571d7174b
2016-08-04 17:04:02 +00:00
John Reck
2f072bae6e
Fix NPE in TextureView am: 3c2587f26e
...
am: 8fe31ec0e0
Change-Id: I1f36262f8c09b4d75910bd5b3943b0931f57f477
2016-08-04 16:49:04 +00:00
John Reck
8fe31ec0e0
Fix NPE in TextureView
...
am: 3c2587f26e
Change-Id: I79f35e5029cb3abb5fa74a60e448cd09835e2112
2016-08-04 16:43:29 +00:00
John Reck
3c2587f26e
Fix NPE in TextureView
...
Bug: 30651595
Change-Id: Ic6cc2a1598de173aaadb4061562236a563a662b3
2016-08-04 07:55:38 -07:00
Andre Eisenbach
b522118d5e
Merge "HFP 1.7 profile update (3/4)" am: f28f6bb2b0
...
am: a095ee3c1d
Change-Id: I31570d1d9da08e6d7481ffead5ef7625c88018f2
2016-08-04 01:43:00 +00:00
Mudumba Ananth
a095ee3c1d
Merge "HFP 1.7 profile update (3/4)"
...
am: f28f6bb2b0
Change-Id: I0211cecf91f324d24b7b5524344812f7d6b6602a
2016-08-04 01:32:41 +00:00
Mudumba Ananth
709b11ef7a
HFP 1.7 profile update (3/4)
...
-> Android Framework changes to add support for
an API to send indicator change in AG.
-> Added a system intent for broadcasting assigned number(ID)
of the supported HF indicators and their values (if received)
Bug: 19983867
Change-Id: If26a7ae5da5686da72ebca9ec3decfe086e2ffb6
(cherry picked from commit 0d98ebf997 )
2016-08-03 17:55:04 -07:00
Adam Lesinski
cf42572c3c
ResourcesManager: Return null on failure to create Resources am: 53fafdfbe7
...
am: dc477a9e6c
Change-Id: I6eee09bf6911b0e885a833feb864f9bbcb053b84
2016-08-04 00:28:18 +00:00
Adam Lesinski
dc477a9e6c
ResourcesManager: Return null on failure to create Resources
...
am: 53fafdfbe7
Change-Id: I47c891d2c21c2ba95cc05d4972332ea128b2d444
2016-08-04 00:19:23 +00:00
Jakub Pawlowski
9dd9e1a635
Merge "Remove write type from GATT descriptor writes (1/4)" am: b7eb1d7eaf am: 0aa5797976
...
am: ed042c00e0
Change-Id: I524d324c44f545989cd10a79143928ad57f8332d
2016-08-04 00:19:14 +00:00
Jakub Pawlowski
ed042c00e0
Merge "Remove write type from GATT descriptor writes (1/4)" am: b7eb1d7eaf
...
am: 0aa5797976
Change-Id: I7131629944d7a2569440ced1e48900ec5ff883d7
2016-08-04 00:12:46 +00:00
TreeHugger Robot
1584d5d6e2
Merge "ResourcesManager: Return null on failure to create Resources" into nyc-mr1-dev
2016-08-04 00:08:21 +00:00
Jakub Pawlowski
0aa5797976
Merge "Remove write type from GATT descriptor writes (1/4)"
...
am: b7eb1d7eaf
Change-Id: Ibe16bab7ec21d19d6f3cfd5cb65768b06a5ca829
2016-08-04 00:01:25 +00:00
Makoto Onuki
33525d2f1a
ShortcutManager: Update foreground check.
...
- When the cached UID state says a UID is in the background,
check with AM and get the latest state, since the state
might just have been changed.
Bug 30640208
Change-Id: If448f6f21f290fa0fc13550d9c740f56aa8bfce0
2016-08-03 16:36:38 -07:00
Anthony Hugh
96e9cc5700
Add panic detection to back button
...
Adds "panic" detection to the back button. Implemented solution
uses 4x button presses in a short duration to detect for "panic".
The value used to determine the duration between key up and key down
that still count as a multi-button press is configurable via the
Settings Provider.
BUG: 28027764
Change-Id: Ibf1370ff3cb539a9a54002a8704922744a3ca5d7
2016-08-03 15:24:58 -07:00
sergeyv
221b1f7b46
TextureView: destroy layer on destroyHardwareResources event am: 1c16c37d86
...
am: ab7b865ef6
Change-Id: Idb0c2484c3ef2230bc4637c6b9cfaa9fe636e95e
2016-08-03 22:24:23 +00:00
sergeyv
ab7b865ef6
TextureView: destroy layer on destroyHardwareResources event
...
am: 1c16c37d86
Change-Id: I75a9c06c81f696b8a65d128f4ec20ca9d3083a07
2016-08-03 22:08:13 +00:00
Sergei Vasilinetc
ba3d4f6ea1
Merge "TextureView: destroy layer on destroyHardwareResources event" into nyc-mr1-dev
2016-08-03 21:54:10 +00:00
Adam Lesinski
53fafdfbe7
ResourcesManager: Return null on failure to create Resources
...
A lot of calling framework code expects a null value on failure,
and didn't catch the previous exception. There were some strange
corner cases where previously a null value was not checked for
in framework code, allowing the null Resources object to be
returned to the caller. Introducing an exception changed the
semantics and can crash certain apps.
Bug:30422475
Change-Id: I51d34ae43c9ec605a8790989c56cf85b815ff5b8
2016-08-03 14:44:52 -07:00
Jakub Pawlowski
8e970d6ab4
Remove write type from GATT descriptor writes (1/4)
...
According to the Bluetooth Core specification v4.2, Vol 3, Part G,
section 4.12.3: "The Attribute Protocol WRITE REQUEST is used
for this sub-procedure".
Change-Id: I141dd24ed5911d5d485b52a1b661835b9960921a
2016-08-03 10:42:47 -07:00
Jakub Pawlowski
ca08f14d6b
Merge "GATT Server refactoring (2/4)" am: d13954e8c6 am: fe4b1e47fc
...
am: f8b8f56b73
Change-Id: Ia82c41019c18342f4971b4803fa898999c67d7b9
2016-08-03 13:12:02 +00:00
Jakub Pawlowski
f8b8f56b73
Merge "GATT Server refactoring (2/4)" am: d13954e8c6
...
am: fe4b1e47fc
Change-Id: Id4a88b39102b3acbc09e203e09637c40ae81bb89
2016-08-03 13:05:48 +00:00
Jakub Pawlowski
fe4b1e47fc
Merge "GATT Server refactoring (2/4)"
...
am: d13954e8c6
Change-Id: I10383d95f79409282d96ae60b294c72754df5641
2016-08-03 12:59:24 +00:00
Tobias Thierer
258a554f62
Merge "Stop profiling on uncaught exception."
2016-08-03 10:42:37 +00:00
sergeyv
1c16c37d86
TextureView: destroy layer on destroyHardwareResources event
...
bug:30468770
Change-Id: I5174808e3fa6e4a87e3522246522c4e6d7ee2c3c
2016-08-02 15:40:27 -07:00
Yigit Boyar
5eede8910b
Target API check for margin params fix am: 2dd20a61e9
...
am: 6efd207022
Change-Id: Ic05edff9014a74cd543d0eef03ba8862a198613a
2016-08-02 20:57:22 +00:00
Yigit Boyar
6efd207022
Target API check for margin params fix
...
am: 2dd20a61e9
Change-Id: I745d44946585e08143e76b7d9da1a7302b4d66b9
2016-08-02 20:50:52 +00:00
Jakub Pawlowski
d75f512aa2
GATT Server refactoring (2/4)
...
Bug: 27999121
Change-Id: Ia5f91298a4b01b62adebc8adc30f27f757259588
2016-08-02 20:45:06 +00:00
Yigit Boyar
828d4ff61d
Merge "Target API check for margin params fix" into nyc-mr1-dev
2016-08-02 20:41:08 +00:00
Jorim Jaggi
ac94b47abe
Only get trace name if tracing is enabled am: 407c0be727
...
am: ca023af1b0
Change-Id: I33bc9f81389cd3952f51e76514a5f1d871b4161a
2016-08-02 18:51:26 +00:00
Jorim Jaggi
ca023af1b0
Only get trace name if tracing is enabled
...
am: 407c0be727
Change-Id: I0906df5742eb1775fb80c08e99bbb9cf690f0c72
2016-08-02 18:40:29 +00:00
Jorim Jaggi
1340221244
Merge changes I03844bce,I8035357c,Ibe7cb6df into nyc-mr1-dev
...
* changes:
Remove lock contention when unlocking users
Only get trace name if tracing is enabled
Fix multi-window drag jank if vsync-app is before vsync-sf
2016-08-02 18:31:08 +00:00
Yigit Boyar
2dd20a61e9
Target API check for margin params fix
...
Prior to N, our widgets were not converting MarginLayoutParams
properly between ViewGroups. The fix intrudced some issues in
older apps as the broken conversion code would hide developer
errors. This CL guards the change with a target API check so
that we don't affect older apps.
Bug: 30378230
Change-Id: I215281d261b553c3b4cedcd29ea0a861df809471
2016-08-02 11:27:18 -07:00
John Reck
c7a8458205
Fix FrameMetricsObserver crash am: 65ddb154c7
...
am: 6e30f4c789
Change-Id: Ic1bc80f8bbd20ce73f9e32c3a7457ad876c28476
2016-08-02 18:24:34 +00:00
John Reck
6e30f4c789
Fix FrameMetricsObserver crash
...
am: 65ddb154c7
Change-Id: I48a04e9ba2674da351d227ba7f6d6069fd3e4727
2016-08-02 18:15:39 +00:00
Makoto Onuki
88870a84ed
LauncherApps should also throw when user is locked am: 02f338e23d
...
am: 897a4f84d0
Change-Id: I0e2112d5c638ddf11a51f004eec2b533acd2251b
2016-08-02 18:15:18 +00:00
TreeHugger Robot
0d8f164cde
Merge "Fix FrameMetricsObserver crash" into nyc-mr1-dev
2016-08-02 18:06:08 +00:00
Makoto Onuki
897a4f84d0
LauncherApps should also throw when user is locked
...
am: 02f338e23d
Change-Id: I327fbde0973fc0e2942ca69cf98ccc0c04fd2417
2016-08-02 18:03:07 +00:00
Makoto Onuki
61dd3c557c
Merge "LauncherApps should also throw when user is locked" into nyc-mr1-dev
2016-08-02 17:58:20 +00:00
Phil Weaver
fc5164a615
Reduce extra a11y events when alpha changes. am: 9937f81ac6
...
am: 2dd6ce7aff
Change-Id: I70adc04b7890ce4a9b207c34d77461bcf22d413c
2016-08-02 17:15:20 +00:00
Phil Weaver
2dd6ce7aff
Reduce extra a11y events when alpha changes.
...
am: 9937f81ac6
Change-Id: I23a097e1de51449b7dfa4a4986255fec4c8c3b05
2016-08-02 17:10:03 +00:00