OSDN Git Service

android-x86/frameworks-base.git
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 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 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 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 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 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 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

8 years agoCount error document to complete adding documents to the database.
Daichi Hirono [Fri, 18 Mar 2016 06:05:53 +0000 (15:05 +0900)]
Count error document to complete adding documents to the database.

Previously DocumentLoader#LoaderTask had a counter to count loaded
documents and completes adding documents to the database.  However it
does not count documents where a MTP device returns an error for
getObjectInfo. The CL fixes the problem to ensure we complete documents
loading.

BUG=27729653

Change-Id: I696eac790a6535f1bd7a1855dc2d6f932e32eae5

8 years agoPIP: Increase the PIP menu's char limits for translation
Jaewan Kim [Mon, 21 Mar 2016 02:52:53 +0000 (11:52 +0900)]
PIP: Increase the PIP menu's char limits for translation

Bug: 27699763
Change-Id: I2ae0d44ecb30bf63c2229a9531d226fc5ddcd40d

8 years agoRemove framework code that calls SIOCKILLADDR
Lorenzo Colitti [Tue, 22 Mar 2016 03:54:32 +0000 (12:54 +0900)]
Remove framework code that calls SIOCKILLADDR

Bug: 26976388
Change-Id: I652361d9e650a77085070d6c26b28b7638ba2dfe

8 years agoMerge "PIP: Fix NPE when an activity is PIPed again immediately" into nyc-dev
Jaewan Kim [Tue, 22 Mar 2016 03:42:10 +0000 (03:42 +0000)]
Merge "PIP: Fix NPE when an activity is PIPed again immediately" into nyc-dev

8 years agoUpdate api/test-current.txt
Jakub Pawlowski [Fri, 18 Mar 2016 22:14:16 +0000 (15:14 -0700)]
Update api/test-current.txt

Change-Id: I1fa444fbe874862e6296ee6a9751c39a0cbc4b7a

8 years agoUse handles to identify GATT attributes (4/4)
Jakub Pawlowski [Thu, 17 Mar 2016 23:00:16 +0000 (16:00 -0700)]
Use handles to identify GATT attributes (4/4)

Bug: 27778668
Change-Id: I01e095939df2f8dc433f14b473957c815ecade74

8 years agoPIP: Fix NPE when an activity is PIPed again immediately
Jaewan Kim [Mon, 21 Mar 2016 08:34:28 +0000 (17:34 +0900)]
PIP: Fix NPE when an activity is PIPed again immediately

More proper fix would be not showing Recents after an activity is PIPed,
but NPE shouldn't be happen so let me propose the CL as the first step.

Bug: 27634771
Change-Id: Ie98293b7dd2d206567ded08d54134164aa78ca9c

8 years agoFixed a bug where children could have fake shadows
Selim Cinek [Fri, 18 Mar 2016 02:39:00 +0000 (19:39 -0700)]
Fixed a bug where children could have fake shadows

Bug: 24866646
Change-Id: I2a6e7749a16eb62480abbb49b5f600af1e8c327a

8 years agoCleaned up notification group handling with HUNS
Selim Cinek [Fri, 18 Mar 2016 01:27:36 +0000 (18:27 -0700)]
Cleaned up notification group handling with HUNS

The group summary could still be visible even though
all children were heads upped. The notification
is now suppressed instead.

Change-Id: Ic489925d9881bd2f59170f9c0fe9a3dbb17e25aa
Bug: 27104166
Fixes: 27572569

8 years agoRemoved the summary line for notification groups
Selim Cinek [Thu, 17 Mar 2016 22:01:38 +0000 (15:01 -0700)]
Removed the summary line for notification groups

Because it was too noisy.

Bug: 27431551
Change-Id: I9593698eda6327ad7c7b4ec50a980e318a93f3b9

8 years agoHiding the summary of notification groups with a single child now
Selim Cinek [Thu, 17 Mar 2016 17:28:55 +0000 (10:28 -0700)]
Hiding the summary of notification groups with a single child now

Groups with only a single child are now hidden from the user and
the child is directly surfaced.

Bug: 27104166
Change-Id: Ifc1edf0ba857ae2a3c7ef7146dee6aa7fb29fe4b

8 years agoChange how services are passed up to the stack
Jakub Pawlowski [Wed, 2 Mar 2016 02:50:27 +0000 (18:50 -0800)]
Change how services are passed up to the stack

Right now we pass all services, characteristics and descriptors one by one.
This patch changes that - now we pass whole GATT database at once.

Bug: 27455533
Change-Id: Ie42cd80072538e411904b9c9b011a978f26158b9

8 years agoFix null pointer exception when MTP/PTP device is detached.
Daichi Hirono [Tue, 22 Mar 2016 02:05:22 +0000 (11:05 +0900)]
Fix null pointer exception when MTP/PTP device is detached.

FIXED=27743872

Change-Id: I9b754ba7efbc4958a47aafe332f1909bc0d50457

8 years agoMerge "Fix the logic to add suffix when copying." into nyc-dev
Daichi Hirono [Tue, 22 Mar 2016 01:34:58 +0000 (01:34 +0000)]
Merge "Fix the logic to add suffix when copying." into nyc-dev

8 years agoMerge "Clean up and rename TypefaceImpl" into nyc-dev
Sergei Vasilinetc [Tue, 22 Mar 2016 01:33:48 +0000 (01:33 +0000)]
Merge "Clean up and rename TypefaceImpl" into nyc-dev

8 years agoFix the logic to add suffix when copying.
Daichi Hirono [Fri, 18 Mar 2016 09:29:56 +0000 (18:29 +0900)]
Fix the logic to add suffix when copying.

Previously the logic add '.' even if the extension is empty.

BUG=27729309

Change-Id: I3fa4b09fea977b5c716ec5cbbbc7d9f4ab96db08

8 years agoMerge "Add USB_HOST_CONNECTED extra to ACTION_USB_STATE sticky intent." into nyc-dev
Daichi Hirono [Tue, 22 Mar 2016 01:21:11 +0000 (01:21 +0000)]
Merge "Add USB_HOST_CONNECTED extra to ACTION_USB_STATE sticky intent." into nyc-dev

8 years agoMerge "Change the title of DocumentsUI from "Files" to "Downloads"." into nyc-dev
Daichi Hirono [Tue, 22 Mar 2016 01:20:24 +0000 (01:20 +0000)]
Merge "Change the title of DocumentsUI from "Files" to "Downloads"." into nyc-dev

8 years agoMerge "PIP: Prevent PipOverlayActivity from restarting" into nyc-dev
Jaewan Kim [Tue, 22 Mar 2016 01:11:07 +0000 (01:11 +0000)]
Merge "PIP: Prevent PipOverlayActivity from restarting" into nyc-dev

8 years agoMerge "Hide system UI activity with FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS in Recents...
Jaewan Kim [Tue, 22 Mar 2016 00:34:17 +0000 (00:34 +0000)]
Merge "Hide system UI activity with FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS in Recents" into nyc-dev

8 years agoAdd config flag to show/hide internal storage.
Aga Wronska [Mon, 21 Mar 2016 18:28:03 +0000 (11:28 -0700)]
Add config flag to show/hide internal storage.
Hide internal storage by default.

Revert "Always show intern storage."

This reverts commit 7c4395804e450533afb553ab992c47f737da8a9b.

Bug: 27683276

Change-Id: I04ea8b9a307babcea003f9bec200d41265a42c7f

8 years agoMerge "Reland: Move text logic from jni to hwui level" into nyc-dev
Sergei Vasilinetc [Tue, 22 Mar 2016 00:12:30 +0000 (00:12 +0000)]
Merge "Reland: Move text logic from jni to hwui level" into nyc-dev

8 years agoMerge "ShortcutManager: Clean up for uninstalled packages." into nyc-dev
Makoto Onuki [Tue, 22 Mar 2016 00:12:04 +0000 (00:12 +0000)]
Merge "ShortcutManager: Clean up for uninstalled packages." into nyc-dev

8 years agoMerge "Add API to read the current wallpaper's ID" into nyc-dev
Chris Tate [Tue, 22 Mar 2016 00:03:12 +0000 (00:03 +0000)]
Merge "Add API to read the current wallpaper's ID" into nyc-dev

8 years agoCorrectly init code cache path for RS
Yang Ni [Fri, 11 Mar 2016 00:12:31 +0000 (16:12 -0800)]
Correctly init code cache path for RS

Bug: 27439261

Script Group needs to know the code cache path before it can call bcc to
merge kernels. However, before this change, the code cache path has been
initialized by the ScriptC class.

In the case where a script group (or even the entire app) does not contain any
regular script but only intrinsics, the code cache would remain uninitialized.

Fixed this by initializing the code cache path in the RenderScript class
the first time when the accessor method is called.

Change-Id: I87f9e62e0f3b479f94e43daa3e9695a5b38710db
(cherry picked from commit 689f63770048589e1001ce99faf1d2eaf9780a80)

8 years agoDocumented that UserDictionary is not directly available anymore.
Felipe Leme [Mon, 21 Mar 2016 23:41:32 +0000 (16:41 -0700)]
Documented that UserDictionary is not directly available anymore.

BUG: 25993626
BUG: 27777198
Change-Id: I463ad25bdbf5cad47977b8ca295b7b0f9b04dff0

8 years agoClean up and rename TypefaceImpl
sergeyv [Thu, 17 Mar 2016 18:24:22 +0000 (11:24 -0700)]
Clean up and rename TypefaceImpl

bug:25865834
Change-Id: I77e8a627163e040a5c25865054a8a936052af367

8 years agoMake DISK_SCANNED a protected broadcast.
Jeff Sharkey [Mon, 21 Mar 2016 23:05:49 +0000 (17:05 -0600)]
Make DISK_SCANNED a protected broadcast.

Bug: 27763115
Change-Id: Ib8b40ff9f4c1f929ac4f07a9d5460a0a593ba080

8 years agoOnly enable asserts on userdebug/eng builds.
Jeff Sharkey [Mon, 21 Mar 2016 23:04:02 +0000 (17:04 -0600)]
Only enable asserts on userdebug/eng builds.

Bug: 27699194
Change-Id: Id20f808448ae94371da62d38387f90ad97e7cbd3

8 years agoReland: Move text logic from jni to hwui level
sergeyv [Mon, 21 Mar 2016 22:38:21 +0000 (15:38 -0700)]
Reland: Move text logic from jni to hwui level

Initial CL: https://googleplex-android-review.git.corp.google.com/#/c/886854/

Change-Id: I9dfd85fe1d2a2c44f4360c8a29fd58d80e6f31c8

8 years agoShortcutManager: Clean up for uninstalled packages.
Makoto Onuki [Mon, 21 Mar 2016 22:47:52 +0000 (15:47 -0700)]
ShortcutManager: Clean up for uninstalled packages.

Bug 27548047

Change-Id: I95ca832af496fbf71023eb27a7e2647c124ffb86

8 years agoStore trace files in app-specific dirs.
Jeff Sharkey [Mon, 21 Mar 2016 22:42:57 +0000 (16:42 -0600)]
Store trace files in app-specific dirs.

The previous default location of "/sdcard" became painful to use
starting in M, because it required a runtime permission.  So now we
default to storing trace files in app-specific directories on shared
storage, which apps always have write access to with no additional
permissions.

Update docs to be consistent between all overloads.

Bug: 22807654
Change-Id: If4feca7c8778dfdf4ccce8cfb68418dc416260b5

8 years agoMerge "Don't finish resolver activity onStop if it is for home intent" into nyc-dev
Wale Ogunwale [Mon, 21 Mar 2016 22:53:09 +0000 (22:53 +0000)]
Merge "Don't finish resolver activity onStop if it is for home intent" into nyc-dev

8 years agoMerge "Add a comment about ResultReceiver lifetime." into nyc-dev
Yohei Yukawa [Mon, 21 Mar 2016 22:45:19 +0000 (22:45 +0000)]
Merge "Add a comment about ResultReceiver lifetime." into nyc-dev

8 years agoMerge "Add guard around getXmlFileParser() call" into nyc-dev
Deepanshu Gupta [Mon, 21 Mar 2016 22:45:11 +0000 (22:45 +0000)]
Merge "Add guard around getXmlFileParser() call" into nyc-dev

8 years agoAdd API to read the current wallpaper's ID
Christopher Tate [Mon, 21 Mar 2016 21:53:15 +0000 (14:53 -0700)]
Add API to read the current wallpaper's ID

Also regularize cross-user call handling throughout.

Bug 27743435

Change-Id: Ibc530d0576d657723a613888357a6ea71b482763

8 years agoMerge "Don't mix UI and print job state" into nyc-dev
Philip P. Moltmann [Mon, 21 Mar 2016 22:28:46 +0000 (22:28 +0000)]
Merge "Don't mix UI and print job state" into nyc-dev

8 years agoMove hint strings to SettingsLib
Tony Mantler [Mon, 21 Mar 2016 21:50:55 +0000 (14:50 -0700)]
Move hint strings to SettingsLib

b/18246360

Change-Id: I638adcabcbe4bf0e2db7836b87c603bf9abc3763

8 years agoMerge "Fix string equality comparison" into nyc-dev
Paul Stewart [Mon, 21 Mar 2016 21:50:35 +0000 (21:50 +0000)]
Merge "Fix string equality comparison" into nyc-dev

8 years agoMerge "Ignore wildcard network policies." into nyc-dev
Jeff Sharkey [Mon, 21 Mar 2016 21:11:56 +0000 (21:11 +0000)]
Merge "Ignore wildcard network policies." into nyc-dev