OSDN Git Service

android-x86/frameworks-base.git
8 years agoMediaBrowserService: Provide a way to retrieve root hints
Sungsoo Lim [Thu, 14 Apr 2016 21:05:02 +0000 (14:05 -0700)]
MediaBrowserService: Provide a way to retrieve root hints

Bug: 28075963
Change-Id: Id8993e67732a2dda5bf75ecab6037dbbba8c8c99

8 years agoMerge "Connect WifiScanner synchronously without sync barrier" into nyc-dev
Mitchell Wills [Fri, 15 Apr 2016 18:10:45 +0000 (18:10 +0000)]
Merge "Connect WifiScanner synchronously without sync barrier" into nyc-dev

8 years agoMerge "CEC: Remove listener records only if they are currently used" into nyc-dev
TreeHugger Robot [Fri, 15 Apr 2016 18:10:23 +0000 (18:10 +0000)]
Merge "CEC: Remove listener records only if they are currently used" into nyc-dev

8 years agoMerge "Added new actions for Data Saver stats." into nyc-dev
TreeHugger Robot [Fri, 15 Apr 2016 17:53:40 +0000 (17:53 +0000)]
Merge "Added new actions for Data Saver stats." into nyc-dev

8 years agoMerge "Update FloatingToolbar overflow button." into nyc-dev
Abodunrinwa Toki [Fri, 15 Apr 2016 17:52:08 +0000 (17:52 +0000)]
Merge "Update FloatingToolbar overflow button." into nyc-dev

8 years agoMerge "Fix ref count of fillGradient and strokeGradient" into nyc-dev
Doris Liu [Fri, 15 Apr 2016 17:47:21 +0000 (17:47 +0000)]
Merge "Fix ref count of fillGradient and strokeGradient" into nyc-dev

8 years agoMerge "TIF: Specify the default implementation of onTune(Uri, Bundle)" into nyc-dev
TreeHugger Robot [Fri, 15 Apr 2016 17:39:12 +0000 (17:39 +0000)]
Merge "TIF: Specify the default implementation of onTune(Uri, Bundle)" into nyc-dev

8 years agoFix parse flags
Todd Kennedy [Wed, 13 Apr 2016 17:49:29 +0000 (10:49 -0700)]
Fix parse flags

Setting PARSE_IS_SYSTEM to the parse flags happens long after the
APK is actually parsed. So, we fail to pick up the boot aware and
protected storage attributes. Instead, always pull them from the
manifest, but, remove the flags if the package is not actually a
system package.

Also, we were incorrectly skipping certificate verification if
the flag PARSE_IS_SYSTEM was set. However, this flag is used for
_any_ system package -- whether it's physically on /system or if
it's an unbundled update. Instead, we should only skip this step
if the flag PARSE_IS_SYSTEM_DIR. We can implicitly trust any
APK actually stored in /system.

On a different note ... At some point, we will break apart the
parse flags into actual parse flags [i.e. those that change
physically parsing an APK] and policy flags [i.e. those that
change the interpretation of the APK contents].

Bug: 28116074
Bug: 28088617
Change-Id: I85246b0cb18fb5647df3618107910e288137fbc7

8 years agoCEC: Remove listener records only if they are currently used
Donghyun Cho [Fri, 15 Apr 2016 00:12:03 +0000 (09:12 +0900)]
CEC: Remove listener records only if they are currently used

HdmiControlService manages listeners in listener record instances, and
remove them when binders become disconnected. However, if the listener
and its record are replaced due to new listener, the record for the new
listener should not be set as null by previous binder's disconnection
signal.

Bug: 28069465
Change-Id: I2984d8f93d6443048cf5d3f2988b3c6cf362f012
(cherry picked from commit f5c2a1f58dc95b9800ffb6ebf405c11acc6626b2)

8 years agoMerge "Use a binder instead of a bundle in removeSubscriptionWithOptions" into nyc-dev
Sungsoo Lim [Fri, 15 Apr 2016 16:42:46 +0000 (16:42 +0000)]
Merge "Use a binder instead of a bundle in removeSubscriptionWithOptions" into nyc-dev

8 years agoMerge "Remove all icon bitmaps when a publisher is uninstalled." into nyc-dev
Makoto Onuki [Fri, 15 Apr 2016 16:34:17 +0000 (16:34 +0000)]
Merge "Remove all icon bitmaps when a publisher is uninstalled." into nyc-dev

8 years agoAdded new actions for Data Saver stats.
Felipe Leme [Thu, 14 Apr 2016 21:26:56 +0000 (14:26 -0700)]
Added new actions for Data Saver stats.

BUG: 28166693
Change-Id: I9b7bba21da622ade9a419f3717a2d18a87f4143d

8 years agoMerge "Revert "Revert "Throw security exception for non-parent aware APIs""" into...
Benjamin Franz [Fri, 15 Apr 2016 15:34:51 +0000 (15:34 +0000)]
Merge "Revert "Revert "Throw security exception for non-parent aware APIs""" into nyc-dev

8 years agoMerge "Don't do layout in hasGlyph for codepoint + vs" into nyc-dev
Raph Levien [Fri, 15 Apr 2016 15:20:20 +0000 (15:20 +0000)]
Merge "Don't do layout in hasGlyph for codepoint + vs" into nyc-dev

8 years agoMerge "Notification slider update." into nyc-dev
Julia Reynolds [Fri, 15 Apr 2016 15:18:22 +0000 (15:18 +0000)]
Merge "Notification slider update." into nyc-dev

8 years agoRevert "Revert "Throw security exception for non-parent aware APIs""
Benjamin Franz [Fri, 15 Apr 2016 07:57:52 +0000 (08:57 +0100)]
Revert "Revert "Throw security exception for non-parent aware APIs""

This reverts commit a26c6265641543aef24245b84064b8f58de66c29.

Bug: 27532279
Change-Id: I0c0394a8abf12e7382e7083a0b9d7f8385c3a63d

8 years agoNotification slider update.
Julia Reynolds [Thu, 7 Apr 2016 00:31:05 +0000 (20:31 -0400)]
Notification slider update.

Bug: 27558254
Change-Id: I5e03aacf3aafb900f45d227a031a5dbb328ba18f

8 years agoMerge "Don't show the unlock notification when Work mode is off" into nyc-dev
Benjamin Franz [Fri, 15 Apr 2016 14:53:41 +0000 (14:53 +0000)]
Merge "Don't show the unlock notification when Work mode is off" into nyc-dev

8 years agoMerge "Maybe decrypt user when quiet mode is disabled" into nyc-dev
Benjamin Franz [Fri, 15 Apr 2016 14:53:16 +0000 (14:53 +0000)]
Merge "Maybe decrypt user when quiet mode is disabled" into nyc-dev

8 years agoMerge "Fix cannot unlock keyguard when work challege is unified and work mode is...
Ricky Wai [Fri, 15 Apr 2016 13:44:52 +0000 (13:44 +0000)]
Merge "Fix cannot unlock keyguard when work challege is unified and work mode is off" into nyc-dev

8 years agoMaybe decrypt user when quiet mode is disabled
Benjamin Franz [Mon, 4 Apr 2016 17:52:21 +0000 (18:52 +0100)]
Maybe decrypt user when quiet mode is disabled

When quiet mode is disabled for a user and that user is not currently
decrypted, we show a confirm credentials screen to trigger decryption
of that user. Only if that was successful, do we actually disable quiet
mode.

Bug: 27764124
Change-Id: Ib1f649194d89e225dad62c14f3ddba1fa3d79da2

8 years agoUpdate FloatingToolbar overflow button.
Abodunrinwa Toki [Wed, 13 Apr 2016 13:53:28 +0000 (14:53 +0100)]
Update FloatingToolbar overflow button.

1. Change the background ripple to the type used in the ActionBar.
   It looks better.

Bug: 28206428
Change-Id: I2c3ebdc2479ec554c6b06d637b418a52a1794d7b

8 years agoMerge "Metrics logging for DNS queries." into nyc-dev
TreeHugger Robot [Fri, 15 Apr 2016 11:14:56 +0000 (11:14 +0000)]
Merge "Metrics logging for DNS queries." into nyc-dev

8 years agoMerge "Call notifyLockedProfile in TrustManagerService instead of KeyguardViewMediato...
Nicolas Prévot [Fri, 15 Apr 2016 09:52:54 +0000 (09:52 +0000)]
Merge "Call notifyLockedProfile in TrustManagerService instead of KeyguardViewMediator." into nyc-dev

8 years agoFix cannot unlock keyguard when work challege is unified and work mode is off
Ricky Wai [Thu, 14 Apr 2016 09:00:22 +0000 (10:00 +0100)]
Fix cannot unlock keyguard when work challege is unified and work mode is off

Bug: 28138657
Change-Id: I20e2f571d9ac76c0cd92251de7e068f6c7fb3367

8 years agoMetrics logging for DNS queries.
Lorenzo Colitti [Tue, 12 Apr 2016 14:29:19 +0000 (23:29 +0900)]
Metrics logging for DNS queries.

Bug: 28204408
Change-Id: I05fc9b580aa20d99e8766057e17a38b5eb6267e8

8 years agoDisambiguate NetworkCallback JavaDoc.
Lorenzo Colitti [Wed, 13 Apr 2016 13:00:02 +0000 (22:00 +0900)]
Disambiguate NetworkCallback JavaDoc.

The JavaDoc for many of the requestNetwork and
[un]registerNetworkCallback APIs incorrectly mentions the
PendingIntent version of the APIs instead of the NetworkCallback
version.

Also fix a minor issue in the registerDefaultNetworkCallback
JavaDoc: the default network request is an implementation detail,
so don't mention it. Instead, talk about the "system default
network".

Change-Id: Id94d98261daa2bd768c10e033cb8092729b21c91

8 years agoMerge changes Id603816c,I86e41324,I025d0558,I44d8dbac,Iabfc2e81, ... into nyc-dev
Rob Carr [Fri, 15 Apr 2016 06:20:26 +0000 (06:20 +0000)]
Merge changes Id603816c,I86e41324,I025d0558,I44d8dbac,Iabfc2e81, ... into nyc-dev

* changes:
  Only set mResizedWhileNotDragResizing for base windows.
  Fix Task dim with docked resize.
  Correct window replacement string comparison.
  Replace DimLayers with windows.
  Prevent premature window replacement.
  Correctly prevent entrance animation for replacing windows.
  Replace secondary app windows across activity relaunch.

8 years agoMerge "Remember task which is being locked" into nyc-dev
Andrii Kulian [Fri, 15 Apr 2016 04:32:55 +0000 (04:32 +0000)]
Merge "Remember task which is being locked" into nyc-dev

8 years agoDon't do layout in hasGlyph for codepoint + vs
Raph Levien [Fri, 15 Apr 2016 04:22:37 +0000 (21:22 -0700)]
Don't do layout in hasGlyph for codepoint + vs

In the case where the input is a base codepoint + a variation selector,
the code currently checks hasVariationSelector and then does a layout,
checking for a single glyph. However, HarfBuzz in some cases will change
the VS into a space glyph, so hasGlyph will return false.

This patch makes hasGlyph rely entirely on the hasVariationSelector
method in the case of a base codepoint + a VS

Bug: 27531970
Bug: 28182689
Change-Id: Id190c427149213509f2d779ec1aa330feb4b62d8

8 years agoPut windows into resizing during IME adjust animation
Jorim Jaggi [Thu, 14 Apr 2016 20:12:36 +0000 (13:12 -0700)]
Put windows into resizing during IME adjust animation

Because the IME animates in with translucency there was a black hole
visible at the bottom. This CL puts the window into resizing mode,
waits until the change is commited, and then starts the animation

Bug: 28175599
Change-Id: Ib31c1e765639e5490208bccba77b25318ec8dc71

8 years agoDisable resize when IME is adjusted
Jorim Jaggi [Thu, 14 Apr 2016 04:02:22 +0000 (21:02 -0700)]
Disable resize when IME is adjusted

Bug: 28175599
Change-Id: I338dd230443973d912f17946ed722789b0f545a2

8 years agoAdd nice animation when adjusting for IME in multi-window
Jorim Jaggi [Thu, 14 Apr 2016 03:17:43 +0000 (20:17 -0700)]
Add nice animation when adjusting for IME in multi-window

- Run a separate animation when we need to adjust for the IME. We
can't use the attached animation because the adjustment animation
needs to be longer than the IME animation.
- Also run an animation when IME is disappearing.
- Adjust IME exit animation to better match with adjustment exit
animation.
- Make sure to update adjust for IME when entry/exit animation of
IME is starting, to avoid flickers.
- Don't update the IME window in PhoneWindowManager for layout
until the animation has started. This lead to an issue where the
content inset was set too large too early.

Bug: 27154882
Bug: 28175599
Change-Id: I09a33413e307f84d6c3cf4ae928c280f7ad48348

8 years agoDon't log transition time if no process switch
Jorim Jaggi [Tue, 12 Apr 2016 07:53:16 +0000 (00:53 -0700)]
Don't log transition time if no process switch

If the process of an activity that is launching has another
non-stopped activity, the data is not that interesting,
so remove the logging in these cases.

Bug: 27295491
Change-Id: I65d4a0e01b1e634a589ce8ecbbab337f0e6497ca

8 years agoRemember task which is being locked
Andrii Kulian [Thu, 14 Apr 2016 07:41:51 +0000 (00:41 -0700)]
Remember task which is being locked

We need to remember task which requested to be locked
because we can accidentally lock another task after
user interacts with pinning request dialog.

Bug: 27876860
Change-Id: Ie8e607df4380dd33ea9b3474afc247b02e31de07

8 years agoMerge "Temporarily increase timeout for devices with buggy driver" into nyc-dev
Jim Miller [Fri, 15 Apr 2016 01:51:55 +0000 (01:51 +0000)]
Merge "Temporarily increase timeout for devices with buggy driver" into nyc-dev

8 years agoTemporarily increase timeout for devices with buggy driver
Jim Miller [Fri, 15 Apr 2016 01:46:29 +0000 (18:46 -0700)]
Temporarily increase timeout for devices with buggy driver

Some devices don't properly respond to cancel() which must
return a cancel notification. This workaround shortens the
timeout for those devices so they're functional until
this is fixed.

Workaround for bug 28201240

Change-Id: I9a5b41e400c217444b8df97ebee2b60f5b879d76

8 years agoMerge "Synchronize future unsync transactions to last sync." into nyc-dev
Rob Carr [Fri, 15 Apr 2016 01:49:59 +0000 (01:49 +0000)]
Merge "Synchronize future unsync transactions to last sync." into nyc-dev

8 years agoFix configuration calculation in multi-window
Jorim Jaggi [Thu, 14 Apr 2016 07:00:53 +0000 (00:00 -0700)]
Fix configuration calculation in multi-window

Bug: 27975877
Change-Id: I97dcbe7570fe2fdb82dafef8a07fe7351d901704

8 years agoFix ref count of fillGradient and strokeGradient
Doris Liu [Fri, 15 Apr 2016 01:13:36 +0000 (18:13 -0700)]
Fix ref count of fillGradient and strokeGradient

Bug: 28086621
Change-Id: Ibb52bdfb20904f0ad102878fbb33d3679bb5132d

8 years agoMerge "Fix bug where fingerprint events can be delivered to the wrong client" into...
Jim Miller [Fri, 15 Apr 2016 01:33:13 +0000 (01:33 +0000)]
Merge "Fix bug where fingerprint events can be delivered to the wrong client" into nyc-dev

8 years agoMerge "Fixing jank issue with animating alpha." into nyc-dev
Winson Chung [Fri, 15 Apr 2016 01:25:14 +0000 (01:25 +0000)]
Merge "Fixing jank issue with animating alpha." into nyc-dev

8 years agoFixing jank issue with animating alpha.
Winson [Fri, 15 Apr 2016 01:20:56 +0000 (18:20 -0700)]
Fixing jank issue with animating alpha.

Change-Id: I32685921eb58210f3ab012587c607d84a64be494

8 years agoMerge "Take app screenshots in 565." into nyc-dev
Winson Chung [Fri, 15 Apr 2016 00:56:18 +0000 (00:56 +0000)]
Merge "Take app screenshots in 565." into nyc-dev

8 years agoFix bug where fingerprint events can be delivered to the wrong client
Jim Miller [Thu, 14 Apr 2016 03:28:18 +0000 (20:28 -0700)]
Fix bug where fingerprint events can be delivered to the wrong client

- Make FingerprintService more closely track the expected state of fingerprintd.
- Don't switch to a new operation until fingerprintd completes previous operation.
- Refactor clients into separate classes and add tracking logic.
- Add missing enumerate()/cancelEnumeration() methods to IFingerprintDaemon
- Make late-binding decision of "foregroundness" of activity so that it's
decided in the order the events are actually handled.
- Add more logging so we can determine FingerprintService state when errors occur.
- Cache a copy of authenticator_id from the last time it was set so we don't
interrupt the driver during actual authentication.
- Don't allow clients to access authenticator_id unless they're current.

Fixes: 2790247826273819
Change-Id: Ic1f9e30bd89bcdbb8fe7f69e0545e68339317721

8 years agoRemove all icon bitmaps when a publisher is uninstalled.
Makoto Onuki [Fri, 15 Apr 2016 00:19:16 +0000 (17:19 -0700)]
Remove all icon bitmaps when a publisher is uninstalled.

- Also show the directory sizes on dumpsys.

Bug 28196831

Change-Id: I3202fcd3151da3b26b436732e8103caf93aba525

8 years agoMerge "ExifInterface: return only a JPEG-compressed thumbnail of RAW images" into...
Jaesung Chung [Fri, 15 Apr 2016 00:19:07 +0000 (00:19 +0000)]
Merge "ExifInterface: return only a JPEG-compressed thumbnail of RAW images" into nyc-dev

8 years agoMerge "Ensure sane WallpaperData" into nyc-dev
TreeHugger Robot [Fri, 15 Apr 2016 00:07:40 +0000 (00:07 +0000)]
Merge "Ensure sane WallpaperData" into nyc-dev

8 years agoMerge "Fix LockscreenWallpaper panning" into nyc-dev
Adrian Roos [Fri, 15 Apr 2016 00:04:55 +0000 (00:04 +0000)]
Merge "Fix LockscreenWallpaper panning" into nyc-dev

8 years agoMerge "Disable auto-drawer opening if intent is creating doc on empty dir." into...
Ben Lin [Fri, 15 Apr 2016 00:02:58 +0000 (00:02 +0000)]
Merge "Disable auto-drawer opening if intent is creating doc on empty dir." into nyc-dev

8 years agoMerge "Partial revert of c1a80b08f08cfb038625cec537390705d16db3f5" into nyc-dev
Adrian Roos [Thu, 14 Apr 2016 23:57:04 +0000 (23:57 +0000)]
Merge "Partial revert of c1a80b08f08cfb038625cec537390705d16db3f5" into nyc-dev

8 years agoMerge "Revert "Optimize ResTable::getLocales() to improve bindApplication performance...
Tim Murray [Thu, 14 Apr 2016 23:48:15 +0000 (23:48 +0000)]
Merge "Revert "Optimize ResTable::getLocales() to improve bindApplication performance"" into nyc-dev

8 years agoPartial revert of c1a80b08f08cfb038625cec537390705d16db3f5
Adrian Roos [Thu, 14 Apr 2016 23:44:48 +0000 (16:44 -0700)]
Partial revert of c1a80b08f08cfb038625cec537390705d16db3f5

Some apps still rely on notification_large_icon_width
and notification_large_icon_height to be 48dp in their
custom views. Temporarily revert change to 40dp until
apps are fixed.

Bug: 28161359
Change-Id: Ie476943af93de457e1635c168067e85dad7df315

8 years agoMerge "Removed the unused RIL constant" into nyc-dev
Jack Yu [Thu, 14 Apr 2016 23:32:42 +0000 (23:32 +0000)]
Merge "Removed the unused RIL constant" into nyc-dev

8 years agoDisable starting window for Recents
Chong Zhang [Thu, 14 Apr 2016 23:02:56 +0000 (16:02 -0700)]
Disable starting window for Recents

When using a starting window, transition could start early before
real app window is drawn. We don't want this with Recents, so disable
it explicitly.

bug: 27812497
Change-Id: I648b2de3f91923978ef8b3d4f2629f0f73321b98

8 years agoMerge "Fix crash due to null uri in ContentObserver.onChange" into nyc-dev
Chong Zhang [Thu, 14 Apr 2016 23:21:27 +0000 (23:21 +0000)]
Merge "Fix crash due to null uri in ContentObserver.onChange" into nyc-dev

8 years agoFix crash due to null uri in ContentObserver.onChange
Chong Zhang [Thu, 14 Apr 2016 21:58:53 +0000 (14:58 -0700)]
Fix crash due to null uri in ContentObserver.onChange

Also make sure we don't respond to unrecognized changes.

bug: 27291666
Change-Id: I110445231d15427e1fe9e225ed0520af262f740e

8 years agoRevert "Optimize ResTable::getLocales() to improve bindApplication performance"
Tim Murray [Thu, 14 Apr 2016 22:44:35 +0000 (15:44 -0700)]
Revert "Optimize ResTable::getLocales() to improve bindApplication performance"

This reverts commit 5520581b5f043fb858b5b2044ff33ad8545a6d38.

bug 28189634

Change-Id: I2d2b859f6d9bd44434fa901cce990583f514980c

8 years agoTake app screenshots in 565.
Winson [Thu, 14 Apr 2016 22:27:15 +0000 (15:27 -0700)]
Take app screenshots in 565.

- Or to be specific, SurfaceFlinger can’t easily take 565 screenshots,
  so convert them when creating the ashmem bitmap.

Bug: 28151300
Change-Id: Ic7586659a41cc19c322136f77a1c52ef68c22707

8 years agoConnect WifiScanner synchronously without sync barrier
Mitchell Wills [Thu, 14 Apr 2016 20:39:44 +0000 (13:39 -0700)]
Connect WifiScanner synchronously without sync barrier

This allows the WifiScanner constructor to be called from the Looper
that is associated with the provided handler instead of relying on the
provided looper to execute initialization async.

Bug: 27695292
Change-Id: Id30dbb8d181971035a0b3f76dd485875e9d03ca3

8 years agoTIF: Specify the default implementation of onTune(Uri, Bundle)
Dongwon Kang [Thu, 14 Apr 2016 22:25:30 +0000 (15:25 -0700)]
TIF: Specify the default implementation of onTune(Uri, Bundle)

Bug: 28146354
Change-Id: I3148ab4704a03c258d330c3b9a10513f950a8cfc

8 years agoMerge "Disable recents button in carmode inside of NavigationBarView, instead of...
Sriram Viswanathan [Thu, 14 Apr 2016 22:05:11 +0000 (22:05 +0000)]
Merge "Disable recents button in carmode inside of NavigationBarView, instead of doing it from PhoneWindowManager, which doesnt maintain the mUiMode properly and in sync with that in the UiModeManager. In addition the re-layout / modifications in the content of the navigation bar in care mode are better consolidated in one place instead of many places." into nyc-dev

8 years agoMerge "PipManager: Revisit the logic for PIP close for TV app case" into nyc-dev
Dongwon Kang [Thu, 14 Apr 2016 21:38:10 +0000 (21:38 +0000)]
Merge "PipManager: Revisit the logic for PIP close for TV app case" into nyc-dev

8 years agoDisable recents button in carmode inside of NavigationBarView,
Sriram Viswanathan [Tue, 22 Mar 2016 20:11:50 +0000 (13:11 -0700)]
Disable recents button in carmode inside of NavigationBarView,
instead of doing it from PhoneWindowManager, which doesnt maintain
the mUiMode properly and in sync with that in the UiModeManager.
In addition the re-layout / modifications in the content of the
navigation bar in care mode are better consolidated in one place
instead of many places.

Bug: 27313462

Change-Id: I1bdc2324f649f19f879b71c695381587561498e9

8 years agoMerge "Add support for null tag names from apps." into nyc-dev
Joe Onorato [Thu, 14 Apr 2016 21:10:14 +0000 (21:10 +0000)]
Merge "Add support for null tag names from apps." into nyc-dev

8 years agoMerge "Update RestrictedSwitchPreference to have an additional summary." into nyc-dev
Sudheer Shanka [Thu, 14 Apr 2016 21:05:24 +0000 (21:05 +0000)]
Merge "Update RestrictedSwitchPreference to have an additional summary." into nyc-dev

8 years agoMerge "Fixes a bug in shortcut key." into nyc-dev
Muyuan Li [Thu, 14 Apr 2016 20:50:38 +0000 (20:50 +0000)]
Merge "Fixes a bug in shortcut key." into nyc-dev

8 years agoMerge "Fix isUserAddedCertificate" into nyc-dev
Chad Brubaker [Thu, 14 Apr 2016 20:48:52 +0000 (20:48 +0000)]
Merge "Fix isUserAddedCertificate" into nyc-dev

8 years agoFixes a bug in shortcut key.
Muyuan Li [Thu, 14 Apr 2016 20:22:20 +0000 (13:22 -0700)]
Fixes a bug in shortcut key.

All shortcut keys that are dispatched to listeners will be checked
against user provisioning status. Only if user setup is complete will
the listeners receive shortcut keys.

Bug: 28192375
Change-Id: Iecc5a21a40d07bdc4f71d1a36187cca4a5b30bde
(cherry picked from commit f0667f077f66ba3e58387f7570dd82a26aaed7b8)

8 years agoMerge "Unify dumped native stack traces" into nyc-dev
Andy Hung [Thu, 14 Apr 2016 20:47:23 +0000 (20:47 +0000)]
Merge "Unify dumped native stack traces" into nyc-dev

8 years agoMerge "Don't show icons in overlay popup menus." into nyc-dev
Oren Blasberg [Thu, 14 Apr 2016 20:34:52 +0000 (20:34 +0000)]
Merge "Don't show icons in overlay popup menus." into nyc-dev

8 years agoMerge "TIF: Add Programs.COLUMN_RECORDING_PROHIBITED" into nyc-dev
Dongwon Kang [Thu, 14 Apr 2016 20:13:57 +0000 (20:13 +0000)]
Merge "TIF: Add Programs.COLUMN_RECORDING_PROHIBITED" into nyc-dev

8 years agoEnsure sane WallpaperData
Adrian Roos [Thu, 14 Apr 2016 17:47:52 +0000 (10:47 -0700)]
Ensure sane WallpaperData

Also adds dumpsys output for lock wallpapers.

Fixes: 28192320
Change-Id: I66ccf8afad7412ae346e7cc02d030c2fdda97753

8 years agoMerge "Add a null check to prevent NPE" into nyc-dev
Sid Soundararajan [Thu, 14 Apr 2016 20:02:28 +0000 (20:02 +0000)]
Merge "Add a null check to prevent NPE" into nyc-dev

8 years agoMerge "SoundTriggerHelper: Add ability to manage multiple voice models." into nyc-dev
Arunesh Mishra [Thu, 14 Apr 2016 19:59:58 +0000 (19:59 +0000)]
Merge "SoundTriggerHelper: Add ability to manage multiple voice models." into nyc-dev

8 years agoMerge "Cache the parsed result of WebView provider config xml" into nyc-dev
Hui Shu [Thu, 14 Apr 2016 19:53:12 +0000 (19:53 +0000)]
Merge "Cache the parsed result of WebView provider config xml" into nyc-dev

8 years agoMerge "Fixed initial metered state of new policy." into nyc-dev
Felipe Leme [Thu, 14 Apr 2016 19:50:09 +0000 (19:50 +0000)]
Merge "Fixed initial metered state of new policy." into nyc-dev

8 years agoFixed initial metered state of new policy.
Felipe Leme [Thu, 14 Apr 2016 19:46:09 +0000 (12:46 -0700)]
Fixed initial metered state of new policy.

BUG: 27808364
Change-Id: I33d45a971c66623bcd94ebe95e84fb852308d8ea

8 years agoMerge "Return complete properties map instead of per view" into nyc-dev
Deepanshu Gupta [Thu, 14 Apr 2016 19:42:15 +0000 (19:42 +0000)]
Merge "Return complete properties map instead of per view" into nyc-dev

8 years agoReturn complete properties map instead of per view
Deepanshu Gupta [Thu, 14 Apr 2016 19:38:23 +0000 (12:38 -0700)]
Return complete properties map instead of per view

Change-Id: Ib7c71606d1bf43bbaa80f5601a8508d7aa49d953

8 years agoMerge "TIF: Update documentation on time shifting start/current position" into nyc-dev
Jae Seo [Thu, 14 Apr 2016 19:28:48 +0000 (19:28 +0000)]
Merge "TIF: Update documentation on time shifting start/current position" into nyc-dev

8 years agoMerge "PopupWindow. Don't use -1 width/height for calculations." into nyc-dev
Rob Carr [Thu, 14 Apr 2016 19:28:41 +0000 (19:28 +0000)]
Merge "PopupWindow. Don't use -1 width/height for calculations." into nyc-dev

8 years agoUpdate RestrictedSwitchPreference to have an additional summary.
Sudheer Shanka [Wed, 13 Apr 2016 17:13:26 +0000 (10:13 -0700)]
Update RestrictedSwitchPreference to have an additional summary.

Bug: 27659072
Change-Id: Idfefe16f709d092355ce9cfbd820aacf12b95692

8 years agoSoundTriggerHelper: Add ability to manage multiple voice models.
Arunesh Mishra [Mon, 11 Apr 2016 03:35:16 +0000 (20:35 -0700)]
SoundTriggerHelper: Add ability to manage multiple voice models.

This CL adds the ability in STH to manage multiple voice models indexed by
keyphrase ID, which is an integer.

Bug: 28104190
Change-Id: I8e10cca05ed8b4b8414cae7fffc26c132d4b7cbd

8 years agoMerge "Multi-window assist callback" into nyc-dev
Amith Yamasani [Thu, 14 Apr 2016 19:06:39 +0000 (19:06 +0000)]
Merge "Multi-window assist callback" into nyc-dev

8 years agoFix LockscreenWallpaper panning
Adrian Roos [Thu, 14 Apr 2016 19:04:28 +0000 (12:04 -0700)]
Fix LockscreenWallpaper panning

Bug: 27484494
Change-Id: Ic74b447213fcad5b7ca5107c5a0ebd9e76276ea6

8 years agoMerge "PIP: Fix regressions" into nyc-dev
Jaewan Kim [Thu, 14 Apr 2016 19:04:09 +0000 (19:04 +0000)]
Merge "PIP: Fix regressions" into nyc-dev

8 years agoMerge "Deal gracefully with empty srcs." into nyc-dev
Steve McKay [Thu, 14 Apr 2016 19:00:48 +0000 (19:00 +0000)]
Merge "Deal gracefully with empty srcs." into nyc-dev

8 years agoMerge "Make number picker styles public" into nyc-dev
Alan Viverette [Thu, 14 Apr 2016 18:59:21 +0000 (18:59 +0000)]
Merge "Make number picker styles public" into nyc-dev

8 years agoAdd support for null tag names from apps.
Joe Onorato [Wed, 13 Apr 2016 00:06:47 +0000 (17:06 -0700)]
Add support for null tag names from apps.

For Wakelocks and syncs there is no requirement that an app actually
supply a tag/name.  Jobs will always have system-supplied tags.

Bug: 26276001
Change-Id: Ie3b8e48a395de1506a2f15d5b9c9eab726bc6d0a

8 years agoMerge "Guard against null clipdata objects." into nyc-dev
Steve McKay [Thu, 14 Apr 2016 18:44:23 +0000 (18:44 +0000)]
Merge "Guard against null clipdata objects." into nyc-dev

8 years agoAdd a null check to prevent NPE
Sid Soundararajan [Thu, 14 Apr 2016 18:36:42 +0000 (11:36 -0700)]
Add a null check to prevent NPE

Rare case where the rect returned from a View is null.

BUG: 28118236
Change-Id: Ie95b082c92c110f753152a50399c188b19d14e4b

8 years agoMerge "Clarify how to replace cert generated by Android Keystore." into nyc-dev
Alex Klyubin [Thu, 14 Apr 2016 18:30:41 +0000 (18:30 +0000)]
Merge "Clarify how to replace cert generated by Android Keystore." into nyc-dev

8 years agoDon't show icons in overlay popup menus.
Oren Blasberg [Thu, 14 Apr 2016 18:14:09 +0000 (11:14 -0700)]
Don't show icons in overlay popup menus.

This was a "regression" in CascadingMenuPopup specifically.
We now check for the overflow case and don't show icons.
This preserves the behavior from Marshmallow.

Bug: 28026351
Change-Id: Ifbc9a20b0dadd19ef7b727023b1b0cfa45ebf993

8 years agoTIF: Add Programs.COLUMN_RECORDING_PROHIBITED
Dongwon Kang [Sun, 10 Apr 2016 00:24:12 +0000 (17:24 -0700)]
TIF: Add Programs.COLUMN_RECORDING_PROHIBITED

Bug: 28039913
Change-Id: I30897f164113ceb422c8c5a16448b8b296a5a68a

8 years agoCache the parsed result of WebView provider config xml
Hui Shu [Fri, 8 Apr 2016 20:25:26 +0000 (13:25 -0700)]
Cache the parsed result of WebView provider config xml

BUG: 27736084
Change-Id: I3665a5fd4777d22c6f217b358195edbeaad3bb1d

8 years agoMerge "Fixing various layout issues when docking" into nyc-dev
Winson Chung [Thu, 14 Apr 2016 17:51:52 +0000 (17:51 +0000)]
Merge "Fixing various layout issues when docking" into nyc-dev

8 years agoFixing various layout issues when docking
Winson [Wed, 13 Apr 2016 21:02:18 +0000 (14:02 -0700)]
Fixing various layout issues when docking

- Fixing regression where we were scrolling to front immediately on
  dragging-to-dock a task, we should only scroll to the front on
  configuration change.
- Accounting for the inset when calculating the final stack bounds
  (similar to b/27921362)
- Fixing issue with task views being clipped as user drags a view due
  to the bounds of the view changing.  We manually now set the frame on
  the view to the current stack task bounds.
- Simplifying calls to animate the task view bounds
- Removing old instance state code

Change-Id: I17d3e33e159ff250c11a504ef87558051926a974

8 years agoMerge "Revert "Revert "Make stopped state a first-class thing""" into nyc-dev
John Reck [Thu, 14 Apr 2016 17:40:50 +0000 (17:40 +0000)]
Merge "Revert "Revert "Make stopped state a first-class thing""" into nyc-dev

8 years agoRevert "Revert "Make stopped state a first-class thing""
John Reck [Wed, 13 Apr 2016 17:24:06 +0000 (10:24 -0700)]
Revert "Revert "Make stopped state a first-class thing""

This reverts commit eab3f2658aa41d37c3b05d49a2ce4e3f4ed85399.

Fixes first-frame issue, mReportNextDraw needs to override
mStopped

Fixes: 28118961
Fixes: 27286867

Change-Id: I5c811759637d08ba9f3b342016d1b3006986d5a2