OSDN Git Service
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
Tyler Gunn [Fri, 15 Aug 2014 23:22:13 +0000 (23:22 +0000)]
Merge "Add BIND_CONNECTION_SERVICE permission." into lmp-dev
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
Adam Lesinski [Fri, 15 Aug 2014 23:06:22 +0000 (23:06 +0000)]
Merge "Add FeatureGroup to PackageInfo" into lmp-dev
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
Jeff Sharkey [Fri, 15 Aug 2014 23:05:33 +0000 (23:05 +0000)]
Merge "PackageInstaller API refactoring." into lmp-dev
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
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
Robert Greenwalt [Fri, 15 Aug 2014 22:11:28 +0000 (22:11 +0000)]
Merge "Configure MTU based on network MTU parameter" into lmp-dev
Jeff Davidson [Fri, 15 Aug 2014 21:56:24 +0000 (21:56 +0000)]
Merge "Fix default scorer provisioning." into lmp-dev
Jay Shrauner [Fri, 15 Aug 2014 21:55:24 +0000 (21:55 +0000)]
Merge "Prevent ConcurrentModificationExceptions" 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
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
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
Julia Reynolds [Fri, 15 Aug 2014 20:23:58 +0000 (20:23 +0000)]
Merge "Apply lockdowns when user restrictions are set." into lmp-dev
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
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
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
Christopher Tate [Fri, 15 Aug 2014 21:34:10 +0000 (21:34 +0000)]
Merge "Tighten restore-at-install behavior" into lmp-dev
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
Justin Mattson [Fri, 15 Aug 2014 20:59:21 +0000 (20:59 +0000)]
Merge "Add fragment animations to setup leanback theme" 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
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
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
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
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
Chet Haase [Fri, 15 Aug 2014 18:33:40 +0000 (18:33 +0000)]
Merge "Minor doc fixes from API council recommendations." into lmp-dev
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
Erik Pasternak [Fri, 15 Aug 2014 18:25:29 +0000 (18:25 +0000)]
Merge "Add metadata and notifications to OneMedia" 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
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
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
Adrian Roos [Thu, 14 Aug 2014 13:56:04 +0000 (15:56 +0200)]
Remove setManagingTrust workaround
Bug:
16622870
Change-Id: Ibdfdd420996081c055d0364f77b65dea6060cb9e
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
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
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
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
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
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
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
Calin Juravle [Fri, 15 Aug 2014 13:13:27 +0000 (13:13 +0000)]
Merge "Integrate NativeActivity with NativeBridge interfaces" into lmp-dev
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
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
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
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
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
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
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
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
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
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
Selim Cinek [Fri, 15 Aug 2014 13:13:24 +0000 (13:13 +0000)]
Merge "Fixed several bugs with the notification shade" into lmp-dev
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
Narayan Kamath [Fri, 15 Aug 2014 12:00:28 +0000 (12:00 +0000)]
Merge "Validate instruction sets passed to installd." into lmp-dev
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
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
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
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
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
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
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
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
Justin Mattson [Tue, 22 Jul 2014 20:27:14 +0000 (13:27 -0700)]
Add fragment animations to setup leanback theme
Change-Id: I1f2c2297d73577d215bef686e5a0d56ae146adc9
Justin Mattson [Thu, 17 Jul 2014 21:53:38 +0000 (14:53 -0700)]
Tweak leanback form style
Change-Id: I2ecc691b6a0b83590b38cc676674a1d293d18e9e
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
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
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
Adrian Roos [Tue, 12 Aug 2014 13:10:19 +0000 (15:10 +0200)]
Label user switcher button for accessibility
Bug:
15692931
Change-Id: I4add4c21fd0ed95cc3a49e2841173589f37db08a
Jeff Sharkey [Fri, 15 Aug 2014 04:26:51 +0000 (04:26 +0000)]
Merge "Some networks may have null ifaces, I guess?" into lmp-dev
Jeff Sharkey [Thu, 14 Aug 2014 19:55:00 +0000 (12:55 -0700)]
Some networks may have null ifaces, I guess?
Seems like a bug further upstream, but guard ourselves against it
for now.
Bug:
17033841
Change-Id: Id0e5895c3389b63d4e34b1fb064efef8b72cd609
Chet Haase [Thu, 14 Aug 2014 22:34:42 +0000 (22:34 +0000)]
Merge "ActionBarOverlay needs to be focusable" into lmp-dev
Craig Mautner [Fri, 15 Aug 2014 02:16:31 +0000 (02:16 +0000)]
Merge "Fix race condition between binder deaths" into lmp-dev
Sailesh Nepal [Fri, 15 Aug 2014 00:43:13 +0000 (17:43 -0700)]
Use thread safe set for RemoteConnection.mListeners
Switch from HashSet to set backed by a ConcurrentHashMap to prevent
ConcurrentModificationExceptions.
(Relanding ag/521178. This got reveretd in ag/520450).
Bug:
16901565
Change-Id: I997898ed94f305d9b8c57eead04e0dfe6c04a884
Sailesh Nepal [Fri, 15 Aug 2014 00:39:34 +0000 (17:39 -0700)]
Include more state in ParcelableConnection
This fixes a bug where setting status hints wouldn't
work.
Bug:
17044602
Change-Id: Ife85b2d53ead38f54dac350adc09b8c9d052fda4
Craig Mautner [Thu, 14 Aug 2014 23:08:26 +0000 (16:08 -0700)]
Fix race condition between binder deaths
If a Binder dies there is a race between activity manager and window
manager to see who can handle the binderDied call first. If the
activity manager wins the race it will remove the activity and task
but leave the windows around. Until the WindowState.binderDied call
is made and all animation is complete the windows will try to access
the task that they were associated with.
This fix removes the windows of an activity when the activity is
removed. It also defers removal of the activity and task until
exiting windows have completed their animation.
Fixes bug
17031518.
Change-Id: Idf52f55c5feb0cad4e3664ef2eae5b7e95bbf490
Justin Mattson [Fri, 15 Aug 2014 01:25:56 +0000 (01:25 +0000)]
Merge "Tweak leanback form style" into lmp-dev
Adam Lesinski [Fri, 15 Aug 2014 01:15:51 +0000 (01:15 +0000)]
Merge "Fix aapt dump for APKs with no resources" into lmp-dev
ztenghui [Wed, 13 Aug 2014 17:44:39 +0000 (10:44 -0700)]
Bring back the shadow strength tweak
bug:
16712006
Change-Id: Ifc0ecca139d58140b45d7d227536a53069e1d480
Craig Mautner [Wed, 13 Aug 2014 17:49:26 +0000 (10:49 -0700)]
Clean up app following death when creating service
If an app has died, run through the cleanup before relaunching its
service.
Also a little simplifying refactor.
Fixes bug
16979752.
Change-Id: I376cbef2ea00fc626588386317f092cc6dea0bdc
Lorenzo Colitti [Tue, 12 Aug 2014 03:37:50 +0000 (12:37 +0900)]
Switch RouteInfo to use IpPrefix instead of LinkAddress.
This addresses a TODO and also makes it possible to create
routes to destinations that are not valid LinkAddresses, such as
multicast addresses.
Bug:
16875580
Change-Id: Id4c77b00dc3064bf27d78cdcbbe035e645748cfe
Narayan Kamath [Mon, 11 Aug 2014 12:33:45 +0000 (13:33 +0100)]
Persist the cpuAbiOverride setting.
If an app is installed with an ABI override (adb install -r --abi)
we should remember this so that we don't revert to the scan derived
ABI on the next reboot.
bug:
16476618
Change-Id: I6085bc0099eb613dd9d3b07113c7c13859780697
Jae Seo [Thu, 14 Aug 2014 17:29:26 +0000 (17:29 +0000)]
Merge "TIF: Rename R.attr.contentRatingSystemXml and fix documentation" into lmp-dev
Jae Seo [Thu, 14 Aug 2014 00:49:55 +0000 (17:49 -0700)]
TIF: Rename R.attr.contentRatingSystemXml and fix documentation
- Rename contentRatingSystemXml to tvContentRatingDescription.
- Change docs to indicate this is a reference to an XML document that
describes TV content rating, not a component name.
- Replace the DTD with an XML example.
Bug:
16960702
Change-Id: Iea985e9847ee5af0f745e896c498792234308b12
RoboErik [Thu, 14 Aug 2014 17:10:36 +0000 (17:10 +0000)]
Merge "Post MediaSessionManager callbacks to the caller's thread" into lmp-dev
RoboErik [Thu, 14 Aug 2014 17:03:19 +0000 (17:03 +0000)]
Merge "Add an onSessionDestroyed callback to MediaController.Callback" into lmp-dev
RoboErik [Thu, 14 Aug 2014 17:02:01 +0000 (17:02 +0000)]
Merge "Fix dates on copywrite in new test code" into lmp-dev
Jose Lima [Thu, 14 Aug 2014 16:14:12 +0000 (09:14 -0700)]
Make TranslucentConversionListener a SystemApi
Change-Id: I59a93e1e040fdbaa9ef108b31e08e4553ba82ae1
RoboErik [Wed, 13 Aug 2014 22:00:21 +0000 (15:00 -0700)]
Add an onSessionDestroyed callback to MediaController.Callback
Callbacks on the controller need to know when the session ceases
to exist.
bug:
17009030
Change-Id: I0f1c1cfc51f7dd2203955287cc269667d3765ee4
RoboErik [Wed, 13 Aug 2014 20:54:49 +0000 (13:54 -0700)]
Fix dates on copywrite in new test code
Some of the copywrites in the new browser test code still had 2010
as the year instead of 2014.
Change-Id: I33d19b1ad7f4bbbc8f93d9fb6acc8a92db401807
RoboErik [Thu, 14 Aug 2014 18:05:19 +0000 (18:05 +0000)]
Merge "Pipe caller's identity through volume methods" into lmp-dev
Fabrice Di Meglio [Wed, 13 Aug 2014 17:41:40 +0000 (10:41 -0700)]
Fix bug #
16957601 Stability: ISE in Settings: Observer com.android.settings.
SettingsPreferenceFragment$1@
273c8fdb was not registered
- add onUnbindPreferences() call to match onBindPreferences()
- this new method is @hide so it does not impact the APIs
Change-Id: Iee0ab8a4ecc2046f89fb96cc52af150e835f658c
RoboErik [Tue, 12 Aug 2014 22:48:49 +0000 (15:48 -0700)]
Pipe caller's identity through volume methods
setStreamVolume and adjustStreamVolume were always being called
from the session service's uid/package. This adds the plumbing to
allow the original app's info to be passed in to the audio service
when volume is changed.
Change-Id: Ib36639dab1e518b435161dc453c8ba9351df3e9b
Torne (Richard Coles) [Thu, 14 Aug 2014 16:10:10 +0000 (16:10 +0000)]
Merge "Store the WebView's package info." into lmp-dev
Jeff Sharkey [Wed, 13 Aug 2014 21:16:50 +0000 (14:16 -0700)]
Fix javadoc on PROTECTION_FLAG_APPOP.
Change-Id: I36e339ac2c6e6842441fd2572b0b8cda24bd34ca
Torne (Richard Coles) [Thu, 14 Aug 2014 15:43:18 +0000 (16:43 +0100)]
Store the WebView's package info.
When loading the WebView, save the PackageInfo for the package so that
it can be retrieved later to access the package name, version data, etc.
This will be used to detect WebView downgrades that may affect an app's
saved WebView-related data.
Bug:
16724751
Change-Id: I05ce469308cc87f79c73206327f43b76b1bab222
Sungsoo Lim [Wed, 13 Aug 2014 11:13:34 +0000 (11:13 +0000)]
Merge "Fix hashCode of TvContentRating" into lmp-dev
Narayan Kamath [Mon, 11 Aug 2014 10:45:24 +0000 (11:45 +0100)]
Fix a couple of PM warnings.
- "Could not delete native binary" : This one is a bit of
a WTF. git history tells us this code has been around for
a very long time (the warning's new though). It's a no-op
because codePath always contains the *current* codePath and
trying to remove native libs from the current codePath will
do nothing for bundled apps. This code sounds like it wants
to delete dangling native binaries for system apps that were
upgraded during an OTA. This sounds like a wrong place to do
that, though.
- "Unrecognized code path" : This one's harmless and removed
by moving this call closer to where it's used.
bug:
16823001
Change-Id: I9b40ae507b2c80ff3fdd45d5699df62bfc86514f
Sungsoo Lim [Wed, 13 Aug 2014 08:30:04 +0000 (17:30 +0900)]
Fix hashCode of TvContentRating
Bug:
16963556
Change-Id: I0d419e4a47cd4b0a364d3b05063dcdbfc8a168ae
Alexandra Gherghina [Wed, 13 Aug 2014 09:55:41 +0000 (09:55 +0000)]
Merge "Bugfix: adds extra null check" into lmp-dev
Yohei Yukawa [Wed, 13 Aug 2014 07:49:35 +0000 (16:49 +0900)]
Suppress warnings of redundant calls of #updateCursorAnchorInfo
Warnings of redundant calls of #updateCursorAnchorInfo should be
suppressed at least until such redundant calls from
android.widget.Editor are addressed.
BUG:
16996008
Change-Id: I62b6acdab06178520473bd53e56e2cfb62fb17be