149071 Commits

Author SHA1 Message Date
Jeff Sharkey
8415477dcc Merge "Progress towards staging ASECs." into lmp-dev 2014-08-16 03:52:42 +00:00
Jeff Sharkey
742e790294 Progress towards staging ASECs.
Move location selection logic into shared PackageHelper location,
and share it between DCS and PackageInstaller.  Fix bugs related to
installed footprint calculation; always count unpacked native libs.

Have PMS do its own threshold checking, since it's fine to stat
devices.  PMS only ever deleted staging ASECs, so move that logic
into installer and nuke unclaimed staging ASECs.  Allocate legacy
ASEC names using PackageInstaller to make sure they don't conflict
with sessions.

Start wiring up session to allocate ASEC and pass through staged
container for installation.

Fix bug to actually delete invalid cluster-style installs.

Bug: 16514385
Change-Id: I325e0c4422fc128398c921ba45fd73ecf05fc2a9
2014-08-18 15:52:24 -07:00
Kenny Root
f6040e9c11 Merge "Revert "Remove the warning if the caller gets the insecure variant and add hostname verification (SNI)"" into lmp-dev 2014-08-16 03:52:42 +00:00
Michael Wright
8e5482f6ed Merge "Change 'disable hardware keyboard' to 'show input method'" into lmp-dev 2014-08-16 03:52:42 +00:00
Robert Greenwalt
804322564b Merge "Fix a logic error so mtu works." into lmp-dev 2014-08-16 03:52:42 +00:00
Baligh Uddin
e5df258491 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-08-16 03:52:42 +00:00
Baligh Uddin
5db16fe79b Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-08-16 03:52:42 +00:00
Baligh Uddin
d4f7e6cf72 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-08-16 03:52:42 +00:00
Baligh Uddin
5398915d74 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-08-16 03:52:42 +00:00
Baligh Uddin
784006f2a1 Import translations. DO NOT MERGE
Change-Id: I29a7b80cea6ddfa59c900472e05d9b72ba53c61f
Auto-generated-cl: translation import
2014-08-15 22:03:24 -07:00
Baligh Uddin
0e900b611c Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-08-16 03:52:42 +00:00
Baligh Uddin
80631ed867 Import translations. DO NOT MERGE
Change-Id: I287e3613eab6a99a30a025ba979b3eae287478c3
Auto-generated-cl: translation import
2014-08-15 22:05:22 -07:00
Baligh Uddin
e8c130f838 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-08-16 03:52:42 +00:00
Baligh Uddin
ab5c77cfcc Import translations. DO NOT MERGE
Change-Id: Idc57a1961ba0cf31e9542f6bf2666cebc7e82c68
Auto-generated-cl: translation import
2014-08-15 22:23:37 -07:00
Christopher Tate
90aefa2030 Merge "Minor restore fixes" into lmp-dev 2014-08-16 03:51:48 +00:00
Christopher Tate
10ab095a5b Minor restore fixes
1. We were missing a 'break' in the session-timeout case of
   message dispatch, so were falling through into a different
   case.  Oops.  Fortunately it was benign; the other case's
   logic was merely logging "hey it doesn't look like there's
   anything to do here" and cleanly exiting.

2. After a restore operation finishes we were previously
   always leaving the session timeout clock running.  However,
   this was not appropriate in the case of restore-at-install,
   when the restore was a one-shot kicked off by the package
   manager rather than an operation on an ongoing RestoreSession.
   That logic now properly tidies up the session timeout when
   winding up the restore in either situation.

Bug 17080648

Change-Id: I51d4a50db4feefc4c355230a3bfb926ea2fb5944
2014-08-18 22:01:43 +00:00
Dianne Hackborn
14b763a04e Merge "Fix path for handling system window with app token." into lmp-dev 2014-08-16 03:51:48 +00:00
Dianne Hackborn
15ed2754a3 Fix path for handling system window with app token.
It is wrong to turn the token into a null appWindowToken; we
need to create a new top-level token as if they had passed in null.

Change-Id: I870d8167c6ed456ea8fd58b149809ec9e0103bce
2014-08-18 15:48:41 -07:00
Dianne Hackborn
3c50bf00a6 Merge "Fix issue #14617210: Apps can gain access to any ContentProvider..." into lmp-dev 2014-08-16 03:51:48 +00:00
Dianne Hackborn
028ceeb472 Fix issue #14617210: Apps can gain access to any ContentProvider...
...with grantUriPermissions (no user interaction required)

Add a new path in to the activity manager to start an activity as
if it was directy started by the original calling activity.  This
is specifically for the resolver activity and chooser activity to
be able to safely launch its data after serving as an intermediary.

Access to the new method is highly restricted -- it can only be
called by an activity that is declared in the framework apk itself,
and the execute-as-the-caller behavior will only happen if the
code is running under the system uid.  (This means we could still
have these run in the client's process in some cases and still work
correctly.)

Note there is some commented out code here half-done about trying
to propagate security exceptions back to the original calling
activity.  This would be really nice, especially now with the
chooser activity running in a system process so any errors made
by the app (bad permission grants, bad intents, etc) no longer
actually appear in the app so are essentially invisible.  I'd
really like to figure out a way to propagate these exceptions back
to the app, but this is hard since the app's process may no
longer even be running at this point.

Also tweak activity manager dump output to split the recents
dump out from activities, since recents can now be super large.

Change-Id: I50410c4783faf9302c69290589a068a846e0973a
2014-08-18 11:35:12 -07:00
Santos Cordon
dbc0959682 am 5a496deb: Merge "Fixing wrong tag usage" into lmp-dev
* commit '5a496debeef5f2b01b90f654a97504d5ae1a6288':
  Fixing wrong tag usage
2014-08-16 03:30:12 +00:00
Baligh Uddin
bc9f0bdb47 Import translations. DO NOT MERGE
Change-Id: I7f283fa34aa5503bb34e7a085268abb4743032dd
Auto-generated-cl: translation import
2014-08-15 20:21:53 -07:00
Baligh Uddin
291eacdd13 Import translations. DO NOT MERGE
Change-Id: I31fd074b4124de3fabbc62a7a161497bd2865a4c
Auto-generated-cl: translation import
2014-08-15 20:16:39 -07:00
Baligh Uddin
8e926987da Import translations. DO NOT MERGE
Change-Id: Idc0468cdd27bc282b6386f2378ec837b214f668a
Auto-generated-cl: translation import
2014-08-15 20:13:48 -07:00
Alan Viverette
e8311ac850 Update fast scroller preview for Material
BUG: 16374061
Change-Id: Iefbbc4f3e8eccb89072bd0885cc337f9e0470d81
2014-08-15 19:58:04 -07:00
Deepanshu Gupta
a4ceb9e64c am 32faabbe: Layoutlib: Update wifi and battery icon for KK
* commit '32faabbe14252397b35516caa9c0d0245bfcc719':
  Layoutlib: Update wifi and battery icon for KK
2014-08-16 02:23:56 +00:00
Jeff Brown
36c78993d3 am 06579b3d: Merge "Revert "Throw exception when inset drawable is missing drawable attribute"" into lmp-dev
* commit '06579b3dcbc2270be297820bc532567eab3db340':
  Revert "Throw exception when inset drawable is missing drawable attribute"
2014-08-16 02:13:29 +00:00
Alan Viverette
0bece71ee2 Throw exception when inset drawable is missing drawable attribute
BUG: 17068252
Change-Id: I3f5757966c1bb723311a2e2c41d419ed41369061
2014-08-15 19:12:28 -07:00
Alan Viverette
d1e09df27f am 4c200997: Merge "Fix date and time picker styling" into lmp-dev
* commit '4c2009971702645175ad33de5c61fe42a8206aef':
  Fix date and time picker styling
2014-08-16 01:58:21 +00:00
Jeff Brown
3575a72ead am 23c7b927: Add trace tag for power management.
* commit '23c7b927f620ca836c52351b54e0a26e51e03615':
  Add trace tag for power management.
2014-08-16 01:58:16 +00:00
Alan Viverette
e58ab6a904 am 4779a4fa: Merge "Add spinner style for use in forms" into lmp-dev
* commit '4779a4fad910cfe348d930a74089e78be762927e':
  Add spinner style for use in forms
2014-08-16 01:57:42 +00:00
Alan Viverette
352da5e710 am 47eba14f: Merge "Better handling of unresolved theme attributes" into lmp-dev
* commit '47eba14fbc336b8ade843025c0519819a4c2dbb0':
  Better handling of unresolved theme attributes
2014-08-16 01:40:56 +00:00
Alan Viverette
97097b9686 am 04ce8195: Merge "Scrapping the view at position zero is still position zero" into lmp-dev
* commit '04ce8195af5e6863cbccd9b2fc733a81d59450a7':
  Scrapping the view at position zero is still position zero
2014-08-16 01:40:51 +00:00
Alan Viverette
3d3a67d6ba am a98fe1f5: Merge "Fix menu styling" into lmp-dev
* commit 'a98fe1f5026b9f21b2ee6e5d2dd150bf38f4c26c':
  Fix menu styling
2014-08-16 01:40:46 +00:00
Dianne Hackborn
16ec0808b5 Make sure we initialize to enable the default voice interaction service.
We weren't taking care of the case of an upgrade to L.  The main
change here is that the voice interaction service setting now has
an empty string when the user has explicitly said they don't want
one, so when it is null we will initialize it to its default.

Change-Id: Icdd30b4f09498f8928cea759a64628bd43bc5d0e
2014-08-15 18:34:10 -07:00
Jeff Brown
3edf5272fb Add trace tag for power management.
Instrumented the basic power manager state transitions,
calling into the Power HAL, setting the display power mode,
and setting the backlight.

Bug: 17004602
Change-Id: I4e362162ddfd7292a7eea8b5d029ce3f6593c4a9
2014-08-16 01:21:41 +00:00
Deepanshu Gupta
32faabbe14 Layoutlib: Update wifi and battery icon for KK
Change-Id: Ic5c80e83366bb7672049a6bf726d11cf6717f400
(cherry picked from commit 59eedf528ca29a32b6d7f358f5076929f8fbb164)
2014-08-16 01:11:26 +00:00
Tyler Gunn
3fc65e4241 am cdf84c81: Merge "Removing permission check in ConnectionService." into lmp-dev
* commit 'cdf84c81fe37661a65e87ecf9958d8a432d13478':
  Removing permission check in ConnectionService.
2014-08-16 01:05:29 +00:00
Deepanshu Gupta
59eedf528c Layoutlib: Update wifi and battery icon for KK
Change-Id: Ic5c80e83366bb7672049a6bf726d11cf6717f400
2014-08-15 18:03:43 -07:00
Lajos Molnar
b08b0edaea am b5caee71: Merge "media: minor fixes for MediaCodecInfo" into lmp-dev
* commit 'b5caee71a6b339ea9d03fef83e4980e70d442ce8':
  media: minor fixes for MediaCodecInfo
2014-08-16 00:59:04 +00:00
Alan Viverette
9a970e2968 am 8525b72c: Merge "Throw exception when inset drawable is missing drawable attribute" into lmp-dev
* commit '8525b72c4fde6c4e1aa61062ecdc3e4bdd7896b4':
  Throw exception when inset drawable is missing drawable attribute
2014-08-16 00:54:45 +00:00
Robert Greenwalt
43074032d6 Fix a logic error so mtu works.
bug:17046179
Change-Id: I744a2fd425627da16d9779df3a96541506e0b6b3
2014-08-15 17:53:05 -07:00
Andy Hung
d7b43364a7 am 97c46ebd: Merge "Fix 7.1 audio playback from AudioTrack" into lmp-dev
* commit '97c46ebd8c117870423bd14a40ac2d7f01550582':
  Fix 7.1 audio playback from AudioTrack
2014-08-16 00:46:48 +00:00
Amith Yamasani
e10e992181 am 6fcf926e: Merge "Update strings for guest session dialog" into lmp-dev
* commit '6fcf926ef545d9b71c77c2ec97190309d6dff51e':
  Update strings for guest session dialog
2014-08-16 00:32:12 +00:00
Chris Craik
f575d8e4e2 am b84332d9: Merge "Fix glyph positions underflow issue" into lmp-dev
* commit 'b84332d9b94b5ad6e9ab0fd98ed466015e66d2c7':
  Fix glyph positions underflow issue
2014-08-16 00:24:23 +00:00
Ruben Brunk
91ace63f12 am f1aea7f9: Merge "camera2: Add jpeg metadata for LEGACY shim." into lmp-dev
* commit 'f1aea7f92498e3f107350c6d1a41e211d1c764a3':
  camera2: Add jpeg metadata for LEGACY shim.
2014-08-16 00:15:23 +00:00
Ruben Brunk
2020e3c2c8 am b62eea57: camera2: Fix shim aspect ratio scaling.
* commit 'b62eea577849e56d276c4e52b67242ae9d31ce10':
  camera2: Fix shim aspect ratio scaling.
2014-08-16 00:15:18 +00:00
Ruben Brunk
a9bc355910 camera2: Fix shim aspect ratio scaling.
Bug: 16494207
Change-Id: I4bd40dee1caaf8c83a0853d48d44cc97151f9b41
2014-08-15 23:51:52 +00:00
Tyler Gunn
158cf83140 am fbcb50db: Merge "Add BIND_CONNECTION_SERVICE permission." into lmp-dev
* commit 'fbcb50db877854e68031b157f891be29b87eb7f7':
  Add BIND_CONNECTION_SERVICE permission.
2014-08-15 23:25:59 +00:00
Adam Lesinski
7920573234 am 58157586: Merge "Add FeatureGroup to PackageInfo" into lmp-dev
* commit '58157586ef58387bb1e49930477b8b9c90bb0991':
  Add FeatureGroup to PackageInfo
2014-08-15 23:10:18 +00:00