OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Daeal with null cursors more leniently." into nyc-dev
Steve McKay [Tue, 12 Apr 2016 23:05:24 +0000 (23:05 +0000)]
Merge "Daeal with null cursors more leniently." into nyc-dev

8 years agoMerge "Have Recents focus second task when launched, if 2 or more tasks are available...
Sid Soundararajan [Tue, 12 Apr 2016 22:43:47 +0000 (22:43 +0000)]
Merge "Have Recents focus second task when launched, if 2 or more tasks are available" into nyc-dev

8 years agoMerge "ShortcutManager: Address API review feedback." into nyc-dev
Makoto Onuki [Tue, 12 Apr 2016 22:34:14 +0000 (22:34 +0000)]
Merge "ShortcutManager: Address API review feedback." into nyc-dev

8 years agoMerge "Keep read/write external storage as built-in permissions" into nyc-dev
Svetoslav Ganov [Tue, 12 Apr 2016 22:11:18 +0000 (22:11 +0000)]
Merge "Keep read/write external storage as built-in permissions" into nyc-dev

8 years agoMerge "Fix reset() to zero slowFrameCounts" into nyc-dev
John Reck [Tue, 12 Apr 2016 22:03:30 +0000 (22:03 +0000)]
Merge "Fix reset() to zero slowFrameCounts" into nyc-dev

8 years agoMerge "Add some tests for procstats, and fix some bugs that the tests uncovered....
TreeHugger Robot [Tue, 12 Apr 2016 21:38:08 +0000 (21:38 +0000)]
Merge "Add some tests for procstats, and fix some bugs that the tests uncovered." into nyc-dev

8 years agoMerge "Add implemention for isSameTrustConfiguration" into nyc-dev
TreeHugger Robot [Tue, 12 Apr 2016 21:28:51 +0000 (21:28 +0000)]
Merge "Add implemention for isSameTrustConfiguration" into nyc-dev

8 years agoMerge "Include current selection mode in TimePicker event text" into nyc-dev
Alan Viverette [Tue, 12 Apr 2016 21:18:14 +0000 (21:18 +0000)]
Merge "Include current selection mode in TimePicker event text" into nyc-dev

8 years agoFrameworks/base: Add no-thread marking to zygote
Andreas Gampe [Mon, 11 Apr 2016 15:39:52 +0000 (08:39 -0700)]
Frameworks/base: Add no-thread marking to zygote

Use ZygoteHooks code to mark zygote initialization to not be
allowed to create threads. This is helpful when new classes are
found to be used by apps but cannot be preloaded as they spawn
threads.

Bug: 27248115
Change-Id: I1dc3620d9e7d0054c672b993d89459fc4b353dfc

8 years agoMerge "Frameworks/base: Update preloaded-classes" into nyc-dev
Andreas Gampe [Tue, 12 Apr 2016 21:02:30 +0000 (21:02 +0000)]
Merge "Frameworks/base: Update preloaded-classes" into nyc-dev

8 years agoMerge "Changing LauncherApps to resolve activity by component name" into nyc-dev
Sunny Goyal [Tue, 12 Apr 2016 20:55:31 +0000 (20:55 +0000)]
Merge "Changing LauncherApps to resolve activity by component name" into nyc-dev

8 years agoMerge "Fix issue with All Tasks Dismissed" into nyc-dev
Sid Soundararajan [Tue, 12 Apr 2016 20:46:14 +0000 (20:46 +0000)]
Merge "Fix issue with All Tasks Dismissed" into nyc-dev

8 years agoMerge "Make getStorageVolume(File file) public." into nyc-dev
Felipe Leme [Tue, 12 Apr 2016 20:44:05 +0000 (20:44 +0000)]
Merge "Make getStorageVolume(File file) public." into nyc-dev

8 years agoAdd some tests for procstats, and fix some bugs that the tests uncovered.
Joe Onorato [Thu, 7 Apr 2016 23:59:59 +0000 (16:59 -0700)]
Add some tests for procstats, and fix some bugs that the tests uncovered.

Bug: 27045736
Change-Id: Ia910730c5a3a899c89aa63dd7ab48be62cf9cfef

8 years agoMerge "Notification MessagingStyle: Add handset views" into nyc-dev
TreeHugger Robot [Tue, 12 Apr 2016 20:12:40 +0000 (20:12 +0000)]
Merge "Notification MessagingStyle: Add handset views" into nyc-dev

8 years agoMerge "Hide QS header when in details" into nyc-dev
Jason Monk [Tue, 12 Apr 2016 20:11:09 +0000 (20:11 +0000)]
Merge "Hide QS header when in details" into nyc-dev

8 years agoFix reset() to zero slowFrameCounts
John Reck [Tue, 12 Apr 2016 20:10:19 +0000 (13:10 -0700)]
Fix reset() to zero slowFrameCounts

Change-Id: I9f7f7280bcd28c361e5665de39a4bd7c594ab521
Fixes: 26386641

8 years agoAdd implemention for isSameTrustConfiguration
Chad Brubaker [Mon, 11 Apr 2016 20:04:22 +0000 (13:04 -0700)]
Add implemention for isSameTrustConfiguration

Bug: 27672565
Change-Id: Id5291a4a5f2ca75fdf84db4d51363735f1a76845

8 years agoMerge "Check whether VD tree is still valid before calling native setter" into nyc-dev
Doris Liu [Tue, 12 Apr 2016 19:50:38 +0000 (19:50 +0000)]
Merge "Check whether VD tree is still valid before calling native setter" into nyc-dev

8 years agoMerge "Add post resolve property values" into nyc-dev
Deepanshu Gupta [Tue, 12 Apr 2016 19:47:00 +0000 (19:47 +0000)]
Merge "Add post resolve property values" into nyc-dev

8 years agoAdd post resolve property values
Deepanshu Gupta [Tue, 12 Apr 2016 19:07:40 +0000 (12:07 -0700)]
Add post resolve property values

Change-Id: Ia86b7dfc479cc5313cce36b6b3066fbb1d00c292

8 years agoMerge "Destroy Closures in ScriptGroup" into nyc-dev
Yang Ni [Tue, 12 Apr 2016 19:45:51 +0000 (19:45 +0000)]
Merge "Destroy Closures in ScriptGroup" into nyc-dev

8 years agoHide QS header when in details
Jason Monk [Tue, 12 Apr 2016 19:44:43 +0000 (15:44 -0400)]
Hide QS header when in details

because it gets in the way of accessibility

Change-Id: I4725217e7f5947961339b1cacba73d570e8cb2d9
Fixes: 27953567

8 years agoMerge "Properly check to see if a suppressor is present before returning it." into...
Bryce Lee [Tue, 12 Apr 2016 19:42:07 +0000 (19:42 +0000)]
Merge "Properly check to see if a suppressor is present before returning it." into nyc-dev

8 years agoProperly check to see if a suppressor is present before returning it.
Bryce Lee [Tue, 12 Apr 2016 19:39:15 +0000 (12:39 -0700)]
Properly check to see if a suppressor is present before returning it.

Bug: 28111086
Change-Id: Ib2cde8269443832e5490906396cd95832c7a146f

8 years agoMerge "Documentation for flex field" into nyc-dev
Shreyas Basarge [Tue, 12 Apr 2016 19:35:19 +0000 (19:35 +0000)]
Merge "Documentation for flex field" into nyc-dev

8 years agoMerge "Dispatch View#onVisibilityAggregated to views becoming invisible" into nyc-dev
Adam Powell [Tue, 12 Apr 2016 19:32:09 +0000 (19:32 +0000)]
Merge "Dispatch View#onVisibilityAggregated to views becoming invisible" into nyc-dev

8 years agoMerge "BatteryStats: Don't log BluetoothScanTimer when it doesn't exist" into nyc-dev
Adam Lesinski [Tue, 12 Apr 2016 19:26:47 +0000 (19:26 +0000)]
Merge "BatteryStats: Don't log BluetoothScanTimer when it doesn't exist" into nyc-dev

8 years agoMerge branch \'mnc-mr-docs\' into mnc-ub-dev
Dirk Dougherty [Tue, 12 Apr 2016 19:23:52 +0000 (19:23 +0000)]
Merge branch \'mnc-mr-docs\' into mnc-ub-dev
am: a5060ee  -s ours

* commit 'a5060ee80dbb48bd7fc545d2aeeeb657b79893ea': (546 commits)
  Update studio landing page and add all-new install flow docs. bug: 27850063 (update system reqs for 2.0) bug: 27725026 (update download page for 2.0) bug: 23908299 (clean up download and get started)
  docs: April 2016 Dashboard update
  docs: Added  new  partner logos to the car brands section of auto index page.
  Revert "Updates for Play" April Fool's joke.
  Updates for Play.
  docs: "Result is:" paragraph now in correct position on page.
  docs: Fixed namespace shown in a line of style XML
  docs: Add note about missing recording functionality in Live Channels
  docs: NDK r11c - release notes and downloads
  docs: Removed dead link in "create project" TOC.
  docs: Corrected reference link for NotificationManager.notify().
  docs: Added link to "preparing for multiwindow" blog post
  docs: Clarified how multi-window applies to activities in task stack
  [RenderScript] Update documentation about API level and RS Support Lib.
  cherrypick from mnc-docs docs: Updated API changes for Dinar wearable support.
  simplification and clarification to the Studio Overview
  Substitute for placeholder text.
  docs: Added missing semicolon within code sample.
  docs: Fixed Marshmallow links in API level table.
  docs: Update Nexus 9, 9G OTA images for N Preview
  ...

Change-Id: I2a64872d24ff2780503766f94e6d693edbdd47b8

8 years agoMerge "Fix QS animation QQS visibility" into nyc-dev
Jason Monk [Tue, 12 Apr 2016 19:18:36 +0000 (19:18 +0000)]
Merge "Fix QS animation QQS visibility" into nyc-dev

8 years agoMerge "QS animation: fix clearing translation state" into nyc-dev
Jason Monk [Tue, 12 Apr 2016 19:18:26 +0000 (19:18 +0000)]
Merge "QS animation: fix clearing translation state" into nyc-dev

8 years agoMerge "Rename home to settings home" into nyc-dev
Jason Monk [Tue, 12 Apr 2016 19:18:19 +0000 (19:18 +0000)]
Merge "Rename home to settings home" into nyc-dev

8 years agoMerge "Document when usesCleartextTraffic is ignored." into nyc-dev
TreeHugger Robot [Tue, 12 Apr 2016 19:18:13 +0000 (19:18 +0000)]
Merge "Document when usesCleartextTraffic is ignored." into nyc-dev

8 years agoMerge "Sets COARSE_LOCATION permission for VrCore when in vr mode." into nyc-dev
Craig Donner [Tue, 12 Apr 2016 19:12:45 +0000 (19:12 +0000)]
Merge "Sets COARSE_LOCATION permission for VrCore when in vr mode." into nyc-dev

8 years agoBatteryStats: Don't log BluetoothScanTimer when it doesn't exist
Adam Lesinski [Tue, 12 Apr 2016 19:06:03 +0000 (12:06 -0700)]
BatteryStats: Don't log BluetoothScanTimer when it doesn't exist

Bug:27998591
Change-Id: I80ca8a2353141c16595b4be0b0aed195f40e366a

8 years agoInclude current selection mode in TimePicker event text
Alan Viverette [Tue, 12 Apr 2016 18:58:09 +0000 (14:58 -0400)]
Include current selection mode in TimePicker event text

Bug: 23118708
Change-Id: I709f28674c7a959cdfb279f8643a07aa562d8fef

8 years agoMerge "The return and fixing of demo mode" into nyc-dev
Jason Monk [Tue, 12 Apr 2016 18:53:18 +0000 (18:53 +0000)]
Merge "The return and fixing of demo mode" into nyc-dev

8 years agoNotification MessagingStyle: Add handset views
Adrian Roos [Tue, 5 Apr 2016 21:54:55 +0000 (14:54 -0700)]
Notification MessagingStyle: Add handset views

Bug: 27250207
Change-Id: I499cf2beaeeb34f0f189815fc0911f3b8954bd50

8 years agoDaeal with null cursors more leniently.
Steve McKay [Tue, 12 Apr 2016 18:29:10 +0000 (11:29 -0700)]
Daeal with null cursors more leniently.

Since modelId may not in fact result in a cursor.
Bug: 28074284

Change-Id: I8632c9c7d5e3da32080c07033089173105c03646

8 years agoFix QS animation QQS visibility
Jason Monk [Tue, 12 Apr 2016 18:35:13 +0000 (14:35 -0400)]
Fix QS animation QQS visibility

once and for all?

Change-Id: I25807a77097ca10410fdc388333946a6ea2e7a7b
Fixes: 27536311

8 years agoMerge "Remove LOAD_OS_APP message from standard context hub messages" into nyc-dev
Ashutosh Joshi [Tue, 12 Apr 2016 18:30:18 +0000 (18:30 +0000)]
Merge "Remove LOAD_OS_APP message from standard context hub messages" into nyc-dev

8 years agoDispatch View#onVisibilityAggregated to views becoming invisible
Adam Powell [Tue, 12 Apr 2016 18:13:23 +0000 (11:13 -0700)]
Dispatch View#onVisibilityAggregated to views becoming invisible

When a view becomes newly invisible/gone via setFlags, its visibility
state will have already changed by the time we
dispatchVisibilityAggregated. Since we already do visibility filtering
in the ViewGroup override when we traverse to child views, permit the
normal View implementation to dispatch onVisibilityAggregated if we're
not visible and dispatching visibility false.

Bug 28123146

Change-Id: I528dffe95d2057ef938508b9fb4219c5338b060c

8 years agoMake sure to report activity launch time when starting from recents
Jorim Jaggi [Sat, 9 Apr 2016 08:39:40 +0000 (01:39 -0700)]
Make sure to report activity launch time when starting from recents

Bug: 27295491
Change-Id: I27d660ccc960610f39c72ba9bbab5963746fcd45

8 years agoDon't remove background when resizing
Jorim Jaggi [Tue, 12 Apr 2016 01:37:20 +0000 (18:37 -0700)]
Don't remove background when resizing

This leads to flickers, as we should not draw in a translucent way
if we didn't specify that our window is translucent, because the
renderer has some about translucency.

Instead, we should clip the backdrop content by the inverse of the
content clip rect, which is not yet implemented.

Bug: 28009524
Change-Id: Ia3f54fb83997ace863e78ff1cbe45cfb64f92f26

8 years agoClip mWinShowWhenLocked if Keyguard is not showing
Jorim Jaggi [Tue, 12 Apr 2016 02:04:24 +0000 (19:04 -0700)]
Clip mWinShowWhenLocked if Keyguard is not showing

Bug: 28076605
Change-Id: I80ae6dbd09d419c258efd79639a62dce8c2fbe79

8 years agoCheck whether VD tree is still valid before calling native setter
Doris Liu [Tue, 12 Apr 2016 01:13:01 +0000 (18:13 -0700)]
Check whether VD tree is still valid before calling native setter

VD tree is ref-counted in both Java and native. VD's child nodes are
entirely owned by the native tree, as VD nodes in native should outlive
its Java counterparts, with one exception: when there's an infinite UI
animator running on VD, the animator may have weak reference to a few
child nodes. In the case of hidden animator running infinitely, the child
nodes would keep getting the animation pulse while the rest of the tree
would have been destroyed. To prevent the setters triggered by animation
from calling into native, we need to check whether the tree is still
valid before going down into JNI.

Bug: 28104172
Change-Id: Ie9d4bf3898c0c23e620a4747624d24b8ab779743

8 years agoRefine exit animation
Jorim Jaggi [Tue, 12 Apr 2016 04:51:11 +0000 (21:51 -0700)]
Refine exit animation

Don't move the other stack when exiting multi-window with undock
gesture.

Bug: 27154882
Change-Id: Ia2793d2e2b16def543289f8b2b13631db90edca8

8 years agoMerge "Fixing issue with scrolling tasks upwards" into nyc-dev
Winson Chung [Tue, 12 Apr 2016 18:11:15 +0000 (18:11 +0000)]
Merge "Fixing issue with scrolling tasks upwards" into nyc-dev

8 years agoFix a small issue with IME adjustment
Jorim Jaggi [Tue, 12 Apr 2016 04:14:12 +0000 (21:14 -0700)]
Fix a small issue with IME adjustment

For some keyboards, display frame is the same as the fullscreen, because
the way they layout their stuff is different. In such cases, the stack
bounds were moved too far.

Bug: 28126905
Change-Id: Id3c2c8d9d16e27634006a8ef70d35d8826302da0

8 years agoDocument when usesCleartextTraffic is ignored.
Chad Brubaker [Mon, 11 Apr 2016 20:31:24 +0000 (13:31 -0700)]
Document when usesCleartextTraffic is ignored.

In N and above when using an Android Network Security Config the
cleartext configuration from that is used and
android:usesCleartextTraffic in the manifest is ignored.

Bug:27596429
Change-Id: I50ec765cead6cfd6bbaec585723f99d72e0fd945

8 years agoFixing issue with scrolling tasks upwards
Winson [Tue, 12 Apr 2016 01:41:32 +0000 (18:41 -0700)]
Fixing issue with scrolling tasks upwards

- When scrolling the stack away from the task overrides, we should
  actually lock the stack scroll and instead apply the changes in scroll
  to the override tasks.

Bug: 27376567
Change-Id: Idd1874ab0f6f5eb273bf6e9623b84277961f4291

8 years agoFix some serious pre draw listener leaks
Jorim Jaggi [Tue, 12 Apr 2016 08:39:49 +0000 (01:39 -0700)]
Fix some serious pre draw listener leaks

These were responsible for a huuge memory leak, and probably also
responsible for some significant amount of jank when using the
device for a while.

Bug: 26400906
Change-Id: Ie4140998ad288583c6a4137954fab4fe9a6f2cf7

8 years agoMerge "Minor improvements useful for debugging." into nyc-dev
Felipe Leme [Tue, 12 Apr 2016 17:56:00 +0000 (17:56 +0000)]
Merge "Minor improvements useful for debugging." into nyc-dev

8 years agoQS animation: fix clearing translation state
Jason Monk [Tue, 12 Apr 2016 17:55:16 +0000 (13:55 -0400)]
QS animation: fix clearing translation state

Change-Id: I0477136c6eb4da4e10e152e458fada194c8290f0
Fixes: 27880443

8 years agoShortcutManager: Address API review feedback.
Makoto Onuki [Mon, 4 Apr 2016 22:57:17 +0000 (15:57 -0700)]
ShortcutManager: Address API review feedback.

- "delete" -> "remove"
- add/deleteDynamicShortcut() now takes a list.
- Throttling default settings is now 2 calls / hour.

- Add categories to ShortcutInfo.
- getIconResourceId() is now public

Bug 27923857
Bug 27548047

Change-Id: I8457b30e4b2f7c63ab2988648b37178fd16ea45b

8 years agoMerge "Remove config_wifi_hal_pno_enable and config_wifi_ssid_white_list_enable"...
Samuel Tan [Tue, 12 Apr 2016 17:13:26 +0000 (17:13 +0000)]
Merge "Remove config_wifi_hal_pno_enable and config_wifi_ssid_white_list_enable" into nyc-dev

8 years agoMerge "Fixes name of intent launch flag for Action Extender" into nyc-dev
Alexander Hills [Tue, 12 Apr 2016 17:10:17 +0000 (17:10 +0000)]
Merge "Fixes name of intent launch flag for Action Extender" into nyc-dev

8 years agoThe return and fixing of demo mode
Jason Monk [Tue, 12 Apr 2016 17:08:31 +0000 (13:08 -0400)]
The return and fixing of demo mode

Change-Id: I2bcf3435b92c80b4ab3c46cba02902820c942c7c
Fixes: 27919212

8 years agoMerge "Fix empty state Chooser Activity UX" into nyc-dev
Clara Bayarri [Tue, 12 Apr 2016 17:02:26 +0000 (17:02 +0000)]
Merge "Fix empty state Chooser Activity UX" into nyc-dev

8 years agoMerge "Another protected broadcast." into nyc-dev
Jeff Sharkey [Tue, 12 Apr 2016 17:01:24 +0000 (17:01 +0000)]
Merge "Another protected broadcast." into nyc-dev

8 years agoFix empty state Chooser Activity UX
Clara Bayarri [Tue, 12 Apr 2016 14:57:01 +0000 (15:57 +0100)]
Fix empty state Chooser Activity UX

Bug: 26261965
Change-Id: I07680f70442a2f04dfd41d49ba4be327b9ccb38e

8 years agoMerge "Update WifiScanningService class name to new location" into nyc-dev
Mitchell Wills [Tue, 12 Apr 2016 16:45:32 +0000 (16:45 +0000)]
Merge "Update WifiScanningService class name to new location" into nyc-dev

8 years agoMerge "Add tests for profile keys in LockSettingsStorage" into nyc-dev
Ricky Wai [Tue, 12 Apr 2016 16:42:55 +0000 (16:42 +0000)]
Merge "Add tests for profile keys in LockSettingsStorage" into nyc-dev

8 years agoRename home to settings home
Jason Monk [Tue, 12 Apr 2016 16:42:30 +0000 (12:42 -0400)]
Rename home to settings home

Change-Id: Ie80e71353078431ce1e71e2f9f80b98eae4398b7
Fixes: 27834453

8 years agoMerge "Tint current root icon." into nyc-dev
Steve McKay [Tue, 12 Apr 2016 16:41:49 +0000 (16:41 +0000)]
Merge "Tint current root icon." into nyc-dev

8 years agoMerge "Update system icon" into nyc-dev
Jason Monk [Tue, 12 Apr 2016 16:36:15 +0000 (16:36 +0000)]
Merge "Update system icon" into nyc-dev

8 years agoMerge "Settings dashboard performance work" into nyc-dev
Jason Monk [Tue, 12 Apr 2016 16:35:43 +0000 (16:35 +0000)]
Merge "Settings dashboard performance work" into nyc-dev

8 years agoMerge "Fix gear not showing on left hand side of notification" into nyc-dev
Mady Mellor [Tue, 12 Apr 2016 16:35:32 +0000 (16:35 +0000)]
Merge "Fix gear not showing on left hand side of notification" into nyc-dev

8 years agoMerge "Default font scale is 1 if not otherwise specified" into nyc-dev
Alan Viverette [Tue, 12 Apr 2016 16:29:27 +0000 (16:29 +0000)]
Merge "Default font scale is 1 if not otherwise specified" into nyc-dev

8 years agoAnother protected broadcast.
Jeff Sharkey [Tue, 12 Apr 2016 16:28:03 +0000 (10:28 -0600)]
Another protected broadcast.

Bug: 28133722
Change-Id: I5fe8158a3c66168e1c5482711a487eba55876b73

8 years agoMerge "Fix: ResolverActivity sometimes cannot update the last chosen activity" into...
Adam Powell [Tue, 12 Apr 2016 16:24:35 +0000 (16:24 +0000)]
Merge "Fix: ResolverActivity sometimes cannot update the last chosen activity" into nyc-dev

8 years agoMerge "Fix broken delegates for FontFamily and PathParser" into nyc-dev
Diego Perez [Tue, 12 Apr 2016 16:24:21 +0000 (16:24 +0000)]
Merge "Fix broken delegates for FontFamily and PathParser" into nyc-dev

8 years agoMerge "Make sure that Toast is always shown by Meta-Space." into nyc-dev
Yohei Yukawa [Tue, 12 Apr 2016 16:22:46 +0000 (16:22 +0000)]
Merge "Make sure that Toast is always shown by Meta-Space." into nyc-dev

8 years agoUpdate system icon
Jason Monk [Tue, 12 Apr 2016 16:21:40 +0000 (12:21 -0400)]
Update system icon

Change-Id: I5f6422e2a9cdc308ad8818fa554d8d421a188de6
Fixes: 24326872

8 years agoFix broken delegates for FontFamily and PathParser
Diego Perez [Tue, 12 Apr 2016 14:34:26 +0000 (15:34 +0100)]
Fix broken delegates for FontFamily and PathParser

The theme editor is throwing an exception with the last embedded
layoutlib because a missing method. Added also another missing method in
FontFamily.

Change-Id: I710ba7618df6444a3185b581cdc5dc8400f7c604

8 years agoFix: ResolverActivity sometimes cannot update the last chosen activity
Yuichi Biwa [Thu, 6 Aug 2015 10:45:27 +0000 (19:45 +0900)]
Fix: ResolverActivity sometimes cannot update the last chosen activity

Symptom:
Calling startActivity() with an implicit intent,
ResolverActivity displays preferred activity candidates.
At first user selects one of them as "JUST ONCE".
And next, the last one is shown again on the top with "JUST ONCE" and
"ALWAYS".

But even if user selects another ones except top with "JUST ONCE".
Next time, the last one is not shown on the top.
Instead of that, first one still remain on the top.

It means that user can't select activities as "ALWAYS"
except first one.

Root cause:
The implicit intent has a URI but not MIME type.
In this case, Intent#resolveTypeIfNeeded returns "null".
So MIME type is not passed to PackageManagerService.
That's why this issue happens.

Change-Id: I87b6da9c5d8b47e071bbedf9f7d5f3ecea730875

8 years agoTrack libcore change 2115cc0ca7d60965a361129d8826478ff2d847e4
Yi Kong [Tue, 12 Apr 2016 14:45:10 +0000 (15:45 +0100)]
Track libcore change 2115cc0ca7d60965a361129d8826478ff2d847e4

Bug: 28108421
Change-Id: I774f264bf538b0fa2aac63c8e5225f82d7b03c2e
(cherry picked from commit 5182e272ad7b14604dc4d90114d97cf238140178)
(cherry picked from commit 05a77eee41804fc135cd43a7dfb8125c3365b0e2)

8 years agoDestroy Closures in ScriptGroup
Yang Ni [Tue, 5 Apr 2016 00:09:11 +0000 (17:09 -0700)]
Destroy Closures in ScriptGroup

Bug: 27973681

Implemented correct destruction in ScriptGroup.destroy() and
Clsoure.destroy(), which properly destroys child BaseObj's.

Change-Id: I946f62c2979d6a338b8883514cacad472a213c5c
(cherry picked from commit 44e2f45f0cab4a429e59f07c1e5bf0eef08c7819)

8 years agoFixes name of intent launch flag for Action Extender
Alex Hills [Tue, 12 Apr 2016 15:36:18 +0000 (11:36 -0400)]
Fixes name of intent launch flag for Action Extender

Changes the name from set/getHintContentIntentLaunchesActivity
to set/getLaunchesActivty

Change-Id: I8ef879ae82cc360163fcd689eb5fad0d2b9d7db0

8 years agoMerge "Guard against crashes from data saver listeners" into nyc-dev
Jason Monk [Tue, 12 Apr 2016 15:39:07 +0000 (15:39 +0000)]
Merge "Guard against crashes from data saver listeners" into nyc-dev

8 years agoMerge "Return everything but an autogroup summary." into nyc-dev
Julia Reynolds [Tue, 12 Apr 2016 15:33:19 +0000 (15:33 +0000)]
Merge "Return everything but an autogroup summary." into nyc-dev

8 years agoReturn everything but an autogroup summary.
Julia Reynolds [Tue, 12 Apr 2016 15:16:37 +0000 (11:16 -0400)]
Return everything but an autogroup summary.

Bug: 28132467
Change-Id: I9a6df6d3e876af00a9ef6fc8ed702ed8342c751a

8 years agoMerge "remove special case code for groups." into nyc-dev
Chris Wren [Tue, 12 Apr 2016 15:25:15 +0000 (15:25 +0000)]
Merge "remove special case code for groups." into nyc-dev

8 years agoMerge "Customizes input extract edit view for Wear" into nyc-dev
Mark Renouf [Tue, 12 Apr 2016 15:18:17 +0000 (15:18 +0000)]
Merge "Customizes input extract edit view for Wear" into nyc-dev

8 years agoMerge "Add initial unit tests for WebViewUpdateService." into nyc-dev
Gustav Sennton [Tue, 12 Apr 2016 15:17:04 +0000 (15:17 +0000)]
Merge "Add initial unit tests for WebViewUpdateService." into nyc-dev

8 years agoCustomizes input extract edit view for Wear
Mark Renouf [Mon, 11 Apr 2016 20:03:26 +0000 (16:03 -0400)]
Customizes input extract edit view for Wear

Provides an alternate presentation of the extract edit area
of an input method window, designed for sub 250dp width screens.

An icon is used on a round material style button in place of a text
action, providing more horizontal space for the editing area.

BUG: 28098677
(cherry picked from commit fd71a6a5d99bad5d3ab32edc328fb5b026b66215)

Change-Id: I0e559d17f78d1a48b37979a49e11ae1aad7503f4

8 years agoMerge changes from topic 'vr-fixes' into nyc-dev
Daniel Sandler [Tue, 12 Apr 2016 14:57:40 +0000 (14:57 +0000)]
Merge changes from topic 'vr-fixes' into nyc-dev

* changes:
  Suppress immersive mode confirmation in VR mode.
  Suppress heads-up notifications in VR mode.

8 years agoDefault font scale is 1 if not otherwise specified
Alan Viverette [Tue, 12 Apr 2016 14:54:04 +0000 (10:54 -0400)]
Default font scale is 1 if not otherwise specified

Prevents the previous user's font scale from being used as the default.

Bug: 27187556
Change-Id: I51a66ddf2d6272bd74d433158db1c8cc54b45b6d

8 years agoMerge "Framework-side of SurfaceView#getBitmap" into nyc-dev
John Reck [Tue, 12 Apr 2016 14:36:10 +0000 (14:36 +0000)]
Merge "Framework-side of SurfaceView#getBitmap" into nyc-dev

8 years agoSettings dashboard performance work
Jason Monk [Tue, 12 Apr 2016 14:30:43 +0000 (10:30 -0400)]
Settings dashboard performance work

 - Allow rebuilding apps not in the foreground
 - Allow rebuilding apps without a comparator
 - Initially apply current configuration so we don't immediately clear
   tile cache

Change-Id: I8d57f7e8f7fa119915bf6fdc8ece8bee976edbdc
Fixes: 26541310

8 years agoremove special case code for groups.
Chris Wren [Mon, 11 Apr 2016 20:48:24 +0000 (16:48 -0400)]
remove special case code for groups.

Once all the platforms as special, none of them will be.

Bug: 26919636
Change-Id: I70eb05126184feb2af310e71f0ffd82ab9dcebc6

8 years agoAdd initial unit tests for WebViewUpdateService.
Gustav Sennton [Thu, 7 Apr 2016 14:56:10 +0000 (15:56 +0100)]
Add initial unit tests for WebViewUpdateService.

The logic in the WebViewUpdateService is now more complex and there
are lots of edge cases that should be tested to make sure we don't
regress anything.

Also refrain from running fallback logic on boot if fallback logic not
enabled (bug found through a failing test, yeeah buddy!).

Catch uncaught MissingWebViewException (very timing-dependent!) and add
test for this.

Add tests for:
Some package setups (single package, non-default vs. default packages,
    valid vs. invalid packages).
Ensure correct error codes used
Switching provider through settings-method
Switching provider through adding more prioritized provider
Switching provider in the middle of already running webview preparation
Ensure fallback logic is run when enabled and not run when disabled (at
    boot, packageStateChanged, and when adding a new user).

Bug: 27635535

Change-Id: I275ecb0f6129f71258da0fa053e7f7b36a675886

8 years agoMerge "Track libcore change 135ea6cd4f7ebe2f225351a1928d8a62bce5cb00" into nyc-dev
Shubham Ajmera [Tue, 12 Apr 2016 12:23:00 +0000 (12:23 +0000)]
Merge "Track libcore change 135ea6cd4f7ebe2f225351a1928d8a62bce5cb00" into nyc-dev

8 years agoMerge "Add more checks for invalid states when reading webview packages config."...
Gustav Sennton [Tue, 12 Apr 2016 11:43:19 +0000 (11:43 +0000)]
Merge "Add more checks for invalid states when reading webview packages config." into nyc-dev

8 years agoMerge "Fixed cross profile usage of TextClock." into nyc-dev
Oleksandr Peletskyi [Tue, 12 Apr 2016 11:33:18 +0000 (11:33 +0000)]
Merge "Fixed cross profile usage of TextClock." into nyc-dev

8 years agoAdd tests for profile keys in LockSettingsStorage
Ricky Wai [Thu, 31 Mar 2016 15:48:29 +0000 (16:48 +0100)]
Add tests for profile keys in LockSettingsStorage

Bug: 27940135
Change-Id: Iade153f6607db4c75385bed6f20d3120c10674b0

8 years agoAdd more checks for invalid states when reading webview packages config.
Gustav Sennton [Thu, 7 Apr 2016 15:37:58 +0000 (16:37 +0100)]
Add more checks for invalid states when reading webview packages config.

There should be at least one available-by-default package (otherwise the
user would have to explicitly choose webview implementation before using
webview). Furthermore a fallback package should always be available by
default (otherwise it would have to be chosen by the user to be used
after being enabled).

Bug: 28014401
Change-Id: I90c300898a5be4219317d65f15878e1d421193d7

8 years agoMerge "Keyboard shortcuts: minor type change" into nyc-dev
Andrei Stingaceanu [Tue, 12 Apr 2016 10:19:05 +0000 (10:19 +0000)]
Merge "Keyboard shortcuts: minor type change" into nyc-dev

8 years agoKeyboard shortcuts: minor type change
Andrei Stingaceanu [Tue, 12 Apr 2016 10:07:39 +0000 (11:07 +0100)]
Keyboard shortcuts: minor type change

Stop using Lists.newArrayList() in favor of new ArrayList().

Bug: 28014459
Change-Id: I7e00564b402f90019a89c52f70bc943f88ff75fb

8 years agoDocumentation for flex field
Shreyas Basarge [Tue, 12 Apr 2016 09:59:07 +0000 (10:59 +0100)]
Documentation for flex field

Add documentation for getFlexMillis in JobInfo.

Bug: 27530396
Change-Id: I98319cd8ceb0ecd56ab3000bdd31d8bca1bacc3f