292212 Commits

Author SHA1 Message Date
TreeHugger Robot
912885076f Merge "Better LocalLog" 2016-10-11 03:15:45 +00:00
Bill Yi
83f3599647 Import translations. DO NOT MERGE
Change-Id: I989e352e93e2b0657dd4dd37eb1e9ca439b0c78d
Auto-generated-cl: translation import
2016-10-10 20:15:41 -07:00
Christopher Tate
d0547414b1 Ignore wallpaper relaunch timeout during shutdown am: 762dfd1566
am: 660ad176e9

Change-Id: Id064e3039e2038af639adae18addb80402161e12
2016-10-11 03:11:44 +00:00
Christopher Tate
660ad176e9 Ignore wallpaper relaunch timeout during shutdown
am: 762dfd1566

Change-Id: I824dd66b4a9d30c010112038156146750275cb89
2016-10-11 03:06:05 +00:00
Jack He
0bba1c620b List HF_INDICATORS_VALUE_CHANGED broadcast as protected
android.bluetooth.headset.action.HF_INDICATORS_VALUE_CHANGED
notification should be protected.

Bug: 32059227
Test: manual
Change-Id: I06d4a7e3aa3a5586eb09d2538b4b526a5d073f9a
(cherry picked from commit b798f79ba26e057531fb51e65824e0deee445f26)
2016-10-10 19:08:13 -07:00
Wale Ogunwale
d4a00a0272 Cleaned-up some code in WindowManager
This CL has no functional changes and I am just breaking this change
out of another large CL I am working on.

Test: existing tests pass.
Change-Id: I4c93e2b1820dc31ba28f81692f2f8f6081e1f315
2016-10-11 02:06:07 +00:00
Jaewan Kim
5f85310bdc Merge "PIP: Update visibility when exits PIP mode" 2016-10-11 01:33:20 +00:00
sergeyv
0728f0872f resolve merge conflicts of e830f35 to master
Change-Id: I4d2b10a6a2ac983986775f1f925c4a09734bb70d
2016-10-10 18:20:04 -07:00
Fan Zhang
45c891b7c5 Do not throw exception when there is no tile for category.
Bug: 31781480
Test: instrumentation test
Change-Id: Ib278b2967514afda357774829964cfb59a676b20
2016-10-10 18:11:49 -07:00
Hugo Benichi
8acea76a2b Add fuzzing tests to ApfFilter RA processing
Test: added new unit tests
Change-Id: Ie352eb1514b762e032b9140d633abc06180d0ade
2016-10-11 10:04:42 +09:00
sergeyv
3ea67463d9 Merge "Turn off additional logging in text rendering" into nyc-mr1-dev am: 9fe5b1129e
am: b67db49f87

Change-Id: I7582825ee62a84524d478b8eee94ed4690c50a6d
2016-10-11 00:55:50 +00:00
sergeyv
e830f351e1 Turn off additional logging in text rendering am: 5bb5626599
am: 4778f6a43e

Change-Id: If031a1d480d8c2e75e9f6268d15c8ccc098a0268
2016-10-11 00:54:34 +00:00
Hugo Benichi
de310dba78 Better LocalLog
This patch fixes the following issues in LocalLog:
  - reverseDump() uses a descending iterator with linear complexity
    instead of a quadratic loop using get(index) on a linked list.
  - reverseDump() is added to ReadOnlyLocalLog.
  - synchronized section in log() is restricted to mutation of internal
    list.
  - formatting of the log message does not create an internal
    StringBuilder.
  - the instance variable mNow is removed: it was only used inside log()
    as a local variable.
  - remaining instance variables are qualified with final.
  - the linked list is replaced by a fixed capacity array-backed queue.

Test: added unit tests
Change-Id: I1a54f0ad26dd35448d3297ea24df1fd626d20ef3
2016-10-11 09:54:19 +09:00
Christopher Tate
762dfd1566 Ignore wallpaper relaunch timeout during shutdown
Because of course during system shutdown, the wallpaper service
won't actually get relaunched.  Sometimes shutdown can take long
enough that this timeout kicks, so we need to avoid clearing the
live wallpaper state spuriously.

For simplicity we just check at "would have timed out now" time
rather than try to distinguish between the shutdown case and a
genuine crash that raced with the shutdown broadcast.

Bug 32020355

Change-Id: I9335b2c0214b4c750ef950fed157d186aa670176
2016-10-10 17:50:31 -07:00
sergeyv
b67db49f87 Merge "Turn off additional logging in text rendering" into nyc-mr1-dev
am: 9fe5b1129e

Change-Id: I013fc2d7781c4f17beb9ac99c654bb65880adb6f
2016-10-11 00:43:37 +00:00
sergeyv
4778f6a43e Turn off additional logging in text rendering
am: 5bb5626599

Change-Id: Ic7f6c59ca2c3a92f81bf55a8916e20d99fcc01a7
2016-10-11 00:43:32 +00:00
TreeHugger Robot
9fe5b1129e Merge "Turn off additional logging in text rendering" into nyc-mr1-dev 2016-10-11 00:30:34 +00:00
Jeff Sharkey
9cf75061b1 Merge "Set MIME type when building BROWSE intents." into nyc-mr1-dev am: 4a021fa541 am: 1da71d39b1
am: be75632371

Change-Id: Idd654de6ed5dfb352f1a77febc39dec98aca0dbf
2016-10-10 23:41:29 +00:00
Jeff Sharkey
46e2afec48 Set MIME type when building BROWSE intents. am: 42a4aaab44 am: ac184d3c46
am: 6f5f03b8c1

Change-Id: Iab359d3b375db98986adf9314b6bec7530326381
2016-10-10 23:40:21 +00:00
Jeff Sharkey
be75632371 Merge "Set MIME type when building BROWSE intents." into nyc-mr1-dev am: 4a021fa541
am: 1da71d39b1

Change-Id: I995fe7af9e79479aea35562fdc30a589ceaf9922
2016-10-10 23:35:23 +00:00
Jeff Sharkey
6f5f03b8c1 Set MIME type when building BROWSE intents. am: 42a4aaab44
am: ac184d3c46

Change-Id: I3fb6cc86357c6e19efe58a6e4d31d1f79758b332
2016-10-10 23:34:28 +00:00
Jeff Sharkey
1da71d39b1 Merge "Set MIME type when building BROWSE intents." into nyc-mr1-dev
am: 4a021fa541

Change-Id: Ifb15090b906e32305ba1f88aa73067fb791bf520
2016-10-10 23:29:31 +00:00
Jeff Sharkey
ac184d3c46 Set MIME type when building BROWSE intents.
am: 42a4aaab44

Change-Id: I9efdf0e7223b162988f9484b06c7e3665202738f
2016-10-10 23:29:28 +00:00
TreeHugger Robot
4a021fa541 Merge "Set MIME type when building BROWSE intents." into nyc-mr1-dev 2016-10-10 23:21:35 +00:00
Bill Yi
fe3c094b2a Import translations. DO NOT MERGE
Change-Id: Id340e2af0dc4c8471eb3dae943168dd2f4ea4fd6
Auto-generated-cl: translation import
2016-10-10 16:13:52 -07:00
TreeHugger Robot
7ce3831381 Merge "Make lockscreen user list closeable via keyboard." 2016-10-10 23:08:50 +00:00
Bill Yi
d80432d41e Import translations. DO NOT MERGE
Change-Id: Ic0fe806f62a1a00d3ccdbd765035596d14d4088d
Auto-generated-cl: translation import
2016-10-10 16:05:37 -07:00
Bert McMeen
5e43433eeb Docs: Remove a reference to a deprecated sample am: 3e01ab2b0e am: c48ad2580a am: e62f577153 am: b7fe96a4f6
am: ddd5867e9d

Change-Id: I4ae59b737773769f01927d8332be9e21db90e9e0
2016-10-10 22:49:14 +00:00
Junda Liu
cef95861b5 Merge "Remove incorrect non-roaming list for Telus." into nyc-mr1-dev am: 432157f8bc am: a4928f4e44
am: e06bdd0bc3

Change-Id: I215fb5b10d5cfa48a78a93764c927c7e4fcc2922
2016-10-10 22:48:10 +00:00
Junda Liu
60d7ef4914 Remove incorrect non-roaming list for Telus. am: 458537483d am: 727fd4b34f
am: f5049eea00

Change-Id: I1f903759c0b32de29634be47f216b816d301bdf2
2016-10-10 22:47:19 +00:00
Bert McMeen
ddd5867e9d Docs: Remove a reference to a deprecated sample am: 3e01ab2b0e am: c48ad2580a am: e62f577153
am: b7fe96a4f6

Change-Id: Iddd6a4a6e10e89af9d069668214c60b76a65ee98
2016-10-10 22:36:49 +00:00
Junda Liu
e06bdd0bc3 Merge "Remove incorrect non-roaming list for Telus." into nyc-mr1-dev am: 432157f8bc
am: a4928f4e44

Change-Id: I4b72744223a93dacfe44ba6bbcb8c6f955be842a
2016-10-10 22:35:52 +00:00
Junda Liu
f5049eea00 Remove incorrect non-roaming list for Telus. am: 458537483d
am: 727fd4b34f

Change-Id: Ida319e8da96a8a2bc3de0953d8ec43071186b882
2016-10-10 22:35:03 +00:00
George French
26ab4135ab Docs: Developer written case studies batch 3 (proj 31)
bug: b/31739418
Change-Id: Iec92348aca9c4753a7a54b48c75d80dd5062dff0
2016-10-10 15:33:10 -07:00
Sergei Vasilinetc
f10763d23d Merge "HWUI: prepare script for ryu Test: cpu adb shell cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq Test: gpu adb shell cat /sys/devices/57000000.gpu/pstate" 2016-10-10 22:29:34 +00:00
Bert McMeen
b7fe96a4f6 Docs: Remove a reference to a deprecated sample am: 3e01ab2b0e am: c48ad2580a
am: e62f577153

Change-Id: Ia43dd95a9ed8b3debcdbea35f9718493378f8929
2016-10-10 22:19:18 +00:00
TreeHugger Robot
698a61322f Merge "Add RIL_UNSOL_MODEM_RESTART message" 2016-10-10 22:17:57 +00:00
Junda Liu
a4928f4e44 Merge "Remove incorrect non-roaming list for Telus." into nyc-mr1-dev
am: 432157f8bc

Change-Id: Idb9fa2b3376eacabf58350105405219aa75a70b0
2016-10-10 22:15:24 +00:00
Junda Liu
727fd4b34f Remove incorrect non-roaming list for Telus.
am: 458537483d

Change-Id: I3b6af034ceff722311e9952be4f57e6030d1eb38
2016-10-10 22:15:16 +00:00
Bert McMeen
e62f577153 Docs: Remove a reference to a deprecated sample am: 3e01ab2b0e
am: c48ad2580a

Change-Id: Ic7f79fddf6696346b171e2bb2601e813dc82aa06
2016-10-10 22:10:20 +00:00
Bert McMeen
c48ad2580a Docs: Remove a reference to a deprecated sample
am: 3e01ab2b0e

Change-Id: Idd2ac6b2c6aa056c88033aa10cd7732d2b343b75
2016-10-10 22:05:20 +00:00
Junda Liu
432157f8bc Merge "Remove incorrect non-roaming list for Telus." into nyc-mr1-dev 2016-10-10 21:58:28 +00:00
TreeHugger Robot
ac347fb4ea Merge "Remove all hacks around ref counting in Bitmap Test: refactoring cl. bug:27762775" 2016-10-10 21:42:53 +00:00
Jeff Sharkey
42a4aaab44 Set MIME type when building BROWSE intents.
If we created a BROWSE PendingIntent early during boot (while the
device was still locked), we would resolve the MIME type as "null"
meaning the intent would fail to launch.

Since we always know what the MIME type will be, set it explicitly.

Test: boot device while USB device attached
Bug: 30742481
Change-Id: I23c523cbe2660ca63a3b7df1f41300ab803b314c
2016-10-10 21:28:40 +00:00
Bert McMeen
3e01ab2b0e Docs: Remove a reference to a deprecated sample
Bug: 31709180
Change-Id: Ieec19820b1154628236495541a28b50089c4e0cd
2016-10-10 14:21:00 -07:00
TreeHugger Robot
46ce8a9670 Merge "Fix wallpaper transition cts test failures" 2016-10-10 21:02:57 +00:00
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