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
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
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
Phil Weaver
41e185e73b
Merge "Reduce extra a11y events when alpha changes." into nyc-mr1-dev
2016-08-02 16:54:43 +00:00
John Reck
65ddb154c7
Fix FrameMetricsObserver crash
...
Bug: 30587465
Someday maybe the technology will exist to
allow sharing a simple constant between
Java and C++, but today is not that day.
Change-Id: I17694746cb8712058133cd5ea10c47b9909f740b
2016-08-02 09:38:26 -07:00
Tobias Thierer
8ad86a3d1a
Stop profiling on uncaught exception.
...
When "handling" an uncaught exception, make an attempt to stop
profiling. In case profiling was active, this will avoid losing
the profiling buffer.
This change is required as a base in order for
https://android-review.googlesource.com/#/c/249721/
to merge cleanly.
(Cherry picked from commit 4c79fea9ef )
Bug: 26291225
Change-Id: I35f352e5f28eafe4702da9eae587c3b65c360b3a
2016-08-02 17:32:39 +01:00
Jorim Jaggi
407c0be727
Only get trace name if tracing is enabled
...
String formatting creates new objects, so only do it if needed.
Bug: 30549756
Change-Id: I8035357c2b9c3066ef7663b938654f698a2321bc
2016-08-02 11:06:46 +02:00
Svetoslav Ganov
e1c3ca5270
Revert "Prevent apps to overlay other apps via toast windows" am: 2fc661a453
...
am: 74b90c7d85
Change-Id: I6829cf6f04155a951bcfe79fcc13dbc2104a00ae
2016-08-02 02:17:56 +00:00
Svetoslav Ganov
74b90c7d85
Revert "Prevent apps to overlay other apps via toast windows"
...
am: 2fc661a453
Change-Id: I37bfb7dc01ad512f34332e83f6cc6be31d1feaab
2016-08-02 02:01:40 +00:00
Svetoslav Ganov
a2f247e6a6
Merge "Revert "Prevent apps to overlay other apps via toast windows"" into nyc-mr1-dev
2016-08-02 01:56:10 +00:00
Svetoslav Ganov
2fc661a453
Revert "Prevent apps to overlay other apps via toast windows"
...
bug:30150688
This reverts commit dc24f937b0 .
Change-Id: Id7e8ddbf82ab426f55a5296791f1e8ebb61514bc
2016-08-02 01:55:01 +00:00
Makoto Onuki
02f338e23d
LauncherApps should also throw when user is locked
...
otherwise it'd be racy.
Bug 30406401
Change-Id: I953eb6ae58e029d254d9fdbd5d05a0090b8d2391
2016-08-01 18:15:47 -07:00
Phil Weaver
9937f81ac6
Reduce extra a11y events when alpha changes.
...
Changes in alpha only matter if they affect visibility,
so only 0 <-> nonzero changes are worth reporting. Report
them as subtree changes, as visibility affects subviews.
Not reporting every change greatly reduces the number of
event reported when alpha is animated.
Bug: 30183085
Change-Id: I905d53aa81ca8248b3aed86a91842ef499f303a8
2016-08-01 17:41:19 -07:00
Alan Viverette
c0acf68d30
Adjust touch progress offset to account for changes to AbsSeekBar am: 1d33c3f3a3
...
am: 1cad05bdc0
Change-Id: Ie542424e2b46805a890cb73e8e1bbe2d155f3aff
2016-08-01 21:11:00 +00:00
Alan Viverette
1cad05bdc0
Adjust touch progress offset to account for changes to AbsSeekBar
...
am: 1d33c3f3a3
Change-Id: I7723f2fd11ea9c8969b9147e1ef893e67e0fb9e0
2016-08-01 20:58:10 +00:00