OSDN Git Service

android-x86/frameworks-base.git
9 years agoam b2df3e40: (-s ours) am 97ffe946: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Sat, 16 Aug 2014 04:00:38 +0000 (04:00 +0000)]
am b2df3e40: (-s ours) am 97ffe946: (-s ours) Import translations. DO NOT MERGE

* commit 'b2df3e40d5bb08295ebb9ee72bd601d88545cc2c':
  Import translations. DO NOT MERGE

9 years agoam 97ffe946: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Fri, 15 Aug 2014 22:20:09 +0000 (22:20 +0000)]
am 97ffe946: (-s ours) Import translations. DO NOT MERGE

* commit '97ffe946f1e9aa961e3278f84b344a4a93b02210':
  Import translations. DO NOT MERGE

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 15 Aug 2014 19:57:31 +0000 (12:57 -0700)]
Import translations. DO NOT MERGE

Change-Id: I5fab20b0d39b9e396111791a55046a8485f073d9
Auto-generated-cl: translation import

9 years agoMerge "Fixing wrong tag usage" into lmp-dev
Santos Cordon [Sat, 16 Aug 2014 03:20:25 +0000 (03:20 +0000)]
Merge "Fixing wrong tag usage" into lmp-dev

9 years agoFixing wrong tag usage
Sunny Goyal [Sat, 16 Aug 2014 00:39:54 +0000 (17:39 -0700)]
Fixing wrong tag usage

Change-Id: I4cb0084a89cc079383d666ad1c5711d96ea81ebe

9 years agoMerge "Revert "Throw exception when inset drawable is missing drawable attribute...
Jeff Brown [Sat, 16 Aug 2014 02:06:37 +0000 (02:06 +0000)]
Merge "Revert "Throw exception when inset drawable is missing drawable attribute"" into lmp-dev

9 years agoRevert "Throw exception when inset drawable is missing drawable attribute"
Jeff Brown [Sat, 16 Aug 2014 02:05:50 +0000 (02:05 +0000)]
Revert "Throw exception when inset drawable is missing drawable attribute"

This reverts commit b16a6331cce2c3559ed9414c6aca238c5042e919.

Bug: 17072675
Change-Id: Ie2403095df10aa0dd18545a3d2a323ae463037e4

9 years agoThrow exception when inset drawable is missing drawable attribute
Alan Viverette [Fri, 15 Aug 2014 21:28:30 +0000 (14:28 -0700)]
Throw exception when inset drawable is missing drawable attribute

BUG: 17068252
Change-Id: Id9c9791501ce9d56fdd67236c84775550c89032c

9 years agoMerge "Fix date and time picker styling" into lmp-dev
Alan Viverette [Sat, 16 Aug 2014 01:37:54 +0000 (01:37 +0000)]
Merge "Fix date and time picker styling" into lmp-dev

9 years agoAdd trace tag for power management.
Jeff Brown [Fri, 15 Aug 2014 02:25:14 +0000 (19:25 -0700)]
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

9 years agoFix date and time picker styling
Alan Viverette [Fri, 15 Aug 2014 21:20:35 +0000 (14:20 -0700)]
Fix date and time picker styling

Removes done buttons from widgets, fixes date picker day selection, fixes
dialog layouts in landscape, updates colors. Adds API on AlertDialog for
setting the view by resource ID, which is necessary to correctly inflate
the view against the dialog's parent view.

BUG: 16941550
BUG: 16852521
BUG: 16878697
BUG: 16838659
BUG: 17047435
Change-Id: I138858ce06cd4abf68a2c3361ec170370236b33b

9 years agoReturning null when preview image is not available for AppWidgetProviderInfo
Sunny Goyal [Fri, 15 Aug 2014 19:57:11 +0000 (12:57 -0700)]
Returning null when preview image is not available for AppWidgetProviderInfo

The default application icon generally has a different aspect ratio that a
preview image, and cannot transparently be  used in place of the image.
Returning null will allow the apps to handle the case as they see fit.

Change-Id: Ie6e8e16dd7b4e58b222187a81c62d27eccab45a9

9 years agoMerge "Add spinner style for use in forms" into lmp-dev
Alan Viverette [Sat, 16 Aug 2014 01:11:42 +0000 (01:11 +0000)]
Merge "Add spinner style for use in forms" into lmp-dev

9 years agoMerge "Better handling of unresolved theme attributes" into lmp-dev
Alan Viverette [Sat, 16 Aug 2014 01:10:41 +0000 (01:10 +0000)]
Merge "Better handling of unresolved theme attributes" into lmp-dev

9 years agoBetter handling of unresolved theme attributes
Alan Viverette [Fri, 15 Aug 2014 23:13:15 +0000 (16:13 -0700)]
Better handling of unresolved theme attributes

Also adds a (very obviously wrong) default color to RippleDrawable

Change-Id: I6d29b371f4e59accbebf25eb059b1f372b9184b0

9 years agoMerge "Scrapping the view at position zero is still position zero" into lmp-dev
Alan Viverette [Sat, 16 Aug 2014 01:08:47 +0000 (01:08 +0000)]
Merge "Scrapping the view at position zero is still position zero" into lmp-dev

9 years agoScrapping the view at position zero is still position zero
Alan Viverette [Sat, 16 Aug 2014 01:02:23 +0000 (18:02 -0700)]
Scrapping the view at position zero is still position zero

BUG: 16418789
Change-Id: I8334d6b37efa1f853152ef2cea041db69e41d24e

9 years agoMerge "Fix menu styling" into lmp-dev
Alan Viverette [Sat, 16 Aug 2014 01:08:18 +0000 (01:08 +0000)]
Merge "Fix menu styling" into lmp-dev

9 years agoFix menu styling
Alan Viverette [Sat, 16 Aug 2014 00:32:22 +0000 (17:32 -0700)]
Fix menu styling

BUG: 17069607
Change-Id: Ic6b46fc56546f0e472509110d378c2662f6b4583

9 years agoMerge "Add BIND_CONNECTION_SERVICE permission." into lmp-dev
Tyler Gunn [Fri, 15 Aug 2014 23:22:13 +0000 (23:22 +0000)]
Merge "Add BIND_CONNECTION_SERVICE permission." into lmp-dev

9 years agoAdd BIND_CONNECTION_SERVICE permission.
Tyler Gunn [Fri, 15 Aug 2014 22:55:20 +0000 (15:55 -0700)]
Add BIND_CONNECTION_SERVICE permission.

- Added system permission.
- Added enforcement in ConnectionService API class.

Bug: 16171070
Change-Id: Idbd26a31e8f6bb59d3e881a1e5885a44026f2fbd

9 years agoMerge "Removing permission check in ConnectionService." into lmp-dev
Tyler Gunn [Sat, 16 Aug 2014 00:55:11 +0000 (00:55 +0000)]
Merge "Removing permission check in ConnectionService." into lmp-dev

9 years agoRemoving permission check in ConnectionService.
Tyler Gunn [Sat, 16 Aug 2014 00:01:19 +0000 (17:01 -0700)]
Removing permission check in ConnectionService.

This breaks RemoteConnectionServices, such as hangouts.

Bug: 16171070
Change-Id: I9b53fefe9c3246abb1e9e11109957fb2f8502de8

9 years agoMerge "media: minor fixes for MediaCodecInfo" into lmp-dev
Lajos Molnar [Sat, 16 Aug 2014 00:51:27 +0000 (00:51 +0000)]
Merge "media: minor fixes for MediaCodecInfo" into lmp-dev

9 years agomedia: minor fixes for MediaCodecInfo
Lajos Molnar [Wed, 13 Aug 2014 01:48:14 +0000 (18:48 -0700)]
media: minor fixes for MediaCodecInfo

- use equals() for Range singularity checks
- parse max-channel-count properly
- add platform defaults to G711 and GSM audio codecs
- allow xml to override platform limits if format,
  profile or level is not supported (but recognized to be
  possibly valid) by the platform
- set defaut format fields

Bug: 11990470
Change-Id: I06114e2d10dcc205a8a963605a01e6d4f6ecd0f0

9 years agoMerge "Throw exception when inset drawable is missing drawable attribute" into lmp-dev
Alan Viverette [Sat, 16 Aug 2014 00:45:52 +0000 (00:45 +0000)]
Merge "Throw exception when inset drawable is missing drawable attribute" into lmp-dev

9 years agoMerge "Fix 7.1 audio playback from AudioTrack" into lmp-dev
Andy Hung [Sat, 16 Aug 2014 00:39:19 +0000 (00:39 +0000)]
Merge "Fix 7.1 audio playback from AudioTrack" into lmp-dev

9 years agoFix 7.1 audio playback from AudioTrack
Andy Hung [Mon, 11 Aug 2014 19:18:55 +0000 (12:18 -0700)]
Fix 7.1 audio playback from AudioTrack

Uses AudioFormat.CHANNEL_OUT_7POINT1_SURROUND.

Bug: 16951383
Change-Id: I7e94598d5cae1a741b8b1e0492b202163bf9f9fd

9 years agoMerge "Update strings for guest session dialog" into lmp-dev
Amith Yamasani [Sat, 16 Aug 2014 00:25:13 +0000 (00:25 +0000)]
Merge "Update strings for guest session dialog" into lmp-dev

9 years agoUpdate strings for guest session dialog
Amith Yamasani [Sat, 16 Aug 2014 00:23:45 +0000 (17:23 -0700)]
Update strings for guest session dialog

Bug: 16898180
Change-Id: I29b96a8ef3280d9d582562c245ca12a1d65eb878

9 years agoMerge "Fix glyph positions underflow issue" into lmp-dev
Chris Craik [Sat, 16 Aug 2014 00:19:32 +0000 (00:19 +0000)]
Merge "Fix glyph positions underflow issue" into lmp-dev

9 years agoFix glyph positions underflow issue
Chris Craik [Fri, 15 Aug 2014 22:46:37 +0000 (15:46 -0700)]
Fix glyph positions underflow issue

bug:16450675

Avoid using unsigned ints in math with negative numbers

Change-Id: Icdfb72451f03380dbf78b3703793869b2cd4e751

9 years agoMerge "Copy certain settings to the managed profile" into lmp-dev
Amith Yamasani [Fri, 15 Aug 2014 20:44:41 +0000 (20:44 +0000)]
Merge "Copy certain settings to the managed profile" into lmp-dev

9 years agoCopy certain settings to the managed profile
Amith Yamasani [Fri, 15 Aug 2014 01:49:48 +0000 (18:49 -0700)]
Copy certain settings to the managed profile

All reads of those specific settings will go to the primary user.
Inserts to primary also go to managed profiles in order to notify
any observers.

This enables Location settings to be shared by both profiles.
Also some other settings related to IME and Accessibility since
those services are shared across the profiles.

Bug: 16457210
Change-Id: Ib8fd697b5c78027fcbaf245d82dda5e6d6aab4f0

9 years agoMerge "Apply lockdowns when user restrictions are set." into lmp-dev
Julia Reynolds [Fri, 15 Aug 2014 20:23:58 +0000 (20:23 +0000)]
Merge "Apply lockdowns when user restrictions are set." into lmp-dev

9 years agoApply lockdowns when user restrictions are set.
Julia Reynolds [Mon, 11 Aug 2014 20:40:08 +0000 (16:40 -0400)]
Apply lockdowns when user restrictions are set.

Previously DMAgent would apply these lockdowns before/
after setting the matching user restrictions.

Bug: 16701642
Bug: 16945830
Bug: 16944983
Change-Id: Ib4f7145055687f12408d6ccacd8e6380406a32b2

9 years agoFix errors that could lead to brightness flickering
Adrian Roos [Fri, 15 Aug 2014 18:11:38 +0000 (20:11 +0200)]
Fix errors that could lead to brightness flickering

Ensures that changing the brightness doesn't lead to
another write to settings from SystemUI. Also makes
sure that a BrightnessDialog from a background user
is never showing. While we're in there, fix the obsolete
window flags as well and ensure BrightnessDialog only ever
allocates one BrightnessController.

Bug: 16297345
Change-Id: Id95b598b0fa99680072bc160afb00d2cd49f05ca

9 years agoMerge "Add FeatureGroup to PackageInfo" into lmp-dev
Adam Lesinski [Fri, 15 Aug 2014 23:06:22 +0000 (23:06 +0000)]
Merge "Add FeatureGroup to PackageInfo" into lmp-dev

9 years agoAdd FeatureGroup to PackageInfo
Adam Lesinski [Sat, 9 Aug 2014 00:32:44 +0000 (17:32 -0700)]
Add FeatureGroup to PackageInfo

FeatureGroups replace top-level FeatureInfo objects.
FeatureGroups inherit top-level FeatureInfos but override
them if the feature names are the same.

Bug:16822121

Change-Id: I80b2cb778a0fbcb4521efce986fba641e0914290

9 years agoMerge "PackageInstaller API refactoring." into lmp-dev
Jeff Sharkey [Fri, 15 Aug 2014 23:05:33 +0000 (23:05 +0000)]
Merge "PackageInstaller API refactoring." into lmp-dev

9 years agoPackageInstaller API refactoring.
Jeff Sharkey [Fri, 15 Aug 2014 17:23:11 +0000 (10:23 -0700)]
PackageInstaller API refactoring.

Switch to using IntentSender for results to give installers easier
lifecycle management.  Move param and info objects to inner classes.

Bug: 17008440
Change-Id: I944cfc580325ccc07acf22e0c681a5542d6abc43

9 years agoMerge "Fix problems with wiring of initializing calls (1/2)" into lmp-dev
Ihab Awad [Fri, 15 Aug 2014 22:58:52 +0000 (22:58 +0000)]
Merge "Fix problems with wiring of initializing calls (1/2)" into lmp-dev

9 years agoMerge "Configure MTU based on network MTU parameter" into lmp-dev
Robert Greenwalt [Fri, 15 Aug 2014 22:11:28 +0000 (22:11 +0000)]
Merge "Configure MTU based on network MTU parameter" into lmp-dev

9 years agoMerge "Fix default scorer provisioning." into lmp-dev
Jeff Davidson [Fri, 15 Aug 2014 21:56:24 +0000 (21:56 +0000)]
Merge "Fix default scorer provisioning." into lmp-dev

9 years agoMerge "Prevent ConcurrentModificationExceptions" into lmp-dev
Jay Shrauner [Fri, 15 Aug 2014 21:55:24 +0000 (21:55 +0000)]
Merge "Prevent ConcurrentModificationExceptions" into lmp-dev

9 years agoMerge "Fix assumption about DynamicRefTable in aapt" into lmp-dev
Adam Lesinski [Fri, 15 Aug 2014 21:47:05 +0000 (21:47 +0000)]
Merge "Fix assumption about DynamicRefTable in aapt" into lmp-dev

9 years agoFix assumption about DynamicRefTable in aapt
Adam Lesinski [Fri, 15 Aug 2014 20:59:02 +0000 (13:59 -0700)]
Fix assumption about DynamicRefTable in aapt

Packages without any resources should not expect to have
a DynamicRefTable.

Bug:16895517
Bug:17056720
Change-Id: Id006f6bdbf08f30505f6ba5982bc9d1b09db0f0a

9 years agoPrevent ConcurrentModificationExceptions
Jay Shrauner [Fri, 15 Aug 2014 16:23:07 +0000 (09:23 -0700)]
Prevent ConcurrentModificationExceptions

Use sets backed by ConcurrentHashMaps instead of HashSets, and
CopyOnWriteArrayLists instead of ArrayLists, to prevent concurrent
exceptions if listeners try to remove themselves in callbacks while
iterating over the listeners.

Bug:16325026
Change-Id: I55e081eda6ba19fa466bbf019c648bbdaf833c33

9 years agoMerge "camera2: Add jpeg metadata for LEGACY shim." into lmp-dev
Ruben Brunk [Sat, 16 Aug 2014 00:13:05 +0000 (00:13 +0000)]
Merge "camera2: Add jpeg metadata for LEGACY shim." into lmp-dev

9 years agocamera2: Add jpeg metadata for LEGACY shim.
Ruben Brunk [Thu, 31 Jul 2014 18:43:27 +0000 (11:43 -0700)]
camera2: Add jpeg metadata for LEGACY shim.

Bug: 15116722
Change-Id: I8abef3ca9a47b2f93978a758aa59c3b915a7e000

9 years agocamera2: Fix shim aspect ratio scaling.
Ruben Brunk [Thu, 14 Aug 2014 22:57:28 +0000 (15:57 -0700)]
camera2: Fix shim aspect ratio scaling.

Bug: 16494207
Change-Id: I4bd40dee1caaf8c83a0853d48d44cc97151f9b41

9 years agoMerge "Returning null when preview image is not available for AppWidgetProviderInfo...
Sunny Goyal [Fri, 15 Aug 2014 21:36:27 +0000 (21:36 +0000)]
Merge "Returning null when preview image is not available for AppWidgetProviderInfo" into lmp-dev

9 years agoMerge "Tighten restore-at-install behavior" into lmp-dev
Christopher Tate [Fri, 15 Aug 2014 21:34:10 +0000 (21:34 +0000)]
Merge "Tighten restore-at-install behavior" into lmp-dev

9 years agoMerge "Add fragment animations to setup leanback theme" into lmp-dev
Justin Mattson [Fri, 15 Aug 2014 20:59:21 +0000 (20:59 +0000)]
Merge "Add fragment animations to setup leanback theme" into lmp-dev

9 years agoTighten restore-at-install behavior
Christopher Tate [Fri, 15 Aug 2014 18:12:13 +0000 (11:12 -0700)]
Tighten restore-at-install behavior

Harden the guarantee that if we're asked about a possible restore,
we always ALWAYS report back to the package manager.  This involved
closing "should never happen" edge cases around provisioning/auto-restore
setting that nevertheless were happening.

Also, on the auto-restore setting front, make sure to plumb that
system API through appropriately, since going behind its back and
manipulating the secure setting directly would cause things to get
out of step.

Bug 17060654

Change-Id: I52ca9c1ffbfc0bd6b57196157500d0868bfc2989

10 years agoMerge "Disable verification based on vold.decrypt. [frameworks/base]" into lmp-dev
Brian Carlstrom [Fri, 15 Aug 2014 17:04:19 +0000 (17:04 +0000)]
Merge "Disable verification based on vold.decrypt. [frameworks/base]" into lmp-dev

9 years agoDisable verification based on vold.decrypt. [frameworks/base]
Brian Carlstrom [Fri, 15 Aug 2014 16:31:27 +0000 (09:31 -0700)]
Disable verification based on vold.decrypt. [frameworks/base]

Bug: 15165413
Change-Id: I7aff8e2a2890971fe97769d42121c207dc36aa7c

9 years agoZen: Downtime now a condition provider, persist conditions.
John Spurlock [Wed, 13 Aug 2014 13:19:03 +0000 (09:19 -0400)]
Zen: Downtime now a condition provider, persist conditions.

- Persist the entire exit condition instead of only the id.
- Make downtime a proper condition provider (similar to the
  existing countdown provider for time-based conditions)
- Move all downtime-related items out of ZenModeHelper and
  into the new condition provider.
- Reevaluate downtime more often, when any of its inputs change.
- Make sure downtime appears as an available condition in the
  condition panel when applicable.

Bug:16296125
Bug:16211189
Bug:17031767
Change-Id: I1d8269a4e6fe170ce776bf932dbbdfb29dd25dd7

9 years agoRemove setManagingTrust workaround
Adrian Roos [Thu, 14 Aug 2014 13:56:04 +0000 (15:56 +0200)]
Remove setManagingTrust workaround

Bug: 16622870
Change-Id: Ibdfdd420996081c055d0364f77b65dea6060cb9e

10 years agoMerge "Revert "Revert "Revert "Revert "Revert "Update Trusted Credentials screen...
Zoltan Szatmary-Ban [Fri, 15 Aug 2014 14:08:41 +0000 (14:08 +0000)]
Merge "Revert "Revert "Revert "Revert "Revert "Update Trusted Credentials screen in settings"""""" into lmp-dev

9 years agoRevert "Revert "Revert "Revert "Revert "Update Trusted Credentials screen in settings...
Zoltan Szatmary-Ban [Fri, 15 Aug 2014 14:01:14 +0000 (14:01 +0000)]
Revert "Revert "Revert "Revert "Revert "Update Trusted Credentials screen in settings"""""

This reverts commit c9249c69813c6fb889d71d84583c67ae2942e6de.

Change-Id: I5504fddaf7b18efb73cd6c76678b3b39ce9b0229

9 years agoRevert "Revert "Revert "Revert "Update Trusted Credentials screen in settings""""
Zoltan Szatmary-Ban [Fri, 15 Aug 2014 12:52:35 +0000 (12:52 +0000)]
Revert "Revert "Revert "Revert "Update Trusted Credentials screen in settings""""

This reverts commit 87efe74e092236c372d3b6909009641123aa416a.

This should be fine now with all the dependency CLs +2-ed

Change-Id: I96ad14ad5ff81e6b5391035cb6c5a62339c6cc40

9 years agoRevert "Revert "Revert "Update Trusted Credentials screen in settings"""
Narayan Kamath [Fri, 15 Aug 2014 12:25:52 +0000 (12:25 +0000)]
Revert "Revert "Revert "Update Trusted Credentials screen in settings"""

This reverts commit 19c8ce291e89a9ef1442a20e1feab421b11536d7.

Change-Id: Ie5a5571127311e0a29f314c0566e779cfe940b53

9 years agoRevert "Revert "Update Trusted Credentials screen in settings""
Zoltan Szatmary-Ban [Fri, 15 Aug 2014 11:52:15 +0000 (11:52 +0000)]
Revert "Revert "Update Trusted Credentials screen in settings""

This reverts commit 0f0de0bdd021bad5f85fdb0399a4ea91a1611e25.

Change-Id: Ia3d0907e3d7c2ec42d64e45f60e3dfaffb932c3d

10 years agoFix crash in ResStringPool
Adam Lesinski [Fri, 15 Aug 2014 00:58:37 +0000 (17:58 -0700)]
Fix crash in ResStringPool

When a String isn't found in the StringPool,
we should not try to construct a String8 object
from the NULL string.

Bug:15163956
Change-Id: I51e701918b10a72c18a860b8a36dce2afd9c0b82

10 years agoMerge "Integrate NativeActivity with NativeBridge interfaces" into lmp-dev
Calin Juravle [Fri, 15 Aug 2014 13:13:27 +0000 (13:13 +0000)]
Merge "Integrate NativeActivity with NativeBridge interfaces" into lmp-dev

9 years agoIntegrate NativeActivity with NativeBridge interfaces
Yong WU [Mon, 28 Jul 2014 13:20:18 +0000 (21:20 +0800)]
Integrate NativeActivity with NativeBridge interfaces

Bug: 16884833

(cherry picked from commit I73aab8e212860ba5aee9444d801806d3da326a41)

Change-Id: I67f037ea81d2a4ede4294afd8b84b7640e534a13

10 years agoMerge "Fixed several bugs with the notification shade" into lmp-dev
Selim Cinek [Fri, 15 Aug 2014 13:13:24 +0000 (13:13 +0000)]
Merge "Fixed several bugs with the notification shade" into lmp-dev

9 years agoFixed several bugs with the notification shade
Selim Cinek [Thu, 14 Aug 2014 17:28:15 +0000 (19:28 +0200)]
Fixed several bugs with the notification shade

Cleaned up the code around mMaxPanelHeight of the
PanelView which could lead to flickering during
peeking.
Changed the panel opening logic to account for lag
when we need to wait for a layout, which could lead
to inconsistent animations.
Fixed a bug where holes could appear in the shade
when notifications were updating.
This also improved the general updating behaviour
which is now done in a nicer animation.

Bug: 15942322
Bug: 15861506
Bug: 15168335
Change-Id: Ifd7ce51bea6b5e39c9b76fd0d766a7d2c42bf7a4

10 years agoMerge "Remove system_server classes from the boot image." into lmp-dev
Narayan Kamath [Fri, 15 Aug 2014 13:06:47 +0000 (13:06 +0000)]
Merge "Remove system_server classes from the boot image." into lmp-dev

9 years agoRemove system_server classes from the boot image.
Narayan Kamath [Thu, 7 Aug 2014 09:57:40 +0000 (10:57 +0100)]
Remove system_server classes from the boot image.

We set the system_server classpath in the environment
(like we do with BOOTCLASSPATH). After the zygote forks
the system_server, we dexopt the classpath (if needed)
and then launch the system server with the correct
PathClassLoader. This needed several small / medium
refactorings :

- The logic for connecting to installd is now in a separate
  class and belongs in the system_server.
- SystemService / SystemServiceManager have now moved to
  classes.jar. They are only used from there, and since they
  use Class.forName, we want them to be loaded by the
  system_server classloader, and not the bootclassloader.
- BootReceiver now moves to frameworks.jar, because it is
  used by ActivityThread and friends.

bug: 16555230

Change-Id: Ic84f0b2baf611eeedff6d123cb7191bb0259e600

10 years agoMerge "Revert "Revert "Revert "Revert "Update Trusted Credentials screen in settings...
Zoltan Szatmary-Ban [Fri, 15 Aug 2014 13:00:09 +0000 (13:00 +0000)]
Merge "Revert "Revert "Revert "Revert "Update Trusted Credentials screen in settings""""" into lmp-dev

10 years agoMerge "Revert "Revert "Revert "Update Trusted Credentials screen in settings""""...
Narayan Kamath [Fri, 15 Aug 2014 12:35:07 +0000 (12:35 +0000)]
Merge "Revert "Revert "Revert "Update Trusted Credentials screen in settings"""" into lmp-dev

10 years agoMerge "Validate instruction sets passed to installd." into lmp-dev
Narayan Kamath [Fri, 15 Aug 2014 12:00:28 +0000 (12:00 +0000)]
Merge "Validate instruction sets passed to installd." into lmp-dev

9 years agoValidate instruction sets passed to installd.
Narayan Kamath [Fri, 8 Aug 2014 11:44:12 +0000 (12:44 +0100)]
Validate instruction sets passed to installd.

We don't want folks passing down arbitrary strings.

bug: 16837404
Change-Id: I73ac66b376f1401f9f95f3c6323da6242ac8ed3d

10 years agoMerge "Revert "PowerManager: Adds a call to reduce refresh rate while device is in...
Ruchi Kandoi [Fri, 15 Aug 2014 18:37:19 +0000 (18:37 +0000)]
Merge "Revert "PowerManager: Adds a call to reduce refresh rate while device is in BatterySaverMode"" into lmp-dev

9 years agoRevert "PowerManager: Adds a call to reduce refresh rate while device is in BatterySa...
Ruchi Kandoi [Fri, 15 Aug 2014 18:25:14 +0000 (11:25 -0700)]
Revert "PowerManager: Adds a call to reduce refresh rate while device is in BatterySaverMode"

This reverts commit d54157e2e92f58e997c4bdb50e026e6a0d0121fd.

Bug: 16654179
Change-Id: Id4f22c0a4e23518881ac58ad969c16c4612306a2

10 years agoMerge "Minor doc fixes from API council recommendations." into lmp-dev
Chet Haase [Fri, 15 Aug 2014 18:33:40 +0000 (18:33 +0000)]
Merge "Minor doc fixes from API council recommendations." into lmp-dev

9 years agoMinor doc fixes from API council recommendations.
Chet Haase [Fri, 15 Aug 2014 15:54:44 +0000 (08:54 -0700)]
Minor doc fixes from API council recommendations.

Issue #17008236 API review: android.graphics

Change-Id: I171d376b642707858198d8a1379c732fcfcab4dd

10 years agoMerge "Add metadata and notifications to OneMedia" into lmp-dev
Erik Pasternak [Fri, 15 Aug 2014 18:25:29 +0000 (18:25 +0000)]
Merge "Add metadata and notifications to OneMedia" into lmp-dev

10 years agoMerge "Zen: tweak audience interruption logic." into lmp-dev
John Spurlock [Fri, 15 Aug 2014 18:16:13 +0000 (18:16 +0000)]
Merge "Zen: tweak audience interruption logic." into lmp-dev

9 years agoZen: tweak audience interruption logic.
John Spurlock [Fri, 15 Aug 2014 18:05:47 +0000 (14:05 -0400)]
Zen: tweak audience interruption logic.

Only check audience for calls & messages.

Bug:17061146
Change-Id: I7f0176a7184c725fef393784fe8ccb0eb7f49ff7

10 years agoMerge "Fix crash in legacy apps that register without a looper" into lmp-dev
RoboErik [Fri, 15 Aug 2014 18:10:48 +0000 (18:10 +0000)]
Merge "Fix crash in legacy apps that register without a looper" into lmp-dev

10 years agoMerge "Fix getPackageInfo for the "android" package in the system server." into lmp-dev
Narayan Kamath [Fri, 15 Aug 2014 17:57:27 +0000 (17:57 +0000)]
Merge "Fix getPackageInfo for the "android" package in the system server." into lmp-dev

9 years agoFix getPackageInfo for the "android" package in the system server.
Narayan Kamath [Fri, 15 Aug 2014 17:11:04 +0000 (18:11 +0100)]
Fix getPackageInfo for the "android" package in the system server.

bug: 16555230
Change-Id: I90ebf9b35fda8246b0079f67b1469f96c3b4ede2

10 years agoMerge "Fix issue where unlock handlers are not properly updated" into lmp-dev
Andres Morales [Fri, 15 Aug 2014 17:22:15 +0000 (17:22 +0000)]
Merge "Fix issue where unlock handlers are not properly updated" into lmp-dev

9 years agoFix issue where unlock handlers are not properly updated
Andres Morales [Thu, 14 Aug 2014 22:43:30 +0000 (15:43 -0700)]
Fix issue where unlock handlers are not properly updated

If an unlock handler already exists, we need to try
to update the tech mask for it. Don't permit unlock
handlers with no tech mask.

Bug: 17054331
Change-Id: I54a885d28bdd8ce41d8646d968621c7d6abc9387

10 years agoMerge "Revert "Fix aapt dump for APKs with no resources"" into lmp-dev
Adam Lesinski [Fri, 15 Aug 2014 17:19:51 +0000 (17:19 +0000)]
Merge "Revert "Fix aapt dump for APKs with no resources"" into lmp-dev

9 years agoRevert "Fix aapt dump for APKs with no resources"
Adam Lesinski [Fri, 15 Aug 2014 17:18:21 +0000 (17:18 +0000)]
Revert "Fix aapt dump for APKs with no resources"

This reverts commit 0e475302cd196f45a01a525c49089018b238d4ba.

I'll re-upload this CL with the correct fix in LoadedApk.

Change-Id: I17c6381f8e5907dab9f996f89c5d435b9c08a13a

10 years agoConfigure MTU based on network MTU parameter
w19976 [Tue, 5 Aug 2014 22:18:11 +0000 (15:18 -0700)]
Configure MTU based on network MTU parameter

Add logic to obtain the mtu from the network PCO parameter and set it to kernel
when the mobile data connection is established. When there is no PCO mtu configured
from the network, the mtu size defined in the corresponding APN will be used. In case
no mtu size is defined for an APN used for data connection, the MCC/MNC based MTU
defined  in the framework overaly will be applied.

bug:17046179
Change-Id: I6465d4b8f2076aaa380ae3617fb3f24adbe136d4

10 years agoFix crash in legacy apps that register without a looper
RoboErik [Fri, 15 Aug 2014 01:42:09 +0000 (18:42 -0700)]
Fix crash in legacy apps that register without a looper

Some legacy apps registered their media button receiver in a thread
without a looper. If this happens we need to use the main looper to
prevent a crash.

bug: 16306226
Change-Id: Idf472e649393e2a7ce2a3e1cbb3476003ab17f34

10 years agoAdd spinner style for use in forms
Alan Viverette [Fri, 15 Aug 2014 00:22:43 +0000 (17:22 -0700)]
Add spinner style for use in forms

BUG: 16736289
Change-Id: Ia514e81970fe1331130e3678b9bba4b42dfe4e35

10 years agoFix default scorer provisioning.
Jeff Davidson [Thu, 14 Aug 2014 23:47:23 +0000 (16:47 -0700)]
Fix default scorer provisioning.

Use Settings.Global instead of SharedPreferences (which don't work) to
track whether we've run the one-time provisioning step of activating
the build-time configured default scorer.

Bug: 16980605
Change-Id: I093cdd6f4f1110960078a186191c4e02b5543d6a

10 years agoAdd metadata and notifications to OneMedia
Daniel Sandler [Thu, 5 Jun 2014 06:54:13 +0000 (02:54 -0400)]
Add metadata and notifications to OneMedia

This wires up a notification and some basic metadata for testing
in OneMedia.

Change-Id: I0f2e922536c85caa63f66dae7deb55ffe94fe231

10 years agoAdd fragment animations to setup leanback theme
Justin Mattson [Tue, 22 Jul 2014 20:27:14 +0000 (13:27 -0700)]
Add fragment animations to setup leanback theme

Change-Id: I1f2c2297d73577d215bef686e5a0d56ae146adc9

10 years agoTweak leanback form style
Justin Mattson [Thu, 17 Jul 2014 21:53:38 +0000 (14:53 -0700)]
Tweak leanback form style

Change-Id: I2ecc691b6a0b83590b38cc676674a1d293d18e9e

10 years agoFix problems with wiring of initializing calls (1/2)
Ihab Awad [Thu, 14 Aug 2014 01:17:29 +0000 (18:17 -0700)]
Fix problems with wiring of initializing calls (1/2)

Bug: 16993846
Change-Id: I3ed4dd30559511f51b3650bf99bd704ae73d2165

10 years agoFix emergency call when in launch transition.
Jorim Jaggi [Thu, 14 Aug 2014 21:38:15 +0000 (23:38 +0200)]
Fix emergency call when in launch transition.

Bug: 16831662
Change-Id: I3411decc3053a7e5fc760ffce5e8b3c52a6e0c49

10 years agoFix aapt dump for APKs with no resources
Adam Lesinski [Thu, 14 Aug 2014 20:53:34 +0000 (13:53 -0700)]
Fix aapt dump for APKs with no resources

All APKs are expected to have at least one resource table (even if
it is empty). We were missing the creation of an empty DynamicRefTable.

Bug:16895517
Change-Id: I6a6e887f91b3b4bbcc52b3fd2741ef3d05fab1fd

10 years agoLabel user switcher button for accessibility
Adrian Roos [Tue, 12 Aug 2014 13:10:19 +0000 (15:10 +0200)]
Label user switcher button for accessibility

Bug: 15692931
Change-Id: I4add4c21fd0ed95cc3a49e2841173589f37db08a