253483 Commits

Author SHA1 Message Date
TreeHugger Robot
4a021fa541 Merge "Set MIME type when building BROWSE intents." into nyc-mr1-dev 2016-10-10 23:21:35 +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
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
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
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
679fe6ab6f Support calling start() in onAnimationFinished(...) in AVD
This CL fixed an issue where calling start() from onAnimationFinished()
caused AnimationListenerBridge::onAnimationFinished(...) to be unsafely
re-entered and the new start listener was (incorrectly) reset to null.

BUG: 31971397
Test: test apk in the bug linked above
Change-Id: Ica809ef2dab884950b93b54f2d0cb4b81e9830f1
2016-10-08 21:00:14 +00:00
Joe Fernandez
ad81502f20 docs: add collections for Distribute Stories, Games and Apps am: d366709268
am: a424ec21cb

Change-Id: Iaebda3b697804c384c9df039ab104d49f0b5ddec
2016-10-07 22:48:01 +00:00
Joe Fernandez
a424ec21cb docs: add collections for Distribute Stories, Games and Apps
am: d366709268

Change-Id: I13ac71c0e908a0a7ffd76babe7fcb4e39ff1352e
2016-10-07 22:40:02 +00:00
Joe Fernandez
d366709268 docs: add collections for Distribute Stories, Games and Apps
b/31741249

Change-Id: I873ce82f18c5edbdeb85fb2fdb25ba322760a2dc
2016-10-07 14:11:49 -07:00
Wyatt Riley
d270004959 Merge "Removing over-active NTP & XTRA assistance downloads" into nyc-mr1-dev 2016-10-07 21:05:57 +00:00
TreeHugger Robot
35d2d12159 Merge "Correctly pass number of input allocations for BLAS" into nyc-mr1-dev 2016-10-07 20:46:20 +00:00
TreeHugger Robot
67c70a263c Merge "Updates documentation for MessagingStyle constructor" into nyc-mr1-dev 2016-10-07 20:34:50 +00:00
TreeHugger Robot
0f6cec369f Merge "Scale bitmap shaders for target density" into nyc-mr1-dev 2016-10-07 20:31:01 +00:00
Alan Viverette
0d2a46b733 Scale bitmap shaders for target density
Also fixes progress bar sample tile to reflect density and ensures
that ProgressBar.tileify() clones inner drawables into the correct
density.

Bug: 31841123
Test: BitmapDrawableTest#testPreloadDensity()
Test: ThemeHostTest
Test: Visual inspection of ApiDemos
Change-Id: I9dcb9817d8d91d61ff0215987247e9e7fb089c46
2016-10-07 16:23:32 -04:00
Miao Wang
166b402861 Correctly pass number of input allocations for BLAS
Bug: 31992305

Test: Build and CTS RsBlas test pass on Angler.
Change-Id: If49c0be003d9c2a2175924dc3303703b9ab49357
(cherry picked from commit b742fcc808165fbeeb1a48761e7d629f60207de2)
2016-10-07 19:21:07 +00:00
Rob Carr
93becf5148 Merge "When adding dialog window but not creating update the configuration." into nyc-mr1-dev 2016-10-07 19:16:02 +00:00
Jim Miller
aea8efbc11 Merge "Allow sysui navigation to work when application occludes keyguard" into nyc-mr1-dev 2016-10-07 18:44:05 +00:00
TreeHugger Robot
b04790c8d4 Merge "Revert "Revert "Change bang to x for indication of no internet""" into nyc-mr1-dev 2016-10-07 17:12:01 +00:00
Alex Hills
fd590441c1 Updates documentation for MessagingStyle constructor
MessagingStyle expects the field userReplyName to be non-null, but the
documentation doesn't describe it as such. This updates the documentation
to say the field is required, and adds a NonNull annotation.

This has no behavior changes.

BUG:31747744
Change-Id: If832d059c276e856fba366dabfa8a5821bb63054
2016-10-07 15:44:23 +00:00
Jorim Jaggi
f20b1428f8 Fix dismissing window showing
Only show dismissing window if we are about to unlock, and not just
in all cases. For that, set a flag to true during the process, and
reset the flag after the Keyguard has unlocked.

Test: Have a FLAG_SHOW_WHEN_LOCKED activity that starts a
FLAG_DISMISS_KEYGUARD_ACTIVITY. Check whether window is hidden
when toggling the power button. Make sure that the device is
in a trusted state during the whole test.

Change-Id: I9346dd869d1cf50a42c64a5f7c69f8e24f1e1f9b
Fixes: 31810884
2016-10-07 15:31:05 +00:00
Todd Kennedy
83410b7f31 Merge "Force APKs to be streamed" into nyc-dev am: dd100f4298
am: bafabbe4b9

Change-Id: I0ff901eb1b123a21a425072439c8be9dcd66ae6a
2016-10-07 14:37:17 +00:00
Todd Kennedy
b69ce459aa Force APKs to be streamed am: d220683d33
am: e119cccce0

Change-Id: I196c12c3b6ebf33f6ff72abde72f67dd864c1eaf
2016-10-07 14:36:31 +00:00
Todd Kennedy
bafabbe4b9 Merge "Force APKs to be streamed" into nyc-dev
am: dd100f4298

Change-Id: Ic1904dab79ee0cccdc1aace7eca89d9a6cb48f4f
2016-10-07 14:29:06 +00:00
Todd Kennedy
e119cccce0 Force APKs to be streamed
am: d220683d33

Change-Id: I617a4854f406dbdacf3b150df0bd72793112d95c
2016-10-07 14:29:03 +00:00
TreeHugger Robot
dd100f4298 Merge "Force APKs to be streamed" into nyc-dev 2016-10-07 14:21:29 +00:00
Jason Monk
d51608c60b Revert "Revert "Change bang to x for indication of no internet""
This reverts commit ed29365c9e169dbf05857bf9ca5125175a6dbe44.

Fixes: 31978991
Change-Id: I7554efc6877b100e4238178fd2029909518be3bb
2016-10-07 13:16:17 +00:00
Hugo Benichi
ea2f7a4f05 Merge "Reject DHCP packets with no magic cookie" into nyc-mr1-dev 2016-10-07 02:22:35 +00:00
Jim Miller
69c1241d3b Allow sysui navigation to work when application occludes keyguard
Fixes bug 30650150

Change-Id: Ie4a858dcfd259c733cd32c3c2b1dec2ff437f1ab
2016-10-06 19:11:03 -07:00
Hall Liu
0fe683da4d Merge "Add logging to CallerInfoAsyncQuery" into nyc-mr1-dev 2016-10-06 21:39:05 +00:00
Sid Soundararajan
3e0427e4f8 Merge "Recents TV: Do not allow negative delay" into nyc-mr1-dev 2016-10-06 20:23:15 +00:00
Chris Tate
24ab3aafe2 Merge "Fix job scheduler crash due to uninstall race" into nyc-mr1-dev 2016-10-06 18:10:37 +00:00
TreeHugger Robot
69544fd74d Merge "Catch runtime exceptions when parsing DHCP packets" into nyc-mr1-dev 2016-10-06 17:10:45 +00:00
Junda Liu
458537483d Remove incorrect non-roaming list for Telus.
Bug: b/30964320
Change-Id: I5a605339fd82b41b02616a706fe9ab5774c550a7
2016-10-06 09:35:40 -07:00
Wyatt Riley
0d6e54e246 Removing over-active NTP & XTRA assistance downloads
Restoring pre-Connectivity-Manager intended behavior of only
pending-network NTP & XTRA downloads restarting when
network connectivity returns

Bug: 31864876
Fixes: 31864876

Change-Id: I5b967e75c610277988e8e9cfa1e938c999333edb
2016-10-06 15:35:55 +00:00
Amanda Kassay
5aab061303 Wear Preview, auto, tv, versions project metadata. b/31771704 b/31903798 b/31773716 am: fd6846e116
am: a7e9861112

Change-Id: I0a4e46c44bc3c54141700ce39404cd26eb1f9719
2016-10-06 13:51:05 +00:00
Amanda Kassay
a7e9861112 Wear Preview, auto, tv, versions project metadata. b/31771704 b/31903798 b/31773716
am: fd6846e116

Change-Id: I1664b69e5d3195d2ecebbb7b6bd9ec323ad42a3e
2016-10-06 13:44:33 +00:00
Hugo Benichi
006e061301 Reject DHCP packets with no magic cookie
This patch adds an explicit check in the DHCP packet parser for
rejecting packets without a magic cookie, instead of relying on the
top-level try-catch-all in the parser.

This allows to add to DHCP error metrics this specific error.

It also allows to add two poor man's fuzzing tests that tries to find
additional gaps in the DHCP packet parser by
 - trying to parse all subslices of a valid offer packet.
 - trying to parse random byte arrays.

Test: covered by previously introduced malformed DHCP packet unit tests
      + additional fuzzing tests.
Bug: 31850211
Change-Id: If53c9ba9df78d7604ec018c9d67c237ae59c4833
2016-10-06 21:22:29 +09:00
TreeHugger Robot
5e6fb1699f Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-10-06 09:32:18 +00:00
TreeHugger Robot
f381889844 Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-10-06 09:31:26 +00:00
Bill Yi
41cf6c32a1 Import translations. DO NOT MERGE
Change-Id: Id0aff581c209fd43aa0daebbb1e7941652e1222c
Auto-generated-cl: translation import
2016-10-05 23:41:54 -07:00
Bill Yi
e6327db2af Import translations. DO NOT MERGE
Change-Id: Ica9bf5e820c6edad7236034a72b3e3f659727ac5
Auto-generated-cl: translation import
2016-10-05 23:28:53 -07:00
Hall Liu
4c01910cb0 Add logging to CallerInfoAsyncQuery
Add logging to CallerInfoAsyncQuery to help diagnose timeout errors

Bug: 31755827
Change-Id: If7cf34baf084ca8916952842585a32b3e93eba73
2016-10-05 16:56:17 -07:00
Nancy Zheng
e39a8a46d9 Change DEFAULT_BG_LOW_JOB_COUNT to 1 in JobSchedulerService.
Bug: 31601136
Change-Id: I595f192698b97dc6472a67dc1a1eebd60533efa7
2016-10-05 23:29:23 +00:00
Amanda Kassay
fd6846e116 Wear Preview, auto, tv, versions project metadata.
b/31771704 b/31903798 b/31773716

Staged:
https://android-dot-devsite.googleplex.com/about/versions/nougat/index.html
https://android-dot-devsite.googleplex.com/index.html
https://android-dot-devsite.googleplex.com/wear/preview/index.html

Change-Id: I639b3d168b839745669787c56b44c28fa85252d9
2016-10-05 22:31:46 +00:00
Christopher Tate
652c5ad516 Fix job scheduler crash due to uninstall race
It's possible to get a PACKAGE_CHANGED broadcast well after the
package has actually been uninstalled outright because of broadcast
delivery latencies.  Understand the exception that might be thrown
when asking for package info in such cases, so we don't crash the
Android runtime.

Bug 31865735

Change-Id: I69b2678f0f724fc731aa48fed7af58ce60d3c21c
2016-10-05 14:45:46 -07:00
Tenghui Zhu
8e93abcd6c Merge "Make umbra lighter when the blocker is too high and has no real umbra area." into nyc-mr1-dev 2016-10-05 21:34:17 +00:00