248141 Commits

Author SHA1 Message Date
Philip Cuadra
ca3329ccb5 Add tracing events for system service lifecycle events
To help debug time spent on startup, add tracing events for system
service lifecycle events.

Change-Id: Icfdafe2b1fa56a2533af0cf08810ef455c20939a
2016-06-24 12:02:06 -07:00
Chong Zhang
1156c52b03 Merge "Do not load exit animation again if window is already animating" into nyc-mr1-dev 2016-06-24 18:51:14 +00:00
Andrew Sapperstein
411b9c69a1 Merge "Add DeviceDefault style used by ringtone picker." into nyc-mr1-dev 2016-06-24 18:31:43 +00:00
Chong Zhang
8c5d422e02 Do not load exit animation again if window is already animating
Transition can be started as soon as the entering app is drawn.
If the exiting app relayouts to invisible after transition started,
don't load the exit animation again.

bug: 29405575
Change-Id: I05ba4f733afb9426626db113be721a6bf888f093
2016-06-24 11:30:58 -07:00
Min Yun
de383c75eb Reapply more strings for "more settings"
Fixes: 29620816

Change-Id: Iabfcb3b762e1d7d105d2b4c417fc0902d7e7ca16
2016-06-24 18:28:17 +00:00
Andrew Sapperstein
3d29644f28 Merge "Update QS battery trendline to use theme color." into nyc-mr1-dev 2016-06-24 18:19:32 +00:00
Daniel Yu
aa67ac1817 resolve merge conflicts of ac5b340 to nyc-dev
Change-Id: I3a7af34cdf7656896a3895c61c8c58d6f8f094a0
2016-06-24 11:13:40 -07:00
Steven Ng
9d48a731d0 Disallow disable / hide device provision app
+ Rename functions in ProtectedPackages.
+ Add a Set in ProtectedPackages to store protected package.

Bug: 29116229
Change-Id: Ib7dd93a158c09ebbf70f4d57c1afbd2c5102edbd
2016-06-24 19:04:14 +01:00
Doris Liu
7f9c189f06 Merge "Fix NPE for checking for whether animators should play together" into nyc-mr1-dev 2016-06-24 17:47:44 +00:00
Makoto Onuki
2a6f79d45f Merge "Make "cmd package set-home-activity" more CTS friendly" into nyc-mr1-dev 2016-06-24 17:37:07 +00:00
Bill Yi
27465d7d0e Import translations. DO NOT MERGE
am: 34f5924ca6  -s ours

Change-Id: Iddaaa1eb8c715a66a3d3fab95f0ac4eba2865877
2016-06-24 17:28:18 +00:00
Daniel Yu
ac5b340487 Merge \"docs: Fixing MediaSession note in PIP preview docs\" into mnc-io-docs
am: daaf8e7f1c

Change-Id: I310823425b0706bdf4221e266a87e9c9aa66dd95
2016-06-24 16:37:45 +00:00
Dan Yu
daaf8e7f1c Merge "docs: Fixing MediaSession note in PIP preview docs" into mnc-io-docs 2016-06-24 16:26:13 +00:00
Amith Yamasani
bb1fb395ca Merge "Resetting some settings on starting a new demo session" into nyc-mr1-dev 2016-06-24 16:08:16 +00:00
Bill Yi
b137b24ccb Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 29578243
Change-Id: Ibccd468924a986297bb779eef68d4b2ed392b73f
2016-06-24 08:38:58 -07:00
Bill Yi
34f5924ca6 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 29578243
Change-Id: Ibfcaf1dcbb2cc51dcec359edb8525a2a56ab1231
2016-06-24 08:33:56 -07:00
Julia Reynolds
630cc3017a Always reapply strings.
am: 9c0c3d8d8b

Change-Id: I20ad505b3cb75319cc81a3dfb6ecfd0fae9ac24a
2016-06-24 15:16:35 +00:00
TreeHugger Robot
459f594bb1 Merge "Show volume row headers by default." into nyc-mr1-dev 2016-06-24 14:52:40 +00:00
Julia Reynolds
5f83c85182 Show volume row headers by default.
Bug: 28269951
Change-Id: I26acfb26064e7f44e4b1897d940228247b45d7b1
2016-06-24 09:17:55 -04:00
Julia Reynolds
9c0c3d8d8b Always reapply strings.
Change-Id: Icc66d1e23048d2676b5776c3eec76345963228d0
Fixes: 29620816
2016-06-24 12:49:29 +00:00
Bill Yi
f0101fd5cb Merge \"Import translations. DO NOT MERGE\" into nyc-dev
am: f1dc57ea63  -s ours

Change-Id: Ie112f5004629cdd2fd0216eaa9b94bf4e45c6928
2016-06-24 05:53:11 +00:00
Bill Yi
3e9917dc91 Merge \"Import translations. DO NOT MERGE\" into nyc-dev
am: 2bc13bcdad  -s ours

Change-Id: Ibaab32fdbf118c13beec0ba8999404492ec9b2e8
2016-06-24 05:53:08 +00:00
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
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
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
      25e0813e6eb6315b1016db805fa9b791b4ae5cc2

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