OSDN Git Service

android-x86/frameworks-base.git
8 years agoRevert "Make status bar translucent. Make drawer appera below status bar."
Daichi Hirono [Wed, 23 Mar 2016 08:19:30 +0000 (17:19 +0900)]
Revert "Make status bar translucent. Make drawer appera below status bar."

This reverts commit 4639136c3b4bc22064323a193f06d6585e1a171a.
The commit breaks the following CTS tests.

 * android.appsecurity.cts.DocumentsTest#testCreateExisting FAIL
 * android.appsecurity.cts.DocumentsTest#testCreateNew FAIL

BUG=27805363,27570567

Change-Id: Ic9f1d98714a78afe548eb5ae9afa118ddc83cccc

8 years agoMerge "Remove redundant IMM#mServedInputConnection." into nyc-dev
Yohei Yukawa [Wed, 23 Mar 2016 05:41:07 +0000 (05:41 +0000)]
Merge "Remove redundant IMM#mServedInputConnection." into nyc-dev

8 years agoRemove redundant IMM#mServedInputConnection.
Yohei Yukawa [Wed, 23 Mar 2016 03:49:26 +0000 (20:49 -0700)]
Remove redundant IMM#mServedInputConnection.

Following two fields have basically the same lifetime.
 - InputMethodManager#mServedInputConnection
 - InputMethodManager#mServedInputConnectionWrapper
Hence we do not need to maintain both of them.

This is a preparation CL for Bug 25332806 and does not change any
user-visible behavior.

Bug: 25332806
Change-Id: I1181e067aa5bedbdf0c7ec1bcec479257aea511c

8 years agoMerge "Fix ACCESSIBILITY_ENABLED settings." into nyc-dev
Phil Weaver [Wed, 23 Mar 2016 02:36:33 +0000 (02:36 +0000)]
Merge "Fix ACCESSIBILITY_ENABLED settings." into nyc-dev

8 years agoMerge "ExifInterface: close the resource after reading EXIF data explicitly" into...
Jaesung Chung [Wed, 23 Mar 2016 02:30:40 +0000 (02:30 +0000)]
Merge "ExifInterface: close the resource after reading EXIF data explicitly" into nyc-dev

8 years agoMerge "ExifInterface: fix regression of re-writing JPEG" into nyc-dev
Jaesung Chung [Wed, 23 Mar 2016 02:30:27 +0000 (02:30 +0000)]
Merge "ExifInterface: fix regression of re-writing JPEG" into nyc-dev

8 years agoExifInterface: close the resource after reading EXIF data explicitly
Jaesung Chung [Tue, 15 Mar 2016 08:25:31 +0000 (17:25 +0900)]
ExifInterface: close the resource after reading EXIF data explicitly

- In case of giving an argument of the image file name or descriptor,
 we created a InputStream at the inside of ExifInterface, close them
 properly.
- Developers should take care of closing input streams when they use
 input streams since they made those input streams.

Bug: 27636804
Change-Id: I9a3a75b1b55dcb2718a60e14814a04cad939d22c

8 years agoExifInterface: fix regression of re-writing JPEG
Jaesung Chung [Tue, 22 Mar 2016 18:43:11 +0000 (11:43 -0700)]
ExifInterface: fix regression of re-writing JPEG

Bug: 27583378
Change-Id: I052dfedbb1393705eba378de5eaf3636ed0e65ea

8 years agoUpdate an icon for MtpDocumentsProvider.
Daichi Hirono [Wed, 23 Mar 2016 02:07:29 +0000 (11:07 +0900)]
Update an icon for MtpDocumentsProvider.

BUG=27135431

Change-Id: Ic8619a533bdf2426fdf0d3691a883606fa027fb1

8 years agoMerge "Fix APF programs to not generate a failing compare of size 0" into nyc-dev
Lorenzo Colitti [Wed, 23 Mar 2016 01:17:56 +0000 (01:17 +0000)]
Merge "Fix APF programs to not generate a failing compare of size 0" into nyc-dev

8 years agoMerge "Hide underlying toolbars from TalkBack when covered by ActionMode." into nyc-dev
Tomasz Mikolajewski [Wed, 23 Mar 2016 01:16:08 +0000 (01:16 +0000)]
Merge "Hide underlying toolbars from TalkBack when covered by ActionMode." into nyc-dev

8 years agoMerge "Bring the change 'Open drawer when showing copy/move destination screen' back...
Aga Wronska [Wed, 23 Mar 2016 01:15:10 +0000 (01:15 +0000)]
Merge "Bring the change 'Open drawer when showing copy/move destination screen' back after fixing problem with tests." into nyc-dev

8 years agoMerge "Improve NetworkCapabilities command chaining." into nyc-dev
Pierre Imai [Wed, 23 Mar 2016 01:11:14 +0000 (01:11 +0000)]
Merge "Improve NetworkCapabilities command chaining." into nyc-dev

8 years agoMerge "Temporarily disable emoji availability check" into nyc-dev
Siyamed Sinir [Wed, 23 Mar 2016 00:58:39 +0000 (00:58 +0000)]
Merge "Temporarily disable emoji availability check" into nyc-dev

8 years agoFix ACCESSIBILITY_ENABLED settings.
Phil Weaver [Wed, 23 Mar 2016 00:54:37 +0000 (17:54 -0700)]
Fix ACCESSIBILITY_ENABLED settings.

A typo meant that the setting reflected the exact opposite of what was
intended.

Bug: 27781201
Change-Id: Icb0d4d585399f147b319093be57d708af4c6dfdc

8 years agoTemporarily disable emoji availability check
Siyamed Sinir [Wed, 23 Mar 2016 00:02:54 +0000 (17:02 -0700)]
Temporarily disable emoji availability check

On builds where SMALLER_FONT_FOOTPRINT environment variable is set, some
of the fonts are not included in the build which causes emoji checks to
fail. This CL temporarily disables emoji checks.

Bug: 27785690
Change-Id: Ie32f0aa630c84347588fc87630467c14e985940a

8 years agoMerge "Fix to snap notification view back when not clearable while updating" into...
Mady Mellor [Wed, 23 Mar 2016 00:37:19 +0000 (00:37 +0000)]
Merge "Fix to snap notification view back when not clearable while updating" into nyc-dev

8 years agoBring the change 'Open drawer when showing copy/move destination screen'
Aga Wronska [Wed, 23 Mar 2016 00:15:18 +0000 (17:15 -0700)]
Bring the change 'Open drawer when showing copy/move destination screen'
back after fixing problem with tests.

Revert "Revert "Open drawer when showing copy/move destination screen""

This reverts commit 82ae18c87784b5989c1529b97214d63e5d9d3742.
Fixed: 27479369

Change-Id: I70f98cf543de889a9a728d8d7233f8e7b077f871

8 years agoMerge "Explicitly handle null rather than relying on NPE." into nyc-dev
Yohei Yukawa [Wed, 23 Mar 2016 00:31:31 +0000 (00:31 +0000)]
Merge "Explicitly handle null rather than relying on NPE." into nyc-dev

8 years agoMerge "Update colors for list/grid view." into nyc-dev
Tomasz Mikolajewski [Wed, 23 Mar 2016 00:20:26 +0000 (00:20 +0000)]
Merge "Update colors for list/grid view." into nyc-dev

8 years agoMerge "Make the accent color darker in DocumentsUI for better accessibility." into...
Tomasz Mikolajewski [Wed, 23 Mar 2016 00:20:03 +0000 (00:20 +0000)]
Merge "Make the accent color darker in DocumentsUI for better accessibility." into nyc-dev

8 years agoMerge "Add content description for gear behind notifications" into nyc-dev
Mady Mellor [Wed, 23 Mar 2016 00:07:15 +0000 (00:07 +0000)]
Merge "Add content description for gear behind notifications" into nyc-dev

8 years agoMerge "MediaResourceMonitor: Change argument type from string to int" into nyc-dev
Dongwon Kang [Tue, 22 Mar 2016 23:50:01 +0000 (23:50 +0000)]
Merge "MediaResourceMonitor: Change argument type from string to int" into nyc-dev

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 agoMediaResourceMonitor: Change argument type from string to int
Dongwon Kang [Tue, 22 Mar 2016 22:20:40 +0000 (15:20 -0700)]
MediaResourceMonitor: Change argument type from string to int

Bug: 27529962
Change-Id: I29c165ccf6b44b0ca6812f1ccae758d67b225e0d

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 agoExplicitly handle null rather than relying on NPE.
Yohei Yukawa [Tue, 22 Mar 2016 19:54:22 +0000 (12:54 -0700)]
Explicitly handle null rather than relying on NPE.

IInputMethodManager is an actual IPC interface with which application
processes can communicate with InputMethodManagerService (IMMS).
Although this has never been a public API, it is actually exposed to the
application process hence we parameters passed to that interface methods
should be considered untrusted.

In Android L-MR1 and prior, calling IInputMethodManager#startInput()
from the application process via reflection with null EditorInfo can
result in NPE in the IME process, which is not great.

In Android M, doing that causes NPE in the IMMS process but the
exception is just sent back to the application process via Binder call,
which is no longer so harmful.

In Android N, we want to make sure that such an invalid internal API
call is clearly under our control, rather than relying on NPE, by having
an explicit null check.

Bug: 26866030
Change-Id: Ica812177d9ca454dd16e3dd6854f3053c329b344

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 agoFix APF programs to not generate a failing compare of size 0
Paul Jensen [Tue, 22 Mar 2016 18:23:46 +0000 (14:23 -0400)]
Fix APF programs to not generate a failing compare of size 0

Don't generate JNEBS instruction for 0 bytes as it always fails the
ASSERT_FORWARD_IN_PROGRAM(pc + cmp_imm - 1) check where cmp_imm is
the number of bytes to compare.
ApfFilter currently attempts to generate JNEBS for 0 bytes for the
non-lifetime piece between the valid and preferred lifetimes in the
prefix option.
From my testing this fixes RA filtering on bullhead on GoogleGuest.

Bug: 27768019
Change-Id: Id409da55d02767799fb5e3f9d0e9f72ac94d497f

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