OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Add dismiss animation for Recents TV and Enable Dismiss" into nyc-dev
Sid Soundararajan [Tue, 22 Mar 2016 21:37:45 +0000 (21:37 +0000)]
Merge "Add dismiss animation for Recents TV and Enable Dismiss" into nyc-dev
am: 6e54775

* commit '6e54775a8d7fefe2efb8be3977234c3ecc759e8d':
  Add dismiss animation for Recents TV and Enable Dismiss

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:31:48 +0000 (21:31 +0000)]
Merge "Revert "Document restricted app private file permissions"" into nyc-dev
am: 1c609e1

* commit '1c609e1a2ebee2df080c981a8ea809f0a1e2bd3c':
  Revert "Document restricted app private file permissions"

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 agoMerge "Revert "Refine divider behavior"" into nyc-dev
Andrii Kulian [Tue, 22 Mar 2016 21:09:22 +0000 (21:09 +0000)]
Merge "Revert "Refine divider behavior"" into nyc-dev
am: cddd32f

* commit 'cddd32fc2bce2db4f604d970071462a2f755ddd7':
  Revert "Refine divider behavior"

8 years agoMerge "Tune visuals for inline settings" into nyc-dev
Julia Reynolds [Tue, 22 Mar 2016 21:05:56 +0000 (21:05 +0000)]
Merge "Tune visuals for inline settings" into nyc-dev
am: 196c8f7

* commit '196c8f79353feed0c1278ace28a3959b3a08b8f1':
  Tune visuals for inline settings

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 "Fix Sysui crash on volume change." into nyc-dev
Julia Reynolds [Tue, 22 Mar 2016 20:59:46 +0000 (20:59 +0000)]
Merge "Fix Sysui crash on volume change." into nyc-dev
am: 6e9151e

* commit '6e9151eae88035919c4af7a40a243a6410da9c16':
  Fix Sysui crash on volume change.

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:46:53 +0000 (20:46 +0000)]
Merge "Disable TextViewActivityMouseTest#testContextMenu" into nyc-dev
am: e9b5fc2

* commit 'e9b5fc29dcdd91c6d955eba797ccd57abe6e772e':
  Disable TextViewActivityMouseTest#testContextMenu

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:10:54 +0000 (20:10 +0000)]
Merge changes Ia9502056,I97dc60c4 into nyc-dev
am: 482c7da

* commit '482c7da6ab5a95a28ee64cb4a0365b85e8681afb':
  Fixed the group expand motion to better reflect the overflow
  Introduced a number indicating more children in a group

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

* commit 'dcaf047a418644a861345efd001c5280f71d5f52':
  DocsUI: Disable debug logging by default.

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:42:52 +0000 (19:42 +0000)]
Merge "Unbreak verifying v2 signatures of large APKs." into nyc-dev
am: 238ec1f

* commit '238ec1f7c720d32daa9b12fcc573b51fa1be54e2':
  Unbreak verifying v2 signatures of large APKs.

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

* commit 'ec1e5e80fc4d7897e17986e06bdf2e459a889827':
  WifiManager: Defer Async Channel init

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 "Ensure that popup width and height are correct on update" into nyc-dev
Alan Viverette [Tue, 22 Mar 2016 19:37:23 +0000 (19:37 +0000)]
Merge "Ensure that popup width and height are correct on update" into nyc-dev
am: 9e6fe19

* commit '9e6fe190468ca83a350e2e59e4622674142d1fd4':
  Ensure that popup width and height are correct on update

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:43:02 +0000 (18:43 +0000)]
Merge "Update TrafficStats SystemApi docs." into nyc-dev
am: c6f0d15

* commit 'c6f0d15c7d5599f2c13b586ca9c93613a099795d':
  Update TrafficStats SystemApi docs.

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

* commit '706748782173d2f02fbbeda1310e09cd033157a3':
  Throw the right exception flavor.

8 years agoMerge "com.android.cts.appsecurity.AdoptableHostTest may trigger below dead lock...
guoyin.chen [Tue, 22 Mar 2016 18:42:59 +0000 (18:42 +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
am: 362636d

* commit '362636da4b402fcc62401f03080d056d91e74329':
  com.android.cts.appsecurity.AdoptableHostTest may trigger below dead lock in system_server in the board with external adoptable storage as below stack:

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

* commit '6ebc08b58a2a1fc9944027969e384c9571de0766':
  ShortcutManager: Extract helper classes.

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:32:22 +0000 (18:32 +0000)]
Merge "Only isolating children now when not expanded" into nyc-dev
am: 612a1fe

* commit '612a1fe5336665a2ac1e764ab6c2e869521283a4':
  Only isolating children now when not expanded

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:21:12 +0000 (18:21 +0000)]
Merge "Only call Drawable.setVisible(false) for visible outgoing drawables" into nyc-dev
am: 005b272

* commit '005b27252929c28bb3f34f139b8521827efb2c88':
  Only call Drawable.setVisible(false) for visible outgoing drawables

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 agoMerge "Don\'t change geometry in relayout if preserve geometry is requested" into...
Chong Zhang [Tue, 22 Mar 2016 18:12:54 +0000 (18:12 +0000)]
Merge "Don\'t change geometry in relayout if preserve geometry is requested" into nyc-dev
am: 3db51d1

* commit '3db51d19990485be0baa191e4c616ca2367dadf2':
  Don't change geometry in relayout if preserve geometry is requested

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 agoMerge "Fixed a bug where children could have fake shadows" into nyc-dev
Selim Cinek [Tue, 22 Mar 2016 18:04:08 +0000 (18:04 +0000)]
Merge "Fixed a bug where children could have fake shadows" into nyc-dev
am: 0f4ab53

* commit '0f4ab53a53fb77f9d5d72a1d1ff8b77c1b4ef062':
  Fixed a bug where children could have fake shadows

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

* commit 'a8f45ac5d7abc14a7a4e357613035f11911add32':
  Cleaned up notification group handling with HUNS

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 "Removed the summary line for notification groups" into nyc-dev
Selim Cinek [Tue, 22 Mar 2016 17:57:22 +0000 (17:57 +0000)]
Merge "Removed the summary line for notification groups" into nyc-dev
am: 44e7764

* commit '44e7764b5420f26dfad38472a5db1331e6dc1c4d':
  Removed the summary line for notification groups

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

* commit '49ab4fbbb10f42ea9b33d20dbc0e93cd385ee142':
  Hiding the summary of notification groups with a single child now

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

* commit '3ef62ca404588b9e2b6aeed3defa77e2b3f3a060':
  Documented that UserDictionary is not directly available anymore.

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 am...
Diego Perez [Tue, 22 Mar 2016 17:42:56 +0000 (17:42 +0000)]
Merge "Remove BufferedImage allocation from PorterDuff filter" into mnc-ub-dev am: ebf3261
am: 21412f0

* commit '21412f09b92c8e118c535420a2c2912fa8c58722':
  Remove BufferedImage allocation from PorterDuff filter

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
Lorenzo Colitti [Tue, 22 Mar 2016 17:40:12 +0000 (17:40 +0000)]
Merge "Also dump the last APF program to be installed." into nyc-dev
am: 5ec323ae

* commit '5ec323aea2f08ba34911962fdf2b7cad5e801b9f':
  Also dump the last APF program to be installed.

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

* commit '71432a08c61d4f0305e43a219e5a03940a7d46f4':
  DocsUI: Switch the launcher icon to Downloads.

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 agoMerge "Changed logic when dumpstate\'s max progress increases." into nyc-dev
Felipe Leme [Tue, 22 Mar 2016 17:28:29 +0000 (17:28 +0000)]
Merge "Changed logic when dumpstate\'s max progress increases." into nyc-dev
am: 9545d8e

* commit '9545d8e3377e73eb7d781360910b733760d3b0fb':
  Changed logic when dumpstate's max progress increases.

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:20:27 +0000 (17:20 +0000)]
Merge "Document restricted app private file permissions" into nyc-dev
am: c875a42

* commit 'c875a420a485e8b5144d521cbbb5001e5bef0721':
  Document restricted app private file permissions

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 agoMerge "Add config flag to show/hide internal storage. Hide internal storage by defaul...
Aga Wronska [Tue, 22 Mar 2016 17:09:10 +0000 (17:09 +0000)]
Merge "Add config flag to show/hide internal storage. Hide internal storage by default." into nyc-dev
am: 5f7d673

* commit '5f7d673f3b69019288adcf11325f71aeb2b8af49':
  Add config flag to show/hide internal storage. Hide internal storage by default.

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 agoSwitch frameworks/base/core/jni from gcc to clang.
Ben Wagner [Wed, 16 Mar 2016 21:10:42 +0000 (17:10 -0400)]
Switch frameworks/base/core/jni from gcc to clang.

Switch from gcc to clang and fix errors detected.

The immediate motivation is that gcc with libc++ stl does not use
'explicit' in the stl, causing issues for use of unique_ptr.
The longer term motivation is to fully move to clang.

BUG=22414716

Change-Id: If77436c1e7601f20289603862be33b85880ab4bd
(cherry picked from commit 60b1c8ef860b8cd5a1fa453a8951d6e8d7c44734)

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

* commit '3c3a59e9493e2cbaad83892da546ee73bffa7060':
  Hide general utility methods in ICU4J.

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:31:11 +0000 (16:31 +0000)]
Merge "Make status bar translucent. Make drawer appera below status bar." into nyc-dev
am: 1363b67

* commit '1363b677b3ead9e0f04de8be5e0fed0ccf5097c0':
  Make status bar translucent. Make drawer appera below status bar.

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 agoMerge "Move hint strings to SettingsLib" into nyc-dev
Tony Mantler [Tue, 22 Mar 2016 16:23:12 +0000 (16:23 +0000)]
Merge "Move hint strings to SettingsLib" into nyc-dev
am: 77ab9bb

* commit '77ab9bb71a6ed5239056b49df6e312075b4ec9a6':
  Move hint strings to SettingsLib

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 "Revert "Sanitize app op service inputs"" into nyc-dev
Ian Pedowitz [Tue, 22 Mar 2016 16:17:50 +0000 (16:17 +0000)]
Merge "Revert "Sanitize app op service inputs"" into nyc-dev
am: ef43188

* commit 'ef43188489d287f317af6d48c3145dd2170aaf84':
  Revert "Sanitize app op service inputs"

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 16:04:18 +0000 (16:04 +0000)]
Merge "ICU4J: Removed a couple of useless or internal methods from API" into nyc-dev
am: 83ad1c1

* commit '83ad1c16f9e54e35d12b644973da72bae8e2dac4':
  ICU4J: Removed a couple of useless or internal methods from API

8 years agoMerge "Correctly init code cache path for RS" into nyc-dev
Yang Ni [Tue, 22 Mar 2016 16:04:16 +0000 (16:04 +0000)]
Merge "Correctly init code cache path for RS" into nyc-dev
am: 2cd81f8

* commit '2cd81f8b2c7577b6c60de11d039ebc3a8dab9fe8':
  Correctly init code cache path for RS

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

* commit 'd7ec6e5a8efc9e1cdd558d5dd2db946139ffee69':
  ICU4J: Update API for using civil version of IslamicCalendar

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 [Tue, 22 Mar 2016 15:30:21 +0000 (15:30 +0000)]
Revert getUserInfo change and add isManagedPorfile(int userId)
am: 8673b28

* commit '8673b2899e775014336efff44ea88dcac2b25bdd':
  Revert getUserInfo change and add isManagedPorfile(int userId)

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:19:26 +0000 (15:19 +0000)]
Merge "Make DISK_SCANNED a protected broadcast." into nyc-dev
am: 030247d

* commit '030247d41b6e9a48248634a27df5264ea41c04ca':
  Make DISK_SCANNED a protected broadcast.

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

* commit '9d9a55be9d04b478266c597c56ffeae5d1de1a62':
  Only enable asserts on userdebug/eng builds.