Commit Graph

253881 Commits

Author SHA1 Message Date
Kevin Hufnagle
d3c3c34134 docs: Revised Espresso code snippets
The code snippet showing how to migrate subclasses of
ActivityInstrumentationTestCase2 to Espresso didn't compile. These
changes allow it to run successfully. Also removed obsolete section
describing using Espresso with ActivityInstrumentationTestCase2.

Bug: 27453733
Change-Id: Ib7c7e85d3299337f14be1482f7eb574c9a30dc22
2016-10-07 17:21:35 -07: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 b742fcc808)
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 ed29365c9e.

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
Kevin Hufnagle
197226e4a5 cherry-pick from mnc-io-docs: docs: Updated descriptions for CSV file
settings within IAB.

The section titled "Adding a batch of items to a product list," found
within the "Administering In-app Billing" page on the DAC site, now
contains up-to-date descriptions of the different settings within the
CSV files used with product lists within the Google Play Developer
Console.

Bug: 28767053
Change-Id: I578aaacdaa866d9fbac8a087f22eb1c3617437ba
2016-10-06 18:40:54 -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
Daniel Yu
e0810402fb docs: Updating TIF docs for new TIF Companion library.
The TIF Companion library makes creating a TIF app much easier, and
will be the recommended starting point for devs going forward. This
update adds docs on using this library, and modifies the existing
docs for creating a TIF app from scratch (for devs that can't use
the companion library).

Bug: 30678049
Change-Id: Iaa5a6d0a4c9f0f2faf1e30549aba754ced7cc27a
2016-10-06 10:01:54 -07: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
Vladislav Kuzkokov
9f61d17e6a Revert "Fix backup for users hit by erroneous backup disabling"
BUG=31754835
This reverts commit 1975021d88.

Change-Id: I5cf7862126755a34cf3b4d70436529401fddc87f
2016-10-06 11:13:40 +00: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
Andrii Kulian
781240d9bb Fix bounds rotation logic
Reuse code that computes window bounds for seamless rotation in
DisplayContent#rotateBounds. Also make sure that we operate with
display rect adjusted for the requested orientation.

Bug: 31005451
Bug: 29586417
Change-Id: Ie18ac2c84c7a3ea474e00e7108c3b3c21114e719
2016-10-05 17:20:50 -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
Robert Carr
d7dbec7e4c When adding dialog window but not creating update the configuration.
When we dismiss the dialog as opposed to hide it, it is removed
from the local WindowManagerGlobal's list of ViewRoots. Thus it stops
receiving configuration changes. When first adding a ViewRoot it will
pull the configuration from the context, but in this case
we are reusing one which has already been added and removed
and no such action will occur.

Bug: 31004614
Change-Id: Ie247bcf1a14caf4a42413c6813e337aa4c88e3e4
2016-10-05 13:44:36 -07:00
Winson Chung
e8ebe11209 Merge "Revert "Bump up preloading recents on boot up to user unlocked."" into nyc-mr1-dev 2016-10-05 19:52:58 +00:00
TreeHugger Robot
b9bb518632 Merge "Ambient: Re-register all trigger sensors if one fires" into nyc-mr1-dev 2016-10-05 19:51:06 +00:00
Winson Chung
501d59dcea Revert "Bump up preloading recents on boot up to user unlocked."
This reverts commit c3eedd972d.

Bug: 31823698

Change-Id: I575c64ff19463e84ebdb2950a798a371de4cfa13
2016-10-05 19:44:35 +00:00
Dirk Dougherty
5d6be1abca Merge "Doc change: remove intl/nn from collections paths." into nyc-dev am: 794e0d3578
am: fc7475c5b3

Change-Id: Id3e3b71ed89d2b46cf7f7c0df1e69a1b8c986000
2016-10-05 18:53:14 +00:00