OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Adding assets for dock button." into nyc-dev
Winson Chung [Tue, 22 Mar 2016 23:44:36 +0000 (23:44 +0000)]
Merge "Adding assets for dock button." into nyc-dev

8 years agoAdding assets for dock button.
Winson [Tue, 22 Mar 2016 23:03:10 +0000 (16:03 -0700)]
Adding assets for dock button.

- Allow nav bar icons to update depending on specific configuration
  changes

Bug: 26954184
Change-Id: I1e089c751d2a5785457491b2a204c936d7472145

8 years agoMerge "Fixed the default of AlphaOptimizedImageViews overlapping rendering" into...
Selim Cinek [Tue, 22 Mar 2016 23:12:09 +0000 (23:12 +0000)]
Merge "Fixed the default of AlphaOptimizedImageViews overlapping rendering" into nyc-dev

8 years agoFixed the default of AlphaOptimizedImageViews overlapping rendering
Selim Cinek [Tue, 22 Mar 2016 22:32:00 +0000 (15:32 -0700)]
Fixed the default of AlphaOptimizedImageViews overlapping rendering

The default was true before, which lead to quite a few bugs.
Moved done the introduced attrs to support it on AnimatedImageView

Change-Id: I68714c22ceefff6bac7cd9496c83edd69256ee1b
Fixes: 27745673

8 years agoMerge "A few changes to the measurement implementation" into nyc-dev
Lifu Tang [Tue, 22 Mar 2016 23:08:38 +0000 (23:08 +0000)]
Merge "A few changes to the measurement implementation" into nyc-dev

8 years agoMerge "switch offline docs back to standard templates that now have a condition for...
Scott Main [Tue, 22 Mar 2016 23:05:37 +0000 (23:05 +0000)]
Merge "switch offline docs back to standard templates that now have a condition for 'referenceonly' bug: 27667787" into nyc-dev

8 years agoMerge "Change copy/move destination to Downloads when home directory is hidden."...
Aga Wronska [Tue, 22 Mar 2016 23:03:01 +0000 (23:03 +0000)]
Merge "Change copy/move destination to Downloads when home directory is hidden." into nyc-dev

8 years agoA few changes to the measurement implementation
Lifu Tang [Tue, 22 Mar 2016 20:56:52 +0000 (13:56 -0700)]
A few changes to the measurement implementation

- Fixed the device crashing bug in JNI code
- Fixed a typo ('lock' => 'clock')
- Added hardware clock discontinuity count in toString()

(cherry picked from commit 3a21b02ee2dc8f2c6c879109757d89a2be5d720a)

Change-Id: I6dbda85abda20da0240ac08b22b81729eae7b6f0

8 years agoMerge changes Iddeebeb8,Idd1e37a3 into nyc-dev
Paul Stewart [Tue, 22 Mar 2016 22:23:46 +0000 (22:23 +0000)]
Merge changes Iddeebeb8,Idd1e37a3 into nyc-dev

* changes:
  WifiManager: Use ConnectivityThread
  Create ConnectivityThread

8 years agoMerge "Fix callback issue for AVD on UI thread" into nyc-dev
Tenghui Zhu [Tue, 22 Mar 2016 22:10:23 +0000 (22:10 +0000)]
Merge "Fix callback issue for AVD on UI thread" into nyc-dev

8 years agoFix callback issue for AVD on UI thread
Teng-Hui Zhu [Tue, 22 Mar 2016 19:56:37 +0000 (12:56 -0700)]
Fix callback issue for AVD on UI thread

We have created AnimatorSet from XML, but it is assigned to the AVD only when
we start the animation due to theme-ing operations.

Given listeners can be added to AVD at any time, we have to cache them if
AnimatorSet is not setup yet.

b/26979225

Change-Id: I94315892de83f93a0205efe5e70dca0cd0f0a8e3

8 years agoMerge "Close notification panel when user button is tapped" into nyc-dev
Adrian Roos [Tue, 22 Mar 2016 21:37:52 +0000 (21:37 +0000)]
Merge "Close notification panel when user button is tapped" into nyc-dev

8 years agoMerge "Add dismiss animation for Recents TV and Enable Dismiss" into nyc-dev
Sid Soundararajan [Tue, 22 Mar 2016 21:31:47 +0000 (21:31 +0000)]
Merge "Add dismiss animation for Recents TV and Enable Dismiss" into nyc-dev

8 years agoMerge "Revert "Document restricted app private file permissions"" into nyc-dev
Jeff Sharkey [Tue, 22 Mar 2016 21:22:53 +0000 (21:22 +0000)]
Merge "Revert "Document restricted app private file permissions"" into nyc-dev

8 years agoRevert "Document restricted app private file permissions"
Jeff Sharkey [Tue, 22 Mar 2016 21:22:39 +0000 (21:22 +0000)]
Revert "Document restricted app private file permissions"

This reverts commit c83343f7ee333376d23a2bbc619d3b4e6b7a6120.

Change-Id: I08961a1cb858868e104214ce3d0aa3cfcbb054bc

8 years agoswitch offline docs back to standard templates that now have a condition for 'referen...
smain@google.com [Tue, 22 Mar 2016 21:17:55 +0000 (14:17 -0700)]
switch offline docs back to standard templates that now have a condition for 'referenceonly'
bug: 27667787

Change-Id: Iaedba58c72634dac33ef09b9a50322af664ef581

8 years agoChange copy/move destination to Downloads when home directory is hidden.
Aga Wronska [Tue, 22 Mar 2016 21:18:43 +0000 (14:18 -0700)]
Change copy/move destination to Downloads when home directory is hidden.

Bug: 27791217
Change-Id: If196441a57053ada9875c6cc29d4c7f13fcb57e8

8 years agoMerge "Revert "Refine divider behavior"" into nyc-dev
Andrii Kulian [Tue, 22 Mar 2016 21:04:46 +0000 (21:04 +0000)]
Merge "Revert "Refine divider behavior"" into nyc-dev

8 years agoMerge "Tune visuals for inline settings" into nyc-dev
Julia Reynolds [Tue, 22 Mar 2016 20:57:10 +0000 (20:57 +0000)]
Merge "Tune visuals for inline settings" into nyc-dev

8 years agoMerge "Fix Sysui crash on volume change." into nyc-dev
Julia Reynolds [Tue, 22 Mar 2016 20:56:25 +0000 (20:56 +0000)]
Merge "Fix Sysui crash on volume change." into nyc-dev

8 years agoMerge "Disable TextViewActivityMouseTest#testContextMenu" into nyc-dev
Jed Estep [Tue, 22 Mar 2016 20:39:08 +0000 (20:39 +0000)]
Merge "Disable TextViewActivityMouseTest#testContextMenu" into nyc-dev

8 years agoMerge changes Ia9502056,I97dc60c4 into nyc-dev
Selim Cinek [Tue, 22 Mar 2016 20:04:45 +0000 (20:04 +0000)]
Merge changes Ia9502056,I97dc60c4 into nyc-dev

* changes:
  Fixed the group expand motion to better reflect the overflow
  Introduced a number indicating more children in a group

8 years agoFix Sysui crash on volume change.
Julia Reynolds [Tue, 22 Mar 2016 20:03:32 +0000 (13:03 -0700)]
Fix Sysui crash on volume change.

Bug: 27765028
Change-Id: I812dcf19d497cacde9698fc61d1e1f8686460593

8 years agoMerge "DocsUI: Disable debug logging by default." into nyc-dev
Ben Kwa [Tue, 22 Mar 2016 20:01:49 +0000 (20:01 +0000)]
Merge "DocsUI: Disable debug logging by default." into nyc-dev

8 years agoMerge "Unbreak verifying v2 signatures of large APKs." into nyc-dev
Alex Klyubin [Tue, 22 Mar 2016 19:40:31 +0000 (19:40 +0000)]
Merge "Unbreak verifying v2 signatures of large APKs." into nyc-dev

8 years agoDisable TextViewActivityMouseTest#testContextMenu
Jed Estep [Tue, 22 Mar 2016 18:31:05 +0000 (11:31 -0700)]
Disable TextViewActivityMouseTest#testContextMenu

This test is causing failures which are blocking other test results.
Disabled until a fix can be submitted.

Bug: 27765262
Change-Id: I459f1ab1c6d2d3119fc50166e8de0d1259801e2a

8 years agoMerge "WifiManager: Defer Async Channel init" into nyc-dev
Paul Stewart [Tue, 22 Mar 2016 19:35:06 +0000 (19:35 +0000)]
Merge "WifiManager: Defer Async Channel init" into nyc-dev

8 years agoMerge "Ensure that popup width and height are correct on update" into nyc-dev
Alan Viverette [Tue, 22 Mar 2016 19:31:26 +0000 (19:31 +0000)]
Merge "Ensure that popup width and height are correct on update" into nyc-dev

8 years agoMerge "Update TrafficStats SystemApi docs." into nyc-dev
Jeff Sharkey [Tue, 22 Mar 2016 18:39:50 +0000 (18:39 +0000)]
Merge "Update TrafficStats SystemApi docs." into nyc-dev

8 years agoMerge "Throw the right exception flavor." into nyc-dev
Jeff Sharkey [Tue, 22 Mar 2016 18:39:37 +0000 (18:39 +0000)]
Merge "Throw the right exception flavor." into nyc-dev

8 years agoMerge "com.android.cts.appsecurity.AdoptableHostTest may trigger below dead lock...
Jeff Sharkey [Tue, 22 Mar 2016 18:39:22 +0000 (18:39 +0000)]
Merge "com.android.cts.appsecurity.AdoptableHostTest may trigger below dead lock in system_server in the board with external adoptable storage as below stack:" into nyc-dev

8 years agoDocsUI: Disable debug logging by default.
Ben Kwa [Tue, 22 Mar 2016 18:11:46 +0000 (11:11 -0700)]
DocsUI: Disable debug logging by default.

Per the platform team, we shouldn't enable debug logging automatically
in debug builds because it increases log-spam.  Just disable the flag
and enable it manually when needed.

Add some ifs to make sure all our debug logging is properly removed.

BUG=27380154

Change-Id: I8338f226c07affdb65970c7cb14f1e6aae036934

8 years agoMerge "ShortcutManager: Extract helper classes." into nyc-dev
Makoto Onuki [Tue, 22 Mar 2016 18:34:29 +0000 (18:34 +0000)]
Merge "ShortcutManager: Extract helper classes." into nyc-dev

8 years agoMerge "Only isolating children now when not expanded" into nyc-dev
Selim Cinek [Tue, 22 Mar 2016 18:26:50 +0000 (18:26 +0000)]
Merge "Only isolating children now when not expanded" into nyc-dev

8 years agoShortcutManager: Extract helper classes.
Makoto Onuki [Tue, 22 Mar 2016 18:12:18 +0000 (11:12 -0700)]
ShortcutManager: Extract helper classes.

Bug 27548047

Change-Id: I08656291a8dd509fde169f229ca9c503362254f3

8 years agoMerge "Only call Drawable.setVisible(false) for visible outgoing drawables" into...
Adam Powell [Tue, 22 Mar 2016 18:16:33 +0000 (18:16 +0000)]
Merge "Only call Drawable.setVisible(false) for visible outgoing drawables" into nyc-dev

8 years agoOnly call Drawable.setVisible(false) for visible outgoing drawables
Adam Powell [Tue, 22 Mar 2016 17:40:29 +0000 (10:40 -0700)]
Only call Drawable.setVisible(false) for visible outgoing drawables

In framework views where we're handling the new visibility aggregated
call we only update the drawable visibility when we're attached to a
window. For old outgoing drawables being replaced, gate this on
whether the drawable is already marked visible instead.

This catches a case where views being inflated might set drawables in
in a superclass constructor and have them replaced in a later
constructor. Gating the call into a drawable that might invoke its
callback (the view being constructed) avoids potential problems where
overridden methods are called unexpectedly on a view subclass that has
not finished running its constructor.

This is a better check than isAttachedToWindow, as isAttachedToWindow
will return false if the view has been temporarily detached from its
parent by a view-recycling container. In those cases, the view would
not correctly update the outgoing drawable.

Bug 27461617

Change-Id: I733a2dd3e3df0a8d80d5dc542ca7b30064159d5d

8 years agoAdd dismiss animation for Recents TV and Enable Dismiss
Sid Soundararajan [Fri, 18 Mar 2016 20:42:10 +0000 (13:42 -0700)]
Add dismiss animation for Recents TV and Enable Dismiss

Redo rect calculations for new positions.

Refactor some code to make a RecentsTvImpl.

Change-Id: Ifa269fe18ea40ea9a102ec0207a6c7ab796e6f77

8 years agoMerge "Don't change geometry in relayout if preserve geometry is requested" into...
Chong Zhang [Tue, 22 Mar 2016 18:05:31 +0000 (18:05 +0000)]
Merge "Don't change geometry in relayout if preserve geometry is requested" into nyc-dev

8 years agoClose notification panel when user button is tapped
Akira Oshimi [Wed, 25 Feb 2015 04:57:28 +0000 (13:57 +0900)]
Close notification panel when user button is tapped

When multi-user is disabled and user button on the notification panel
is tapped, the contact app is displayed behind the notification panel.
The notification panel should be closed
when the contact app is launched.

Bug: 27790403
Change-Id: I66ebcb66c898dfebe1d09b798f750f696c360da8
(cherry picked from commit 8cb009e45115dbd03c66de6d56ef1510777a4ead)

8 years agoFixed the group expand motion to better reflect the overflow
Selim Cinek [Tue, 22 Mar 2016 02:52:52 +0000 (19:52 -0700)]
Fixed the group expand motion to better reflect the overflow

The overflow now comes in only after the other notifications have
fully transformed.

Bug: 24866646
Change-Id: Ia950205669916a637c44ea7d41bfc06e750ea987

8 years agoIntroduced a number indicating more children in a group
Selim Cinek [Sat, 19 Mar 2016 00:32:31 +0000 (17:32 -0700)]
Introduced a number indicating more children in a group

Bug: 25376106
Change-Id: I97dc60c4fea599c668c9e74e11b7d693fd78589b

8 years agoOnly isolating children now when not expanded
Selim Cinek [Fri, 18 Mar 2016 18:42:25 +0000 (11:42 -0700)]
Only isolating children now when not expanded

If a group is expanded and a child is huned,
it is not isolated anymore as the user can
already see it.

Bug: 24866646
Change-Id: I671aad6556c2c1c7e1cee2b45f54834ef9e2e093

8 years agoMerge "Fixed a bug where children could have fake shadows" into nyc-dev
Selim Cinek [Tue, 22 Mar 2016 17:54:34 +0000 (17:54 +0000)]
Merge "Fixed a bug where children could have fake shadows" into nyc-dev

8 years agoMerge "Cleaned up notification group handling with HUNS" into nyc-dev
Selim Cinek [Tue, 22 Mar 2016 17:54:18 +0000 (17:54 +0000)]
Merge "Cleaned up notification group handling with HUNS" into nyc-dev

8 years agoMerge "Removed the summary line for notification groups" into nyc-dev
Selim Cinek [Tue, 22 Mar 2016 17:54:05 +0000 (17:54 +0000)]
Merge "Removed the summary line for notification groups" into nyc-dev

8 years agoMerge "Hiding the summary of notification groups with a single child now" into nyc-dev
Selim Cinek [Tue, 22 Mar 2016 17:53:40 +0000 (17:53 +0000)]
Merge "Hiding the summary of notification groups with a single child now" into nyc-dev

8 years agoMerge "Documented that UserDictionary is not directly available anymore." into nyc-dev
Felipe Leme [Tue, 22 Mar 2016 17:47:34 +0000 (17:47 +0000)]
Merge "Documented that UserDictionary is not directly available anymore." into nyc-dev

8 years agoMerge "Remove BufferedImage allocation from PorterDuff filter" into mnc-ub-dev
Diego Perez [Tue, 22 Mar 2016 17:40:20 +0000 (17:40 +0000)]
Merge "Remove BufferedImage allocation from PorterDuff filter" into mnc-ub-dev
am: ebf3261

* commit 'ebf3261aa6d80ad4ca1df0fd0509961ff7a1914e':
  Remove BufferedImage allocation from PorterDuff filter

8 years agoMerge "Also dump the last APF program to be installed." into nyc-dev
Paul Jensen [Tue, 22 Mar 2016 17:36:16 +0000 (17:36 +0000)]
Merge "Also dump the last APF program to be installed." into nyc-dev

8 years agoAlso dump the last APF program to be installed.
Lorenzo Colitti [Tue, 22 Mar 2016 15:23:29 +0000 (00:23 +0900)]
Also dump the last APF program to be installed.

Bug: 26238573
Bug: 27768019
Change-Id: I8b036258aca5ac32ef4bba0f0de7d0b9e7d40886

8 years agoMerge "Remove BufferedImage allocation from PorterDuff filter" into mnc-ub-dev
Diego Perez [Tue, 22 Mar 2016 17:33:04 +0000 (17:33 +0000)]
Merge "Remove BufferedImage allocation from PorterDuff filter" into mnc-ub-dev

8 years agoMerge "DocsUI: Switch the launcher icon to Downloads." into nyc-dev
Ben Kwa [Tue, 22 Mar 2016 17:30:51 +0000 (17:30 +0000)]
Merge "DocsUI: Switch the launcher icon to Downloads." into nyc-dev

8 years agoDon't change geometry in relayout if preserve geometry is requested
Chong Zhang [Mon, 21 Mar 2016 23:13:10 +0000 (16:13 -0700)]
Don't change geometry in relayout if preserve geometry is requested

This causes scaling to be applied in the relayout window since the
requested size won't match the window size. Apply the requested size
in repositionChild instead.

bug: 27676101
Change-Id: I03beee2b9fe118a6be329b5fd1338d54e48d9a22

8 years agoDocsUI: Switch the launcher icon to Downloads.
Ben Kwa [Tue, 22 Mar 2016 16:28:21 +0000 (09:28 -0700)]
DocsUI: Switch the launcher icon to Downloads.

Switch to using the "Downloads" icon for this app in the launcher.

BUG=25954736

Change-Id: I44092505b02bccdbe8d49463dbb327f836dd6155

8 years agoMerge "Changed logic when dumpstate's max progress increases." into nyc-dev
Felipe Leme [Tue, 22 Mar 2016 17:21:19 +0000 (17:21 +0000)]
Merge "Changed logic when dumpstate's max progress increases." into nyc-dev

8 years agoMerge "Document restricted app private file permissions" into nyc-dev
Janis Danisevskis [Tue, 22 Mar 2016 17:17:04 +0000 (17:17 +0000)]
Merge "Document restricted app private file permissions" into nyc-dev

8 years agoChanged logic when dumpstate's max progress increases.
Felipe Leme [Tue, 22 Mar 2016 00:34:21 +0000 (17:34 -0700)]
Changed logic when dumpstate's max progress increases.

When dumpstate starts, it estimates its maximum duration and sends it
through an extra on BUGREPORT_STARTED; as it progress, it sets a system
property with its current progress and if the progress value overflows
the estimated max, it increases the max as well.

Shell uses the max/progress to display the progress % in the
system notification, and need to handle the scenario where the max
changes. The initial implementation would recalculate the progress, with
makes it swing back and forth as dumpstate increases the max.

This CL changes the Shell logic so the progress never go back, just
forward. The drawback of this approach is that if dumpstate
underestimate the maximum, the progress might get stuck in a high
value (99%) early on, but such issue will be addressed in the long
term by tuning the estimated max value.

BUG: 26354314
Change-Id: I3a5416acaffaaa43fd28d2f1f8ec8ea12aa0d91e

8 years agoMerge "Add config flag to show/hide internal storage. Hide internal storage by defaul...
Aga Wronska [Tue, 22 Mar 2016 17:04:27 +0000 (17:04 +0000)]
Merge "Add config flag to show/hide internal storage. Hide internal storage by default." into nyc-dev

8 years agoDocument restricted app private file permissions
Janis Danisevskis [Tue, 15 Mar 2016 12:14:53 +0000 (12:14 +0000)]
Document restricted app private file permissions

Make the docs reflect changes in private file access permissions.

Starting with API level 24 app private files are exclusively accessible
to the owning app. Files can no longer be shared by name because apps
cannot relax the files system permissions.

Bug: 27636012
Change-Id: Ibcb5032986c819829fa13ba07a74f20f2997e995

8 years agoMerge "Hide general utility methods in ICU4J." into nyc-dev
Joachim Sauer [Tue, 22 Mar 2016 16:34:59 +0000 (16:34 +0000)]
Merge "Hide general utility methods in ICU4J." into nyc-dev

8 years agoMerge "Make status bar translucent. Make drawer appera below status bar." into nyc-dev
Aga Wronska [Tue, 22 Mar 2016 16:27:47 +0000 (16:27 +0000)]
Merge "Make status bar translucent. Make drawer appera below status bar." into nyc-dev

8 years agoUpdate TrafficStats SystemApi docs.
Jeff Sharkey [Tue, 22 Mar 2016 16:20:12 +0000 (10:20 -0600)]
Update TrafficStats SystemApi docs.

Bug: 25726690
Change-Id: I221d62eaaf1e0fca8c26e4f19cb25d306710a849

8 years agoMerge "Move hint strings to SettingsLib" into nyc-dev
Tony Mantler [Tue, 22 Mar 2016 16:16:14 +0000 (16:16 +0000)]
Merge "Move hint strings to SettingsLib" into nyc-dev

8 years agoMerge "Revert "Sanitize app op service inputs"" into nyc-dev
Ian Pedowitz [Tue, 22 Mar 2016 16:14:53 +0000 (16:14 +0000)]
Merge "Revert "Sanitize app op service inputs"" into nyc-dev

8 years agoRevert "Sanitize app op service inputs"
Ian Pedowitz [Tue, 22 Mar 2016 16:13:48 +0000 (16:13 +0000)]
Revert "Sanitize app op service inputs"

This reverts commit fcf01503c5f04841bc0b2c51a2f30cffaf60a2f6.

Bug: 26587386
Bug: 27759382
Change-Id: Iedfe3657b51c3965bcbddb6b2dc6dfbc1d7b9c37

8 years agoHide general utility methods in ICU4J.
Joachim Sauer [Tue, 22 Mar 2016 13:32:35 +0000 (13:32 +0000)]
Hide general utility methods in ICU4J.

Bug: 22023363
Change-Id: I1d1624b4846fba7855fa7273fa34646c85369b56

8 years agoThrow the right exception flavor.
Jeff Sharkey [Tue, 22 Mar 2016 16:05:47 +0000 (10:05 -0600)]
Throw the right exception flavor.

Change-Id: Ie017fce925ed0122d3820c3f3d91e1b86982a7b1

8 years agoMerge "ICU4J: Removed a couple of useless or internal methods from API" into nyc-dev
Paul Duffin [Tue, 22 Mar 2016 15:58:19 +0000 (15:58 +0000)]
Merge "ICU4J: Removed a couple of useless or internal methods from API" into nyc-dev

8 years agocom.android.cts.appsecurity.AdoptableHostTest may trigger below dead
guoyin.chen [Tue, 22 Mar 2016 05:12:45 +0000 (13:12 +0800)]
com.android.cts.appsecurity.AdoptableHostTest may trigger below dead
lock in system_server in the board with external adoptable storage
as below stack:

"Binder_4" prio=5 tid=60 Blocked
    at com.android.server.pm.UserManagerService.exists(UserManagerSer
        vice.java:411)
    - waiting to lock <0x06858aff> (a android.util.ArrayMap) held by
        thread 19
    at com.android.server.pm.PackageManagerService.checkUidPermissio
        n(PackageManagerService.java:3193)
    at android.app.ActivityManager.checkComponentPermission(ActivityM
        anager.java:2647)
    at com.android.server.pm.UserManagerService.checkManageUsersPermi
        ssion(UserManagerService.java:678)
    at com.android.server.pm.UserManagerService.getUsers(UserManagerS
        ervice.java:272)
    at android.os.UserManager.getUsers(UserManager.java:966)
    at com.android.server.MountService.resetIfReadyAndConnectedLocked
        (MountService.java:800)
    at com.android.server.MountService.forgetAllVolumes(MountService.
        java:1806)
    - locked <0x077010cc> (a java.lang.Object)
    at android.os.storage.IMountService$Stub.onTransact(IMountService
        .java:1859)
    at android.os.Binder.execTransact(Binder.java:453)

"PackageManager" prio=5 tid=19 Blocked
    at com.android.server.MountService.getVolumeList(MountService.jav
        a:2708)
    - waiting to lock <0x077010cc> (a java.lang.Object) held by threa
        d 60
    at android.os.storage.StorageManager.getVolumeList(StorageManager
        .java:883)
    at android.os.Environment$UserEnvironment.getExternalDirs(Environ
        ment.java:83)
    at android.os.Environment.isExternalStorageEmulated(Environment.j
        ava:719)
    at com.android.server.pm.PackageManagerService.isExternalMediaAva
        ilable(PackagkageManagerService.java:9453)
    at com.android.server.pm.PackageManagerService.startCleaningPacka
        ges(PackageManagerService.java:9493)
    - locked <0x06858aff> (a android.util.ArrayMap)
    at com.android.server.pm.PackageManagerService$PackageHandler.doH
        andleMessage(PackageManagerService.java:1331)
    at com.android.server.pm.PackageManagerService$PackageHandler.han
        dleMessage(PackageManagerService.java:1133)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:148)
    at android.os.HandlerThread.run(HandlerThread.java:61)
    at com.android.server.ServiceThread.run(ServiceThread.java:46)

Signed-off-by: guoyin.chen <guoyin.chen@freescale.com>
8 years agoMerge "Correctly init code cache path for RS" into nyc-dev
Yang Ni [Tue, 22 Mar 2016 15:57:12 +0000 (15:57 +0000)]
Merge "Correctly init code cache path for RS" into nyc-dev

8 years agoICU4J: Removed a couple of useless or internal methods from API
Paul Duffin [Sat, 19 Mar 2016 16:32:45 +0000 (16:32 +0000)]
ICU4J: Removed a couple of useless or internal methods from API

Bug: 22023363
Change-Id: Iaa0b4335ad50bbad2ad87ab5b70834a602f50422

8 years agoMerge "ICU4J: Update API for using civil version of IslamicCalendar" into nyc-dev
Paul Duffin [Tue, 22 Mar 2016 15:53:48 +0000 (15:53 +0000)]
Merge "ICU4J: Update API for using civil version of IslamicCalendar" into nyc-dev

8 years agoRevert getUserInfo change and add isManagedPorfile(int userId)
Tony Mak [Mon, 21 Mar 2016 21:10:59 +0000 (21:10 +0000)]
Revert getUserInfo change and add isManagedPorfile(int userId)

Bug: 26469166
Change-Id: I60b70170ddc80432fc8f638b1f63c4e9f5212785

8 years agoEnsure that popup width and height are correct on update
Alan Viverette [Tue, 22 Mar 2016 15:23:05 +0000 (11:23 -0400)]
Ensure that popup width and height are correct on update

Bug: 26696843
Change-Id: I8b0409aeca02b4ad551689bdf003d95f5435e567

8 years agoMerge "Make DISK_SCANNED a protected broadcast." into nyc-dev
Jeff Sharkey [Tue, 22 Mar 2016 15:13:25 +0000 (15:13 +0000)]
Merge "Make DISK_SCANNED a protected broadcast." into nyc-dev

8 years agoMerge "Only enable asserts on userdebug/eng builds." into nyc-dev
Jeff Sharkey [Tue, 22 Mar 2016 15:13:12 +0000 (15:13 +0000)]
Merge "Only enable asserts on userdebug/eng builds." into nyc-dev

8 years agoMerge "Store trace files in app-specific dirs." into nyc-dev
Jeff Sharkey [Tue, 22 Mar 2016 15:12:43 +0000 (15:12 +0000)]
Merge "Store trace files in app-specific dirs." into nyc-dev

8 years agoICU4J: Update API for using civil version of IslamicCalendar
Paul Duffin [Tue, 22 Mar 2016 13:46:38 +0000 (13:46 +0000)]
ICU4J: Update API for using civil version of IslamicCalendar

Bug: 22023363
Change-Id: I1a3d25be65f9f69767cc32df1b768700e30463cf

8 years agoMerge "Delete dead code." into nyc-dev
Lorenzo Colitti [Tue, 22 Mar 2016 11:40:27 +0000 (11:40 +0000)]
Merge "Delete dead code." into nyc-dev

8 years agoMerge "Clean up some javadoc issues" into nyc-dev
Benjamin Franz [Tue, 22 Mar 2016 11:30:46 +0000 (11:30 +0000)]
Merge "Clean up some javadoc issues" into nyc-dev

8 years agoClean up some javadoc issues
Benjamin Franz [Mon, 21 Mar 2016 15:45:56 +0000 (15:45 +0000)]
Clean up some javadoc issues

Bug: 27672974
Bug: 25881314
Change-Id: Ida53e3bf23b2492c26f4a82878fa192110a8794f

8 years agoMerge "Revert "Open drawer when showing copy/move destination screen"" into nyc-dev
Daichi Hirono [Tue, 22 Mar 2016 10:46:43 +0000 (10:46 +0000)]
Merge "Revert "Open drawer when showing copy/move destination screen"" into nyc-dev

8 years agoRevert "Open drawer when showing copy/move destination screen"
Daichi Hirono [Tue, 22 Mar 2016 10:40:56 +0000 (19:40 +0900)]
Revert "Open drawer when showing copy/move destination screen"

This reverts commit 4d5f9f6a7f3b9aa8f7fd1a733ba739e5bfe3ed66.
The CL breaks android.appsecurity.cts.DocumentsTest.

BUG: 2774611627479369
Change-Id: Ib9426c54e8c9841f3def55a88e07bf4a2cd7dcac

8 years agoMerge "Notify via TalkBack about selected items." into nyc-dev
Tomasz Mikolajewski [Tue, 22 Mar 2016 09:40:50 +0000 (09:40 +0000)]
Merge "Notify via TalkBack about selected items." into nyc-dev

8 years agoMerge "Fix null pointer exception when MTP/PTP device is detached." into nyc-dev
Daichi Hirono [Tue, 22 Mar 2016 08:55:58 +0000 (08:55 +0000)]
Merge "Fix null pointer exception when MTP/PTP device is detached." into nyc-dev

8 years agoNotify via TalkBack about selected items.
Tomasz Mikolajewski [Tue, 22 Mar 2016 07:43:59 +0000 (16:43 +0900)]
Notify via TalkBack about selected items.

Bug: 27723098
Change-Id: I6927b004b3e5a592325646ae3a4663bb298a65c8

8 years agoMerge "Support registering a request for the default network" into nyc-dev
Erik Kline [Tue, 22 Mar 2016 07:28:06 +0000 (07:28 +0000)]
Merge "Support registering a request for the default network" into nyc-dev

8 years agoDelete dead code.
Lorenzo Colitti [Tue, 22 Mar 2016 07:27:41 +0000 (16:27 +0900)]
Delete dead code.

Change-Id: If8052efaa00f15e5c7eb038435be33206d54276a

8 years agoMerge "PIP: Increase the PIP menu's char limits for translation" into nyc-dev
Jaewan Kim [Tue, 22 Mar 2016 07:19:35 +0000 (07:19 +0000)]
Merge "PIP: Increase the PIP menu's char limits for translation" into nyc-dev

8 years agoSupport registering a request for the default network
Erik Kline [Wed, 16 Mar 2016 06:31:39 +0000 (15:31 +0900)]
Support registering a request for the default network

Change-Id: I079f5be97b585cf5692dd4c7a144b993d168a9a5

8 years agoMerge "ExifInterface: fix logs" into nyc-dev
Jaesung Chung [Tue, 22 Mar 2016 05:39:25 +0000 (05:39 +0000)]
Merge "ExifInterface: fix logs" into nyc-dev

8 years agoMerge "ExifInterface: fix writing STRING and SRATIONAL formats" into nyc-dev
Jaesung Chung [Tue, 22 Mar 2016 05:38:26 +0000 (05:38 +0000)]
Merge "ExifInterface: fix writing STRING and SRATIONAL formats" into nyc-dev

8 years agoMerge "Remove framework code that calls SIOCKILLADDR" into nyc-dev
Lorenzo Colitti [Tue, 22 Mar 2016 05:37:07 +0000 (05:37 +0000)]
Merge "Remove framework code that calls SIOCKILLADDR" into nyc-dev

8 years agoExifInterface: fix logs
Jaesung Chung [Sun, 20 Mar 2016 08:21:18 +0000 (01:21 -0700)]
ExifInterface: fix logs

- Give more explanations on dealing with files failed to process.
- Log and return immediately when handling lost JPEG files.
- Minor fixes in logging.

Bug: 27583378, Bug: 27587980
Change-Id: Id9a3d137e5f173fa0e6313402e5dc482a5efd57c

8 years agoMerge "Don't map root documents in DocumentLoader." into nyc-dev
Daichi Hirono [Tue, 22 Mar 2016 04:47:55 +0000 (04:47 +0000)]
Merge "Don't map root documents in DocumentLoader." into nyc-dev

8 years agoDon't map root documents in DocumentLoader.
Daichi Hirono [Fri, 18 Mar 2016 08:34:29 +0000 (17:34 +0900)]
Don't map root documents in DocumentLoader.

Root documents must be added by RootScanner.
Previously DocumentLoader unintentionally tries to load unmapped root
documents, which causes crash.

BUG=27731902

Change-Id: I8674473d80d6e7f758f6636d30148f5d2118bc25

8 years agoMerge "Add root flag correctly." into nyc-dev
Daichi Hirono [Tue, 22 Mar 2016 04:43:10 +0000 (04:43 +0000)]
Merge "Add root flag correctly." into nyc-dev

8 years agoAdd root flag correctly.
Daichi Hirono [Fri, 18 Mar 2016 06:25:00 +0000 (15:25 +0900)]
Add root flag correctly.

BUG=27369570

Change-Id: I93b9b662667009a374d879c7ab667b10fb7cbf7c

8 years agoMerge "Count error document to complete adding documents to the database." into nyc-dev
Daichi Hirono [Tue, 22 Mar 2016 04:42:03 +0000 (04:42 +0000)]
Merge "Count error document to complete adding documents to the database." into nyc-dev