292056 Commits

Author SHA1 Message Date
Naveen Kalla
9d48e7cc2f Add RIL_UNSOL_MODEM_RESTART message
RIL_UNSOL_MODEM_RESTART will be sent by vendor RILs when it detects
a modem restart along with the reason for restart which could be a
crash signature if the modem restarted due to a crash or a some
other string such as a user-initiated restart or AT command
initiated restart.

Change-Id: Idf08e20a49e82d40f6aa0854d23384c35c2efc3a
2016-10-10 20:27:27 +00:00
Chet Haase
49a513b571 Add API to query whether animators are enabled
Animators can be scaled to have zero duration globally in any device.
This can happen either via Developer Options (an uncommon path) or
Battery Saver mode (much more common for real users).
In general, this works fine; it just causes app animations to be jump-cuts
instead (which is the desired effect, either to make transitions faster
(Developer Options setting) or to optimize battery usage by rendering
fewer frames (Battery Saver mode).

But sometimes, choreographed animations can have undesired artifacts. For
example, an animation that calls an end listener to restart itself
will end up doing this almost constantly due to this effect. Other artifacts
can also occur, such as intermediate results in a complex choreography of
multiple animations can show several intermediate results in a way that is
confusing to the user.

For these cases, there is nothing that the platform can do to automatically
determine how to best handle the result. Instead, we surface this new
API to help developers discover this behavior and compensate accordingly.

Bug: 31052471 Animation playback is abnormally fast during Battery saver mode
Test: unit tests, CTS test upcoming

Change-Id: Id7ef1a9652ac5c6cdaca0c126756e82582d49b1c
2016-10-10 19:52:07 +00:00
Lifu Tang
f8fbbf8e35 Merge "Fixed the memory leak when receiving Nav messages" into nyc-mr1-dev am: 9e4733ed33 am: 2e7ae067cd
am: 48597a8f2b

Change-Id: I40299f05f107739572909f8accb182ea9ae61460
2016-10-10 19:35:38 +00:00
Lifu Tang
ad2d59d392 Fixed the memory leak when receiving Nav messages am: fe427f24e5 am: 8786a6b904
am: 7c0bd74ddc

Change-Id: I9f670df30ee956b1ac7542a6015bc3c248705cb5
2016-10-10 19:32:21 +00:00
Lifu Tang
48597a8f2b Merge "Fixed the memory leak when receiving Nav messages" into nyc-mr1-dev am: 9e4733ed33
am: 2e7ae067cd

Change-Id: Iec7b935356ce541e45dbd011f7ce6c14c40368cc
2016-10-10 19:22:14 +00:00
Lifu Tang
7c0bd74ddc Fixed the memory leak when receiving Nav messages am: fe427f24e5
am: 8786a6b904

Change-Id: Icf0f81dc2c9c9fa0801edb1e2f13a20460e470f0
2016-10-10 19:21:16 +00:00
Lifu Tang
2e7ae067cd Merge "Fixed the memory leak when receiving Nav messages" into nyc-mr1-dev
am: 9e4733ed33

Change-Id: I8f03a3d36e8836ffc14e9986114b1e3ccb40cc2d
2016-10-10 19:12:43 +00:00
Lifu Tang
8786a6b904 Fixed the memory leak when receiving Nav messages
am: fe427f24e5

Change-Id: Iaae06561c8247b2292a10ec24bf3d1a264850ad9
2016-10-10 19:12:38 +00:00
Lifu Tang
9e4733ed33 Merge "Fixed the memory leak when receiving Nav messages" into nyc-mr1-dev 2016-10-10 19:00:10 +00:00
Jorim Jaggi
95de520741 Merge "Fix dismissing window showing" into nyc-mr1-dev am: b29dadb939 am: 15ece4787e
am: aec5f11e69

Change-Id: I47fd5be7617a26a4e543e87998d05d0e6593867c
2016-10-10 18:10:25 +00:00
Jorim Jaggi
94bad8bb68 Fix dismissing window showing am: f20b1428f8 am: 84e863e02f
am: cc742ac150

Change-Id: Ic75c15688d07795fc860fa8ce9c672e668fe1ac7
2016-10-10 18:05:38 +00:00
Doris Liu
41677af6d8 Support calling start() in onAnimationFinished(...) in AVD am: 679fe6ab6f am: 4a1ea9ba7e
am: 5ef10f1d26

Change-Id: I42025b25e588ff9a72ac932dbee0ecb1339fa9f2
2016-10-10 17:53:27 +00:00
Elliott Hughes
56f823be9a Merge "Rely on the platform -std default." am: 66f15cc01b am: 5a989a504a am: 39ad1b92fa
am: 437b8c95a8

Change-Id: Idacd1cad6e0e241404c99b680974aae2b8f81926
2016-10-10 17:42:08 +00:00
Joe Fernandez
7a31d42c5d docs: add collections for Distribute Stories, Games and Apps am: d366709268 am: a424ec21cb am: ad81502f20 am: 180ebf16c9
am: 3590533125

Change-Id: Ic078aa32a0e711013566bf6e8ac221b4d5ce5767
2016-10-10 17:40:31 +00:00
Joe Fernandez
251a9e689e docs: add collections for Distribute Stories, Games and Apps am: d366709268 am: 2d8c89cd66
am: 82dace9cab

Change-Id: Ia239f25c12e9e795865cf62b4b04dd2162a199af
2016-10-10 16:54:02 +00:00
Wyatt Riley
2ab8b8492e Merge "Removing over-active NTP & XTRA assistance downloads" into nyc-mr1-dev am: d270004959 am: a0e54db0cd
am: e0572e6e7c

Change-Id: Ife463fbf629a4551c37f32264361f156b61f24dc
2016-10-10 16:39:00 +00:00
Wyatt Riley
c9fcb7e139 Removing over-active NTP & XTRA assistance downloads am: 0d6e54e246 am: b517705602
am: 4ddb8d5915

Change-Id: Id5f2c4cda759053c7c2af023da806e51d04d4684
2016-10-10 16:22:13 +00:00
Miao Wang
fdef1ae1ae Merge "Correctly pass number of input allocations for BLAS" into nyc-mr1-dev am: 35d2d12159 am: cebc2f2809
am: 580db8df42

Change-Id: Id45a5ffdba8c6db718634b85e19def4e12c82120
2016-10-10 16:11:10 +00:00
Miao Wang
0ea48be553 Correctly pass number of input allocations for BLAS am: 166b402861 am: 72f45777d5
am: 8d7815713b

Change-Id: I45e505d484ef89223e46ff32f29821602451cdcd
2016-10-10 16:10:15 +00:00
Alex Hills
891c6a8485 Merge "Updates documentation for MessagingStyle constructor" into nyc-mr1-dev am: 67c70a263c am: cd13ea0134
am: 76d89e6ff9

Change-Id: I3b3488187e28386880c5ee86eaf4493bf65e9bd9
2016-10-10 15:35:34 +00:00
Alex Hills
30e45f5de4 Updates documentation for MessagingStyle constructor am: fd590441c1 am: d86df31497
am: 21863add46

Change-Id: I1ab5b5f60df0c946040ed069a99e2b775bbee9a9
2016-10-10 15:27:37 +00:00
John Reck
5cb74bca88 Canvas fastjni -> @FastNative
Just the basic cleanup first, will follow-up with a more
comprehensive update later
Test: builds & boots, refactor no behavior change

Change-Id: Ie3a7144b5fefdfda085e2ab50da8b0e627a1ecb8
2016-10-10 08:19:15 -07:00
Alan Viverette
4c7360e51c Merge "Scale bitmap shaders for target density" into nyc-mr1-dev am: 0f6cec369f am: 5b032486f3
am: 64a9f0ef1f

Change-Id: I3ecc726c74b5120a52d63c36f4cf627048ed8939
2016-10-10 15:10:27 +00:00
John Reck
32995223a8 Convert utils fastjni -> @FastNative
Test: builds & boots, refactor no behavior change
Change-Id: Ieb569a70fd05b88a8d2bd7b285099c1fc1888a75
2016-10-10 07:59:25 -07:00
Alan Viverette
39a561f5bb Scale bitmap shaders for target density am: 0d2a46b733 am: 444f2043d1
am: 36d83ffc5b

Change-Id: I97a23b431247f4541f5517787a486aca7d95a618
2016-10-10 14:30:50 +00:00
Jorim Jaggi
aec5f11e69 Merge "Fix dismissing window showing" into nyc-mr1-dev am: b29dadb939
am: 15ece4787e

Change-Id: Id568cea89401c8e78ba9b0b59c8fd7f026c031db
2016-10-10 12:46:26 +00:00
Jorim Jaggi
cc742ac150 Fix dismissing window showing am: f20b1428f8
am: 84e863e02f

Change-Id: Ice5d68b5aeebca1c6d20336185ab23f11335a78d
2016-10-10 12:44:15 +00:00
Jorim Jaggi
15ece4787e Merge "Fix dismissing window showing" into nyc-mr1-dev
am: b29dadb939

Change-Id: If668d9f895845362e171d74dd2c3884c35bf92af
2016-10-10 11:55:18 +00:00
Jorim Jaggi
84e863e02f Fix dismissing window showing
am: f20b1428f8

Change-Id: I58829c0bc567fc3c48e03276075d9256649d84e3
2016-10-10 11:55:13 +00:00
Jorim Jaggi
1edc4ac74f Merge "More latency tests (1/2)" 2016-10-10 11:50:39 +00:00
Jorim Jaggi
b1ce491d78 Merge changes from topic 'latency_pin'
* changes:
  Unlock latency improvements
  Add latency tracking for checking PIN (1/2)
2016-10-10 11:48:06 +00:00
Jorim Jaggi
b29dadb939 Merge "Fix dismissing window showing" into nyc-mr1-dev 2016-10-10 11:47:02 +00:00
Lifu Tang
fe427f24e5 Fixed the memory leak when receiving Nav messages
Bug: 32038182

Change-Id: Ie659dc945d6efc7feaf9285d3e7375c90cba7234
2016-10-09 09:37:12 -07:00
Doris Liu
5ef10f1d26 Support calling start() in onAnimationFinished(...) in AVD am: 679fe6ab6f
am: 4a1ea9ba7e

Change-Id: If343048fcbe8e2af46b6cdfcd5953c0d5ffa6c4e
2016-10-08 23:56:52 +00:00
Doris Liu
4a1ea9ba7e Support calling start() in onAnimationFinished(...) in AVD
am: 679fe6ab6f

Change-Id: I2999f6fc543f56d73cd03fe74b466c033d6c7d1a
2016-10-08 23:52:20 +00:00
Elliott Hughes
437b8c95a8 Merge "Rely on the platform -std default." am: 66f15cc01b am: 5a989a504a
am: 39ad1b92fa

Change-Id: Iec4bca8e96c776d61c5da5540a74acc6773c2bce
2016-10-08 22:03:56 +00:00
Elliott Hughes
39ad1b92fa Merge "Rely on the platform -std default." am: 66f15cc01b
am: 5a989a504a

Change-Id: I1e8593f68eaafb254c92f004c2694ca4145c910a
2016-10-08 21:58:52 +00:00
Elliott Hughes
5a989a504a Merge "Rely on the platform -std default."
am: 66f15cc01b

Change-Id: I8930911314a16c499c6c8ea1b005e3c3ea7d95fa
2016-10-08 21:53:48 +00:00
Treehugger Robot
66f15cc01b Merge "Rely on the platform -std default." 2016-10-08 21:45:16 +00:00
Rob Carr
77e552d6c6 Merge "When adding dialog window but not creating update the configuration." into nyc-mr1-dev am: 93becf5148 am: 25cbfe8af8
am: 0f53f5a413

Change-Id: Iff62169c5f302913475109ccfdf1a4c516b4a7f7
2016-10-08 21:34:17 +00:00
Robert Carr
6f10b511a9 When adding dialog window but not creating update the configuration. am: d7dbec7e4c am: 7696b0d06b
am: 3d2783c82b

Change-Id: Iaf8dd88bbbb63c7ebc5b5963f1e30a23d6df0909
2016-10-08 21:33:16 +00:00
Jim Miller
bd599e4caa Merge "Allow sysui navigation to work when application occludes keyguard" into nyc-mr1-dev am: aea8efbc11 am: 37f4d361e7
am: 1e864e32c5

Change-Id: If7360e29be2b7f35b705eaf152be09f7621887c5
2016-10-08 21:32:23 +00:00
Jim Miller
c5b3bf9091 Allow sysui navigation to work when application occludes keyguard am: 69c1241d3b am: 24883d5f99
am: 31bef69be6

Change-Id: I167c8fa5869b8e849885261d3993a3555c54c8d1
2016-10-08 21:31:27 +00:00
Nancy Zheng
ffd5511fb8 Merge "Fix race condition in checkPattern and verifyPattern." into cw-f-dev am: 1e746a415d
am: fa97f0edb8

Change-Id: I3a755ed276ed60fd50f4e8896091012f43834732
2016-10-08 21:30:30 +00:00
Nancy Zheng
d9157b8b01 Fix race condition in checkPattern and verifyPattern. am: 9475460e66
am: ce2cef46b3

Change-Id: I7777ce413f30d99d4712bd9aa4a2b4f5f371403f
2016-10-08 21:29:39 +00:00
Jason Monk
65a2070fae Merge "Revert "Revert "Change bang to x for indication of no internet""" into nyc-mr1-dev am: b04790c8d4 am: e4257eba8f
am: 66fd2a5d1b

Change-Id: Ia3398b6672cd80155147298f34ae7651b224d4dd
2016-10-08 21:28:48 +00:00
Jason Monk
2b4f9887ed Revert "Revert "Change bang to x for indication of no internet"" am: d51608c60b am: 257481a37c
am: 25ccaba28b

Change-Id: I7dff42d72b0e3b1fa3ef10a73bdd824f1107b975
2016-10-08 21:28:00 +00:00
Mark Salyzyn
d36cd266c2 Merge "jni: move security interfaces to private" am: 07bc1ee77d am: 82df72dc1f am: ab9b60efd6
am: ceb123bfce

Change-Id: I0260dec12bff1313521d604130099b5546a42944
2016-10-08 21:27:02 +00:00
Todd Kennedy
5a54b5df3a Merge "Force APKs to be streamed" into nyc-dev am: dd100f4298 am: bafabbe4b9 am: 83410b7f31 am: 2575de957d
am: 02f95f0c7e

Change-Id: Id1cb2ed85be58cebab341d45192abb26295368d9
2016-10-08 21:25:57 +00:00
Todd Kennedy
b3c98e41de Force APKs to be streamed am: d220683d33 am: e119cccce0 am: b69ce459aa am: ece597bed5
am: 84294c4407

Change-Id: I7bcb615d0f38191d931b432ae047d790c116c32a
2016-10-08 21:24:46 +00:00