221648 Commits

Author SHA1 Message Date
Jason Monk
befd54e3e7 Vibrate when the gear gets up to speed
Bug: 25198361
Change-Id: I2a87c2b5594cef39b247de9ae524664c60e2a0ee
2015-11-11 11:20:50 -05:00
Geoff Mendal
ab8f3c3a68 Merge "Import translations. DO NOT MERGE" 2015-11-11 13:42:06 +00:00
Geoff Mendal
5fcbc95825 Import translations. DO NOT MERGE
Change-Id: Id20219220ba0cace66145a7f51c64ba6e3157f86
Auto-generated-cl: translation import
2015-11-11 05:38:05 -08:00
Geoff Mendal
f3fd6c0e13 Import translations. DO NOT MERGE
Change-Id: Ie8815b96b223656f98372f830409837795c45766
Auto-generated-cl: translation import
2015-11-11 05:34:54 -08:00
Nicolas Geoffray
183501e1aa Merge "Remove performBootDexOpt and am's ensurePackageDexOpt." 2015-11-11 12:58:27 +00:00
Nicolas Geoffray
27c0737969 Remove performBootDexOpt and am's ensurePackageDexOpt.
Except common shared libraries and boot image, all compilations
are now done through BackgroundDexOptService.

Change-Id: Ib736e253c38b0c8085bc94e45f4e61a048f66e26
2015-11-11 12:19:08 +00:00
Mahaver Chopra
7830daaa70 Documentation for ACTION_PROVISION_MANAGED_USER
Adding documentation for ACTION_PROVISION_MANAGED_USER in
DevicePolicyManager

Bug: 25614750
Change-Id: I7aa4dd3acd3f4e97a9057bf5f05ca853af54ac01
2015-11-11 11:54:26 +00:00
Ben Kwa
d50b45ccbf Merge "Adjust grid item layouts to match mocks." 2015-11-11 05:09:59 +00:00
Ben Kwa
9094585eb4 Adjust grid item layouts to match mocks.
BUG=24326989

Change-Id: I8a4133890036a2ef9173f20828f062a7e991525d
2015-11-10 20:32:17 -08:00
Keisuke Kuroyanagi
6b814d8aed Merge "Use constants for return value of TextView#doKeyDown" 2015-11-11 02:35:18 +00:00
Sebastien Hertz
dab33c928a Allow debugging only for apps forked from zygote am: f915991842 -s ours am: 48fdfa403e am: f8c9e499c0
am: 000b17b51c

* commit '000b17b51c984cf88b9d57bcaffeaa831cf40dc8':
  Allow debugging only for apps forked from zygote
2015-11-11 01:27:41 +00:00
Sebastien Hertz
000b17b51c Allow debugging only for apps forked from zygote am: f915991842 -s ours am: 48fdfa403e
am: f8c9e499c0

* commit 'f8c9e499c0985c8893617e81dea75fbaaebee0d9':
  Allow debugging only for apps forked from zygote
2015-11-11 01:20:27 +00:00
Sebastien Hertz
f8c9e499c0 Allow debugging only for apps forked from zygote am: f915991842 -s ours
am: 48fdfa403e

* commit '48fdfa403eef469ea9bbcbf5509d919b7db447c7':
  Allow debugging only for apps forked from zygote
2015-11-11 01:11:33 +00:00
Sebastien Hertz
48fdfa403e Allow debugging only for apps forked from zygote
am: f915991842  -s ours

* commit 'f91599184200e4e5f5b8bb01f9e7274d21a3dc9d':
  Allow debugging only for apps forked from zygote
2015-11-11 01:02:21 +00:00
Doris Liu
e49954a7f7 Merge "Add microbench for PathParser" 2015-11-11 00:44:57 +00:00
Doris Liu
f59cb788ba Add microbench for PathParser
Change-Id: I95d6c3153480e3ea56032ffe73707110186fbb0f
2015-11-10 16:43:16 -08:00
Doris Liu
bec5a907dd Merge "VectorDrawable native rendering - Step 1 of MANY" 2015-11-11 00:36:27 +00:00
Xiaohui Chen
bcc0471e2b Merge "app shelf: Change logging level" 2015-11-11 00:23:44 +00:00
Doris Liu
30bcf69df9 VectorDrawable native rendering - Step 1 of MANY
Implement path parsing from string to skia path in native. The parsing
contains two main stages:
1) Parse string into a list of nodes that contains one operation (such
   as move) and a vector of floats as params for that operation.
2) Interpret the operations defined in the nodes into SkPath operations,
   and create a skia path

Also provided unit test for parsing a string path into a list of nodes,
and then to a skia path.

Change-Id: I0ce13df5e3bb90987dcdc80fe8b039af175ad2e2
2015-11-10 15:46:06 -08:00
John Reck
9557dcd53b Merge "Fix HWUI Path Cache dangling pointer" am: 37bf3ec9d2 am: 7516d4d866
am: 1b85ce17a3

* commit '1b85ce17a316973a170b3932f2d0a9b02063eaa3':
  Fix HWUI Path Cache dangling pointer
2015-11-10 23:36:27 +00:00
John Reck
1b85ce17a3 Merge "Fix HWUI Path Cache dangling pointer" am: 37bf3ec9d2
am: 7516d4d866

* commit '7516d4d8667957688433b02b2f4985f1b3ab36ad':
  Fix HWUI Path Cache dangling pointer
2015-11-10 23:31:11 +00:00
John Reck
7516d4d866 Merge "Fix HWUI Path Cache dangling pointer"
am: 37bf3ec9d2

* commit '37bf3ec9d2fb3dfdccfe043e51723e4e543f0703':
  Fix HWUI Path Cache dangling pointer
2015-11-10 23:26:01 +00:00
Sebastien Hertz
f915991842 Allow debugging only for apps forked from zygote
When starting the runtime from app_process, we only pass JDWP options
if starting zygote. It prevents from opening a JDWP connection in
non-zygote programs while Android apps (forked from zygote) remain
debuggable.

Bug: 23050463

(cherry picked from commit 7a09b8322cab26d6e3da1362d3c74964ae66b5d4)

Change-Id: Ib5b6d3bc4d45389993c3c54226df5a7b72479d19
(cherry picked from commit ff8dc21278b19b22ed8dc9f9475850838336d351)
2015-11-10 23:20:53 +00:00
John Reck
37bf3ec9d2 Merge "Fix HWUI Path Cache dangling pointer" 2015-11-10 23:20:03 +00:00
Xiaohui Chen
38d01bf315 app shelf: Change logging level
It seems common for apk to not have launcher activity. I see it quite
a lot during SUW. It does not seems to be an error.

Change-Id: Iee417b0614ef17940371da9710ff14adbad82e3a
2015-11-10 15:02:29 -08:00
Makoto Onuki
246b5a0993 Merge "Do not call into ActivityManager from DPMS within DPMS lock" 2015-11-10 22:57:05 +00:00
Makoto Onuki
53de36f9c4 Do not call into ActivityManager from DPMS within DPMS lock
This will allow AMS to call into DPMS within the AMS lock instead,
which will help  I1537bd57b34696768ee81a979d53bb396efbc12a.

- AM.clearApplicationUserData() will not be allowed for any DA
apps.

Bug 25567963

Change-Id: I9f0d071c815a011be4f4c85c502c39d0fe0fe5e8
2015-11-10 14:55:30 -08:00
Chong Zhang
f9ca399362 Merge "Fix crash on invalid dimlayer" 2015-11-10 22:24:10 +00:00
Chong Zhang
eb917324e4 Fix crash on invalid dimlayer
If the app is already removed, don't apply any more dim on the window
that's pending removal. It causes invalid DimState to be added back
to the controller, and we crash as these don't have valid dimlayers.

bug: 25570092
Change-Id: I7e3c56c6eb636fdcb01d9bba90f77b3885e216fb
2015-11-10 14:09:09 -08:00
Rob Carr
40725b6f86 Merge "Clarify geometry management for SurfaceView" 2015-11-10 21:54:45 +00:00
Pablo Ceballos
4873103e75 Merge "jni: Regenerated EGL/GLES JNI files to support null arguments" 2015-11-10 21:41:53 +00:00
John Reck
e2703bee8a Merge "Fix threading issues" 2015-11-10 21:41:49 +00:00
John Reck
cba287b971 Fix threading issues
Bug: 25584167
Change-Id: I413ef9e0c86f7cca1f7d085e0071745ca0192853
2015-11-10 13:41:32 -08:00
Jeff Tinker
807ea28eef Merge "Improve MediaCodec.CryptoException log messages" 2015-11-10 21:16:44 +00:00
Jason Monk
10bd1daf5e Merge "Fix tuner-related crashes" 2015-11-10 21:05:57 +00:00
Jason Monk
72def0de65 Fix tuner-related crashes
- Make the dialog a fragment
 - add a null check

Bug: 23341500
Bug: 25341011
Change-Id: I4d9991657c487ea3b5ced8cce2a5072c8adb2ee5
2015-11-10 16:03:41 -05:00
Robert Carr
64aadd0849 Clarify geometry management for SurfaceView
In the hardware accelerated case, RenderThread needs
to be the authority of information on the geometry of
the SurfaceView (this will occur via moving the
repositionWindow call to RenderThread). In order
to support this we have to enable calling relayoutWindow
without geometry (so that it will not fight with
repositionWindow). Add such a mode to relayoutWindow
and use it from SurfaceView. Add size to repositionChild
while we are here.

Bug: 22802885
Change-Id: Ie45132c22f34cc6ecfe2446912b30bd1df414406
2015-11-10 19:21:22 +00:00
Christopher Tate
0a61b36013 Introduce socket stats tag for restore traffic
As well as system API for emplacing it.

Change-Id: If33fbd23552261efe3b00d75c22ff823564f43e6
2015-11-10 11:13:12 -08:00
Winson Chung
974f55fa13 Merge "Saving additional context when taking task screenshots." 2015-11-10 18:24:48 +00:00
Wale Ogunwale
208ff92d30 Merge "Fixed issue with not been able to dock task from recents after reboot" 2015-11-10 18:07:56 +00:00
Wale Ogunwale
6c5eb1c6fe Fixed issue with not been able to dock task from recents after reboot
- Always set the docked stack mode when starting a task from recents
even if the task is already in the docked stack. The caller might want
to change the docked stack location.
- Return last persisted bounds for task that hasn't be restored into a
stack yet when AMS.getTaskBounds is called.
- Make sure there is a valid top activity when moving a task to a stack
before trying to preserve the window.

Bug: 25590206
Change-Id: Id115fc62c28913f999c62cdbbaccd887daa0fab5
2015-11-10 10:00:38 -08:00
Tony Mantler
6038349b4e Merge "Move RecentLocationApps to SettingsLib" 2015-11-10 17:48:47 +00:00
Tony Mantler
65eb4ada18 Move RecentLocationApps to SettingsLib
Change-Id: I73c7c7a2436a6af9f5353a20ea7afc4f6e57b485
2015-11-10 17:47:56 +00:00
Florin Malita
dd763feeb2 Merge "Fix persistent Canvas clip handling" 2015-11-10 16:59:48 +00:00
Winson
142af42fd6 Fixing issue with regression with launching focused task.
- Only update the focused task as you scroll if we are in touch
  exploration mode.
- Use stack's notion of focused task as the currently focused task may
  not have a TaskView and can be scrolled offscreen.

Bug: 25590404

Change-Id: I5ef1b66ec74aa1a3131993ed84905210f1e45f18
2015-11-10 08:53:44 -08:00
Jorim Jaggi
7cc7b08a40 Make sure callback is only called once
Because we set it already in the future, it was called already
when we fetched the contents of the future, because it looked
like we overrided the callback. Instead, don't do callbacks
when calling the future, and save the callback in a separate
field.

Bug: 25568693
Change-Id: I8b7fd4248a2336470f8b7e12b64b0577dee96f6f
2015-11-10 16:13:47 +00:00
Mahaver Chopra
68ce6dc10a Merge "Add ACTION_PROVISION_MANAGED_USER" 2015-11-10 14:08:02 +00:00
Jorim Jaggi
29deb334cd Reset mAppTransitionAnimationSpecs so they are only used once
Because we didn't reset it after sending it to window manager,
they were used again in the next transition, leading to a
wrong animation.

Also fix a bug where we waited forever because
getAppTransitionAnimationSpecs returned null.

Bug: 25583739
Change-Id: Ifcccf2d3cee649f66b4ded1d92c059acfa02ba5b
2015-11-10 12:26:07 +00:00
Jorim Jaggi
7af8ea8a7c When recent changes its layout, update contents
When the window gets resized, we need to synchronize the
views with the model.

Bug: 25584567
Bug: 25584399
Change-Id: I27d6738cb4984ce91ce79671298bcdc0d317c6e1
2015-11-10 12:25:28 +00:00
Mahaver Chopra
5e73256a48 Add ACTION_PROVISION_MANAGED_USER
Adding ACTION_PROVISION_MANAGED_USER to DevicePolicyManager.

Bug: 25462684
Change-Id: Ic90c3471f3a9c431d728197a19ab25b9946f090a
2015-11-10 10:58:51 +00:00