Commit Graph

253881 Commits

Author SHA1 Message Date
TreeHugger Robot
f1dc57ea63 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-06-24 05:44:42 +00:00
TreeHugger Robot
97da29c710 Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-06-24 05:44:26 +00:00
TreeHugger Robot
2bc13bcdad Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-06-24 05:44:10 +00:00
TreeHugger Robot
282bf31a0b Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-06-24 05:43:21 +00:00
Andrew Sapperstein
57e2785129 Add DeviceDefault style used by ringtone picker.
Change-Id: I9f03903678451a198d1100bc1513d4371e7f1e61
FIXES: 29619195
2016-06-23 21:14:17 -07:00
Andrew Sapperstein
f329ebe319 Update QS battery trendline to use theme color.
Color is the same, but it's now defined in colors_device_defaults.

Change-Id: I984179968943bb1930d8a7418e9c7f4b9c95482a
FIXES: 29614022
2016-06-23 21:10:06 -07:00
Adrian Roos
ffc89988d2 Merge \"Improve ANR dropbox reports\" into nyc-dev
am: 594c9cb356

Change-Id: Ic3c8b1c5fc1c1b9c2c5e5d8df48d072269a92cc6
2016-06-24 02:05:26 +00:00
Adrian Roos
594c9cb356 Merge "Improve ANR dropbox reports" into nyc-dev 2016-06-24 01:57:43 +00:00
Mark Lu
3b6a1a624c docs: fix syntax error in "Saving Files" document
The second code sample in section "Save a File on Internal Storage"
is missing a "}" brace in the try block. This commit adds the brace
to all languages of the document.

Bug: 25963385
Change-Id: I4b83ad7e7e081c0e3f036c5b9a36c8ff5489754b
2016-06-23 18:32:33 -07:00
Adrian Roos
73d1ce85ac Improve ANR dropbox reports
Work towards better diagnosing b/29501073. Adds logic to ensure that the dropbox
entry generated for ANRs fits at least some part of the logcat before the MAX_DROPBOX_SIZE
mark. Also reduces the MAX_DROPBOX_SIZE to be better match size restrictions.

Bug: 29501073
Change-Id: Ice5599582cbb536b7d81aa0c0340ff753ca86ebf
2016-06-23 18:28:37 -07:00
Android Build Merger (Role)
15bfd442c2 Merge "Access internal ringer mode to properly vibrate in DND am: dcbdc0df43" into nyc-mr1-dev 2016-06-24 01:24:12 +00:00
TreeHugger Robot
e3f410cd59 Merge "Fix WallpaperInfo API review" into nyc-mr1-dev 2016-06-24 01:24:01 +00:00
Brad Ebinger
30ef6e3577 Access internal ringer mode to properly vibrate in DND
am: dcbdc0df43

Change-Id: I70dded64d23290716de5fd7b01ff15b0731daa2f
2016-06-24 01:23:50 +00:00
Brad Ebinger
dcbdc0df43 Access internal ringer mode to properly vibrate in DND
Currently, an incoming call will not vibrate properly in certain cases
in DND mode. Specifically, if Priority Only mode is set, but Calls from
anyone are allowed. We now get the internal ringer mode to detect if the
incoming call is ringing while in DND mode.

Bug: 29184073
Change-Id: I1e0e7cf384a2bc1df1378043cd3f7e9dec57a94c
2016-06-24 00:48:14 +00:00
Mark Lu
3091d15966 docs: Updated link to UI Automator reference in "Testing UI" doc
Bug: 25905708
Change-Id: I1c583033b5ecf6e9f68e771a3297b45e9c481cd0
2016-06-23 17:48:11 -07:00
Suprabh Shukla
6472501f2e Resetting some settings on starting a new demo session
Muting ringer and media volume and turning off the flashlight
before starting a new session. Also, resetting the configuration of any
new demo user to the configuration of user 0 on the device. Moved
RetailDemoModeService and RetailDemoModeServiceInternal to more
appropriate new packages

Bug: 29519612
Change-Id: Ib65f89ce61afab2d2f1b2dd0c761f5d35a466181
2016-06-23 17:36:19 -07:00
Bill Yi
65fefb0263 Import translations. DO NOT MERGE
Change-Id: Iea17392a65904aae2012a06d59d2ee623769034c
Auto-generated-cl: translation import
2016-06-23 17:26:51 -07:00
Dmitri Plotnikov
b1ca092db8 Merge "Unhiding DEVICE_NAME" into nyc-mr1-dev 2016-06-24 00:23:13 +00:00
Yohei Yukawa
45700fa135 Use a flag to grant a temporary URI permission.
It turns out that we can let the system to call
InputMethodService#exposeContent(InputContentInfo, EditorInfo), which
added in my previous CL [1], during the IME is calling
InputConnection#commitContent() as follows.

  [IME]
  InputContentInfo contentInfo = new InputContentInfo(
          contentUri,
          new ClipDescription(description, new String[]{mimeType}),
          linkUrl);
  getCurrentInputConnection().commitContent(
          inputContentInfo,
          InputConnection.INPUT_CONTENT_GRANT_READ_URI_PERMISSION,
          null);

  [App]
  try {
      contentInfo.requestPermission();
      // Load inputContentInfo.getContentUri() here.
  } finally {
      contentInfo.releasePermission();
  }

This gives us flexibility to let InputConnection#commitContent() do all
the magic for IME developers like other APIs such as
Context#startActivity(), rather than asking them to call one more API to
grant a temporary URI permission like a scenario where
Context#grantUriPermission() is used.

 [1]: I2772889ca01f2ecb2cdeed4e04a9319bdf7bc5a6
      25e0813e6e

Bug: 29450031
Change-Id: I99536cd58c9984af30b0bafb4a1dd25a26634a2d
2016-06-23 17:12:59 -07:00
Bill Yi
267c1c6260 Import translations. DO NOT MERGE
Change-Id: If580d6129a5e7b06ee111f866e42b708ebdc7c00
Auto-generated-cl: translation import
2016-06-23 17:07:49 -07:00
Doris Liu
c470466d7c Fix NPE for checking for whether animators should play together
BUG: 29586505
Change-Id: Ic2a67d51d2ac8d5bfb11ed7773c7c7e413cc28c7
2016-06-24 00:01:39 +00:00
Makoto Onuki
3bdbf985e1 Make "cmd package set-home-activity" more CTS friendly
- Print "Success" when it went well.
- Catch all exceptions and print error message, not just
RemoteExceptions

- Update the shortcut manger test utility to match the new behavior

Bug 29612099

Change-Id: If6a80241ea5e8ef0b2d3f961d1442e730b908764
2016-06-23 17:01:02 -07:00
Bill Yi
e42e58f4e3 Import translations. DO NOT MERGE
Change-Id: I275d4c46dc0bee20168d2e121b81349aca4ec96d
Auto-generated-cl: translation import
2016-06-23 16:57:49 -07:00
Bill Yi
a8ddc9381d Import translations. DO NOT MERGE
Change-Id: I097961ae9532f937a043293eef06ac0a87ea021c
Auto-generated-cl: translation import
2016-06-23 16:34:21 -07:00
Jorim Jaggi
d136ba1664 Fix WallpaperInfo API review
Change-Id: I395b9617038450e6fa7a2f25bb55d6ae5f761015
Fixes: 29514598
2016-06-23 16:25:52 -07:00
Suprabh Shukla
33657640ec Merge "Adding a warning dialog before restarting demo session" into nyc-mr1-dev 2016-06-23 23:11:48 +00:00
Hemal Patel
631a8dcb5d Docs: Fixed wrong link text am: 9e9d2c7fba am: 1727bb369e
am: 391e0808d6

Change-Id: Ibf5bd96b2b2832b20fbf0d352aa3dc5602d40b9c
2016-06-23 23:06:28 +00:00
Todd Kennedy
d73d2a3a3d Merge "fix last modified time" into nyc-mr1-dev 2016-06-23 23:02:35 +00:00
Hemal Patel
391e0808d6 Docs: Fixed wrong link text am: 9e9d2c7fba
am: 1727bb369e

Change-Id: I655d77ccdc8586b348bd61309cd8cfba012113b8
2016-06-23 22:59:38 +00:00
Hemal Patel
1727bb369e Docs: Fixed wrong link text
am: 9e9d2c7fba

Change-Id: I0d66075bb75a2f4cc809d2df698c4acec5234187
2016-06-23 22:54:30 +00:00
smain@google.com
b8516f1029 Merge \"fix bad contrast in table links by switching to normal table cells instead of headings.\" into nyc-dev
am: fd0eeb0379

Change-Id: I68b578ac0bb343dff66bcbc5bd5c652c93e9864f
2016-06-23 22:06:07 +00:00
Roozbeh Pournader
60882f517d Merge "Revert "Revert "Mark Serbian in Latin script as non-localized [DO NOT MERGE]""" into nyc-mr1-dev 2016-06-23 21:58:57 +00:00
Scott Main
fd0eeb0379 Merge "fix bad contrast in table links by switching to normal table cells instead of headings." into nyc-dev 2016-06-23 21:57:52 +00:00
Suprabh Shukla
f38b1d7abe Adding a warning dialog before restarting demo session
Instead of immediately restarting the demo after user inactivity timeout,
now the system shows a warning dialog that counts down for 6 seconds,
during which the user can choose to continue the current session or
restart the session immediately.

Bug: 29520255
Change-Id: I060f700dcbbb6f64ae5fe95e3f3027bc3c33b38d
2016-06-23 14:55:41 -07:00
Android Build Merger (Role)
1ecbced5cb Merge "Merge \"Fix guts are not bound properly.\" into nyc-dev am: 9ea3916063" into nyc-mr1-dev 2016-06-23 21:50:15 +00:00
Min Yun
f03046aa20 Merge \"Fix guts are not bound properly.\" into nyc-dev
am: 9ea3916063

Change-Id: I3adc7f367792e30bdf61067ea367436a22ef5842
2016-06-23 21:49:55 +00:00
Fyodor Kupolov
38d7897690 Merge "Print names of observers causing timeout" into nyc-mr1-dev 2016-06-23 21:49:05 +00:00
TreeHugger Robot
9ea3916063 Merge "Fix guts are not bound properly." into nyc-dev 2016-06-23 21:45:59 +00:00
Mitchell Wills
0a726ac690 Add a WifiScanner API to listener for ongoing scans
Bug: 29412469
Change-Id: Id884851a12f95c89f928b81f5b5baa1f9f80fafe
2016-06-23 14:38:59 -07:00
Android Build Merger (Role)
0cacb14c4e Merge "Merge \"HUN: Close RemoteInputView when Home is pressed\" into nyc-dev am: cdd43d7270" into nyc-mr1-dev 2016-06-23 21:34:39 +00:00
Android Build Merger (Role)
5bebba2124 Merge "Merge \"media: update getAchievableFrameRatesFor javadoc\" into nyc-dev am: 8fe82686ef" into nyc-mr1-dev 2016-06-23 21:34:32 +00:00
Adrian Roos
86315e78ae Merge \"HUN: Close RemoteInputView when Home is pressed\" into nyc-dev
am: cdd43d7270

Change-Id: Id463ad12a2e302e869e504a95664d1dab89f793f
2016-06-23 21:34:03 +00:00
Lajos Molnar
f39052574d Merge \"media: update getAchievableFrameRatesFor javadoc\" into nyc-dev
am: 8fe82686ef

Change-Id: I5c30373ad5d6eed29e953a81e89d60a6c649089b
2016-06-23 21:34:00 +00:00
Chong Zhang
568507abf5 Merge "Do not send unhandled system config changes to app" into nyc-mr1-dev 2016-06-23 21:33:55 +00:00
TreeHugger Robot
cdd43d7270 Merge "HUN: Close RemoteInputView when Home is pressed" into nyc-dev 2016-06-23 21:26:34 +00:00
TreeHugger Robot
8fe82686ef Merge "media: update getAchievableFrameRatesFor javadoc" into nyc-dev 2016-06-23 21:25:33 +00:00
Jason Monk
9981d94d54 Merge \"QS: Hacks to fix bigger problems in TileService binding\" into nyc-dev
am: 1427bb3dc0

Change-Id: I471055cbac21c09d23b60e6dab15bcc1cd1d6208
2016-06-23 21:02:13 +00:00
Todd Kennedy
8051a0a395 fix last modified time
For cluster packages [i.e. packages that are split among multiple APKs]
the codePath is the directory containing the APKs. This normally works
well since the directory is created newly on update. However, it breaks
down during OTA when the directory modification time may or may not
change.

Specifically for cluster packages, we determine the packages "last
modified time" as the date of the newwest APK added to the package.

Bug: 29575840
Bug: 29610181

Change-Id: Ia0a40cf6aaf4102f35e9319ebdb95074b1740c90
2016-06-23 13:56:51 -07:00
Jason Monk
1427bb3dc0 Merge "QS: Hacks to fix bigger problems in TileService binding" into nyc-dev 2016-06-23 20:52:50 +00:00
Chong Zhang
4951f9d6f6 Do not send unhandled system config changes to app
If the config change is system-level and the app doesn't handle
it, it will definitely get relaunched and we don't need to call
onConfigurationChanged.

bug: 29367672
Change-Id: I3193d4b63d316295c9e73d42d000ab4eb5c1a6ad
2016-06-23 20:27:53 +00:00