OSDN Git Service

android-x86/frameworks-base.git
8 years agoLogging for ranker bundling.
Julia Reynolds [Fri, 15 Apr 2016 19:12:36 +0000 (15:12 -0400)]
Logging for ranker bundling.

Bug: 28210646
Change-Id: I90d1adaf23d318e07b1a9941ac45b5d6ae0624e8

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 "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 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 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 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 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 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

8 years agoDeal gracefully with empty srcs.
Steve McKay [Thu, 14 Apr 2016 16:58:41 +0000 (09:58 -0700)]
Deal gracefully with empty srcs.

Bug: 2818419428173827
Change-Id: I6794b147a7e3d3aba73600a87d565bfffe4a4b93

8 years agoMerge "Fix the behaviour for explicitly switching WebView provider" into nyc-dev
Gustav Sennton [Thu, 14 Apr 2016 17:30:57 +0000 (17:30 +0000)]
Merge "Fix the behaviour for explicitly switching WebView provider" into nyc-dev

8 years agoMerge "Basic documentation for custom drawables" into nyc-dev
Alan Viverette [Thu, 14 Apr 2016 17:28:10 +0000 (17:28 +0000)]
Merge "Basic documentation for custom drawables" into nyc-dev

8 years agoMerge "PIP: Implement new onboarding spec" into nyc-dev
Jaewan Kim [Thu, 14 Apr 2016 17:21:38 +0000 (17:21 +0000)]
Merge "PIP: Implement new onboarding spec" into nyc-dev

8 years agoMerge "Update fonts.xml file for new noto fonts." into nyc-dev
Doug Felt [Thu, 14 Apr 2016 17:20:16 +0000 (17:20 +0000)]
Merge "Update fonts.xml file for new noto fonts." into nyc-dev

8 years agoMerge "Consolidate WiFi Calling string resources" into nyc-dev
Pavel Zhamaitsiak [Thu, 14 Apr 2016 17:16:40 +0000 (17:16 +0000)]
Merge "Consolidate WiFi Calling string resources" into nyc-dev

8 years agoMerge "Avoid reentrance on ClipArea APIs" into nyc-dev
Chris Craik [Thu, 14 Apr 2016 17:12:17 +0000 (17:12 +0000)]
Merge "Avoid reentrance on ClipArea APIs" into nyc-dev

8 years agoMerge "Destroy drawing cache when switching layer type" into nyc-dev
Chris Craik [Thu, 14 Apr 2016 17:07:33 +0000 (17:07 +0000)]
Merge "Destroy drawing cache when switching layer type" into nyc-dev

8 years agoMake number picker styles public
Alan Viverette [Thu, 14 Apr 2016 17:01:41 +0000 (13:01 -0400)]
Make number picker styles public

Bug: 28189144
Change-Id: Ic1825c211bf76ea8b063996895f4a273ac0c7fd4

8 years agoPIP: Update the focusability of recents row whenever Recents is shown
Jaewan Kim [Thu, 14 Apr 2016 02:36:48 +0000 (11:36 +0900)]
PIP: Update the focusability of recents row whenever Recents is shown

Bug: 28175628
Change-Id: I39da6ca3a8d379b85cea2341b3b61f93bf8cada4

8 years agoPIP: Fix regressions
Jaewan Kim [Mon, 11 Apr 2016 06:43:36 +0000 (15:43 +0900)]
PIP: Fix regressions

This includes following fixes
- Press back key to go to Home from Recents
- Do not show Recents when an activity is PIPed immediately after moved
  to fullscreen.

These regressions are caused by
c81082b Improve Animation Calculations to remove Jank

Bug: 28107787
Change-Id: I3078a5d8a9505c8d03cceee329e5d740efae7feb

8 years agoMerge "Update day of week labels when setting month params in SimpleMonthView" into...
Alan Viverette [Thu, 14 Apr 2016 16:27:32 +0000 (16:27 +0000)]
Merge "Update day of week labels when setting month params in SimpleMonthView" into nyc-dev

8 years agoMerge "Add WindowManager side timeout for toasts." into nyc-dev
Rob Carr [Thu, 14 Apr 2016 16:23:22 +0000 (16:23 +0000)]
Merge "Add WindowManager side timeout for toasts." into nyc-dev

8 years agoPIP: Implement new onboarding spec
Jaewan Kim [Thu, 14 Apr 2016 13:49:23 +0000 (22:49 +0900)]
PIP: Implement new onboarding spec

Bug: 27954437
Change-Id: Ib939a4ca5f304821036a43971ae7f45b7802ed8a

8 years agoFix the behaviour for explicitly switching WebView provider
Gustav Sennton [Thu, 14 Apr 2016 14:07:09 +0000 (15:07 +0100)]
Fix the behaviour for explicitly switching WebView provider

Before this CL when we tried to change WebView provider through the Dev
setting and failed we would then have the setting point to the provider
used before the change. With this CL we instead let the setting point to
the intended target but also switch to the package which the
WebViewUpdateService see as most fit (rather than just reverting back to
the original choice).

Add unit tests to verify we kill processes depending on WebView
packages when switching WebView provider.

Add unit tests to ensure we can recover from trying to change provider
when there are no providers available.

Bug: 27673076
Bug: 27635535
Change-Id: Ie7bb6afdf8acf4344cfb363947929c0b492775fb

8 years agoMerge "Keyboard shortcuts: one instance refactor" into nyc-dev
Andrei Stingaceanu [Thu, 14 Apr 2016 15:40:47 +0000 (15:40 +0000)]
Merge "Keyboard shortcuts: one instance refactor" into nyc-dev

8 years agoKeyboard shortcuts: one instance refactor
Andrei Stingaceanu [Tue, 12 Apr 2016 14:29:25 +0000 (15:29 +0100)]
Keyboard shortcuts: one instance refactor

Make all the instance public methods private
and add static methods to control the behavior:
* show
* dismiss
* toggle

Make sure we only deal with one instance of the
KeyboardShortcuts (previously both the
KeyboardShortcutsReceiver and BaseStatusBar were
creating instances).

Makes sure the instance is destroyed when dismissing
and when showing it either creates a new one if none
exists or reuses the existing one.

Also fixes an existing nasty issue where in order
to dismiss the dialog from BaseStatusBar we were
always first creating a new instance.

Bug: 28012198
Change-Id: I207553dd45ae535edc64b6292a472fa0899029b0

8 years agoMerge "Handle dalvik.vm.jitprithreadweight property" into nyc-dev
Calin Juravle [Thu, 14 Apr 2016 15:24:10 +0000 (15:24 +0000)]
Merge "Handle dalvik.vm.jitprithreadweight property" into nyc-dev

8 years agoBasic documentation for custom drawables
Alan Viverette [Thu, 14 Apr 2016 15:22:44 +0000 (11:22 -0400)]
Basic documentation for custom drawables

Bug: 23621364
Change-Id: Ia292433ebd40d4c85ff6974def3d1f4b26926b52

8 years agoMerge "Add a fall back for when the thumbnail is not generated for a task" into nyc-dev
Sid Soundararajan [Thu, 14 Apr 2016 15:19:22 +0000 (15:19 +0000)]
Merge "Add a fall back for when the thumbnail is not generated for a task" into nyc-dev

8 years agoMerge "QS Edit: Fix drag to add tiles going away" into nyc-dev
Jason Monk [Thu, 14 Apr 2016 14:57:43 +0000 (14:57 +0000)]
Merge "QS Edit: Fix drag to add tiles going away" into nyc-dev

8 years agoQS Edit: Fix drag to add tiles going away
Jason Monk [Thu, 14 Apr 2016 14:53:42 +0000 (10:53 -0400)]
QS Edit: Fix drag to add tiles going away

Change-Id: I421717066e6effde6dade7ef498877aa8834abdd
Fixes: 28153092

8 years agoMerge "API Review: Improve javadoc of EXTRA_REMOTE_INPUT" into nyc-dev
TreeHugger Robot [Thu, 14 Apr 2016 14:44:59 +0000 (14:44 +0000)]
Merge "API Review: Improve javadoc of EXTRA_REMOTE_INPUT" into nyc-dev

8 years agoMerge changes I6b52e378,I1699e6bf into nyc-dev
Julia Reynolds [Thu, 14 Apr 2016 14:42:52 +0000 (14:42 +0000)]
Merge changes I6b52e378,I1699e6bf into nyc-dev

* changes:
  Phone call vibrate should obey user preference.
  Adjustment bundles are defusable.