Commit Graph

62881 Commits

Author SHA1 Message Date
Adam Lesinski
88971b8a01 ResourcesManager: Return null on failure to create Resources am: 53fafdfbe7 am: dc477a9e6c
am: cf42572c3c

Change-Id: Ife13753fd7f7a19495d4ea7d7cda7c18ba5db7fc
2016-08-04 00:44:13 +00:00
Jakub Pawlowski
d92a9bbff7 Merge "Remove write type from GATT descriptor writes (1/4)" am: b7eb1d7eaf am: 0aa5797976 am: ed042c00e0
am: 9dd9e1a635

Change-Id: I418e61d8d60d53980c43c15a2d01ce32005c5eb3
2016-08-04 00:34:12 +00: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
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
024cdbc740 TextureView: destroy layer on destroyHardwareResources event am: 1c16c37d86 am: ab7b865ef6
am: 221b1f7b46

Change-Id: I7f7d9133e168906524b892a5c4e5388e0b3a33bc
2016-08-03 22:32:28 +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
Srinath Sridharan
1a61a0ae43 Adding a new getThreadScheduler() method.
bug:  30226969
Change-Id: Icbd57e99740ebf6ba744a103e6fa69a3160c9422
2016-08-03 15:00:17 -07: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
Tobias Thierer
c0cc71e076 Merge "Fixes the system server crash issue caused by uncatched exception." am: b68106cf2a am: ca7a43b5da am: 3b5e46bf9b
am: ca08f14d6b

Change-Id: I09dbe007a20414ed8598b660bc2af59b221b6567
2016-08-03 20:24:10 +00:00
Yigit Boyar
bb1115f1ff Target API check for margin params fix am: 2dd20a61e9 am: 6efd207022
am: 5eede8910b

Change-Id: I748d223c4dcec4f0234b0e4e808ae982efbd0bd5
2016-08-03 19:46:33 +00: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
Jorim Jaggi
526694ea52 resolve merge conflicts of 3c1b0f0 to master
Change-Id: I2314728cba47c28ff580f4dfc69868f8cb5ff5db
2016-08-03 16:23:28 +00:00
Kirill Grouchnikov
95288e41a5 Merge "Document exception throwing in TabHost" 2016-08-03 13:16:08 +00: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
TreeHugger Robot
ed2e7c894e Merge "Have BatteryStats track and report the running wakelocks." 2016-08-03 01:49:50 +00:00
Joe Onorato
92fd23fc62 Have BatteryStats track and report the running wakelocks.
The times reported are in the screen off / on battery time base.

Bug: 29546924
Change-Id: I025b2959becb256a26cf531e944786d4e9a59149
2016-08-02 17:27:01 -07:00
TreeHugger Robot
391dfcfa68 Merge "Revert "Add per-user versions of set{Component,Application}EnabledSetting."" 2016-08-02 23:56:55 +00:00
Tejas Khorana
81f7c4b6c4 Merge "Account Manager Push API" 2016-08-02 23:29:00 +00:00
sergeyv
1c16c37d86 TextureView: destroy layer on destroyHardwareResources event
bug:30468770
Change-Id: I5174808e3fa6e4a87e3522246522c4e6d7ee2c3c
2016-08-02 15:40:27 -07:00
Sudheer Shanka
38c67d3c0f Revert "Add per-user versions of set{Component,Application}EnabledSetting."
This reverts commit 0e6bfff6c1.

Change-Id: I4eafa9fc052e9eba9e26fd32c09b5e759fe63b00
2016-08-02 22:13:17 +00:00
Tejas Khorana
5edff3b8b1 Account Manager Push API
Account Push API: Designed to repurpose existing Account Discovery APIs.
Bug#30562311

Bug: https://b.corp.google.com/issues/30562311

Change-Id: If1b22dc96c5cff21550e93bd26942faa5bcdabbf
2016-08-02 14:57:06 -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
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
John Reck
a25e710181 Fix FrameMetricsObserver crash am: 65ddb154c7 am: 6e30f4c789
am: c7a8458205

Change-Id: If95aff273d4a32a7434042a13b8d373276f05d6a
2016-08-02 18:32:12 +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
Makoto Onuki
b3941d2aee LauncherApps should also throw when user is locked am: 02f338e23d am: 897a4f84d0
am: 88870a84ed

Change-Id: I5f098c71a128c9e51b957e5b391b2d57eca663f9
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
Makoto Onuki
897a4f84d0 LauncherApps should also throw when user is locked
am: 02f338e23d

Change-Id: I327fbde0973fc0e2942ca69cf98ccc0c04fd2417
2016-08-02 18:03:07 +00:00
Phil Weaver
f546b86584 Reduce extra a11y events when alpha changes. am: 9937f81ac6 am: 2dd6ce7aff
am: fc5164a615

Change-Id: If23ebf9b114d1d9f7fcf3c76e1f39dede082dc67
2016-08-02 17:56:57 +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
Kirill Grouchnikov
90ac2ac538 Document exception throwing in TabHost
Bug: 30589663
Change-Id: I2dc0ab0fff4d837a85bd1914f99711eca5dd73ca
2016-08-02 11:44:12 -04: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
Robin Lee
35579aa7b4 Merge "Pass userId through to singleton ContentProviders" 2016-08-02 07:55:21 +00:00
Alan Viverette
cf3a479d59 Adjust touch progress offset to account for changes to AbsSeekBar am: 1d33c3f3a3 am: 1cad05bdc0
am: c0acf68d30

Change-Id: Ia751dd2246bcfa0ea2a51411d00ae0f712531808
2016-08-02 02:20:44 +00:00