240141 Commits

Author SHA1 Message Date
Joe Onorato
9a916e5602 Merge "Add support for null tag names from apps." into nyc-dev 2016-04-14 21:10:16 +00:00
Sudheer Shanka
3ee2cc630d Merge "Update RestrictedSwitchPreference to have an additional summary." into nyc-dev 2016-04-14 21:05:26 +00:00
Muyuan Li
f2d2aab3f1 Merge "Fixes a bug in shortcut key." into nyc-dev 2016-04-14 20:50:39 +00:00
Chad Brubaker
439525a993 Merge "Fix isUserAddedCertificate" into nyc-dev 2016-04-14 20:48:53 +00:00
Muyuan Li
b5dd049089 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)
2016-04-14 20:48:13 +00:00
Andy Hung
98e46791d5 Merge "Unify dumped native stack traces" into nyc-dev 2016-04-14 20:47:25 +00:00
Oren Blasberg
203222ea60 Merge "Don't show icons in overlay popup menus." into nyc-dev 2016-04-14 20:34:54 +00:00
Dongwon Kang
7f5b3e59d1 Merge "TIF: Add Programs.COLUMN_RECORDING_PROHIBITED" into nyc-dev 2016-04-14 20:13:58 +00:00
Adrian Roos
c28e3a93ff Ensure sane WallpaperData
Also adds dumpsys output for lock wallpapers.

Fixes: 28192320
Change-Id: I66ccf8afad7412ae346e7cc02d030c2fdda97753
2016-04-14 13:04:26 -07:00
Sid Soundararajan
996c40906e Merge "Add a null check to prevent NPE" into nyc-dev 2016-04-14 20:02:30 +00:00
Arunesh Mishra
59623ee337 Merge "SoundTriggerHelper: Add ability to manage multiple voice models." into nyc-dev 2016-04-14 20:00:00 +00:00
Hui Shu
c180d68a07 Merge "Cache the parsed result of WebView provider config xml" into nyc-dev 2016-04-14 19:53:14 +00:00
Felipe Leme
27c0e70223 Merge "Fixed initial metered state of new policy." into nyc-dev 2016-04-14 19:50:10 +00:00
Jean-Michel Trivi
3c86a343df Player superclass for handling AppOps features
Add a new class to group media/audio player features under one
 interface. Currently only used for audio-related AppsOps
 restrictions. In the future can group routing, audio focus
 handling by the framework...
MediaPlayer inherits from PlayerBase, and overrides the methods
 that are needed to delegate the handling of the restrictions
 in a separate class.
When AppOps restrictions change (as triggered through the
 callback in PlayerBase), reset the volume to its value intended
 by the application (when unmuting) or the framework (0 when
 enforcing the restriction).

Bug 28069414

Change-Id: I2f38e4b9b3c029778836868cf78f4d15d7603247
2016-04-14 12:49:20 -07:00
Felipe Leme
02e9214ed6 Fixed initial metered state of new policy.
BUG: 27808364
Change-Id: I33d45a971c66623bcd94ebe95e84fb852308d8ea
2016-04-14 12:46:09 -07:00
Deepanshu Gupta
e70464e116 Merge "Return complete properties map instead of per view" into nyc-dev 2016-04-14 19:42:16 +00:00
Deepanshu Gupta
eaf1853b98 Return complete properties map instead of per view
Change-Id: Ib7c71606d1bf43bbaa80f5601a8508d7aa49d953
2016-04-14 12:38:23 -07:00
Jae Seo
abaa3395e9 Merge "TIF: Update documentation on time shifting start/current position" into nyc-dev 2016-04-14 19:28:50 +00:00
Rob Carr
446b4e727d Merge "PopupWindow. Don't use -1 width/height for calculations." into nyc-dev 2016-04-14 19:28:42 +00:00
Sudheer Shanka
6823a8fc59 Update RestrictedSwitchPreference to have an additional summary.
Bug: 27659072
Change-Id: Idfefe16f709d092355ce9cfbd820aacf12b95692
2016-04-14 12:24:23 -07:00
Arunesh Mishra
fac2515695 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
2016-04-14 12:12:27 -07:00
Amith Yamasani
0d723a2a4d Merge "Multi-window assist callback" into nyc-dev 2016-04-14 19:06:40 +00:00
Adrian Roos
3b777cb9b1 Fix LockscreenWallpaper panning
Bug: 27484494
Change-Id: Ic74b447213fcad5b7ca5107c5a0ebd9e76276ea6
2016-04-14 12:04:31 -07:00
Jaewan Kim
36530859d0 Merge "PIP: Fix regressions" into nyc-dev 2016-04-14 19:04:10 +00:00
Steve McKay
f90db0890d Merge "Deal gracefully with empty srcs." into nyc-dev 2016-04-14 19:00:49 +00:00
Alan Viverette
487bcec262 Merge "Make number picker styles public" into nyc-dev 2016-04-14 18:59:22 +00:00
Joe Onorato
388fc336b3 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
2016-04-14 11:46:56 -07:00
Steve McKay
cb6903deac Merge "Guard against null clipdata objects." into nyc-dev 2016-04-14 18:44:24 +00:00
Sid Soundararajan
6598b2d01a Add a null check to prevent NPE
Rare case where the rect returned from a View is null.

BUG: 28118236
Change-Id: Ie95b082c92c110f753152a50399c188b19d14e4b
2016-04-14 11:36:42 -07:00
Alex Klyubin
fa6d683265 Merge "Clarify how to replace cert generated by Android Keystore." into nyc-dev 2016-04-14 18:30:42 +00:00
Oren Blasberg
3610d06239 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
2016-04-14 11:14:09 -07:00
Dongwon Kang
7c12cd3ae4 TIF: Add Programs.COLUMN_RECORDING_PROHIBITED
Bug: 28039913
Change-Id: I30897f164113ceb422c8c5a16448b8b296a5a68a
2016-04-14 11:05:07 -07:00
Hui Shu
9455bd0105 Cache the parsed result of WebView provider config xml
BUG: 27736084
Change-Id: I3665a5fd4777d22c6f217b358195edbeaad3bb1d
2016-04-14 10:56:20 -07:00
Winson Chung
4ecc096b62 Merge "Fixing various layout issues when docking" into nyc-dev 2016-04-14 17:51:54 +00:00
Winson
67c79578f9 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
2016-04-14 10:45:31 -07:00
John Reck
d6a25c2b3e Merge "Revert "Revert "Make stopped state a first-class thing""" into nyc-dev 2016-04-14 17:40:52 +00:00
John Reck
8afcc76920 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
2016-04-14 10:39:03 -07:00
Steve McKay
55625a675f Deal gracefully with empty srcs.
Bug: 28184194, 28173827
Change-Id: I6794b147a7e3d3aba73600a87d565bfffe4a4b93
2016-04-14 10:34:08 -07:00
Gustav Sennton
4f9ad451e0 Merge "Fix the behaviour for explicitly switching WebView provider" into nyc-dev 2016-04-14 17:30:58 +00:00
Alan Viverette
071510dc46 Merge "Basic documentation for custom drawables" into nyc-dev 2016-04-14 17:28:11 +00:00
Jaewan Kim
cac7b221ae Merge "PIP: Implement new onboarding spec" into nyc-dev 2016-04-14 17:21:39 +00:00
Doug Felt
00374616b3 Merge "Update fonts.xml file for new noto fonts." into nyc-dev 2016-04-14 17:20:18 +00:00
Pavel Zhamaitsiak
070b73a46d Merge "Consolidate WiFi Calling string resources" into nyc-dev 2016-04-14 17:16:41 +00:00
Chris Craik
5ce4e2e78f Merge "Avoid reentrance on ClipArea APIs" into nyc-dev 2016-04-14 17:12:20 +00:00
Chris Craik
2344c6a2ae Merge "Destroy drawing cache when switching layer type" into nyc-dev 2016-04-14 17:07:35 +00:00
Alan Viverette
b9e6ad32bd Make number picker styles public
Bug: 28189144
Change-Id: Ic1825c211bf76ea8b063996895f4a273ac0c7fd4
2016-04-14 13:01:41 -04:00
Jaewan Kim
8ad841944e PIP: Update the focusability of recents row whenever Recents is shown
Bug: 28175628
Change-Id: I39da6ca3a8d379b85cea2341b3b61f93bf8cada4
2016-04-14 17:01:30 +00:00
Jaewan Kim
419c89533a 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
2016-04-15 01:50:04 +09:00
Alan Viverette
d51afa4525 Merge "Update day of week labels when setting month params in SimpleMonthView" into nyc-dev 2016-04-14 16:27:34 +00:00
Rob Carr
b33daec8c2 Merge "Add WindowManager side timeout for toasts." into nyc-dev 2016-04-14 16:23:24 +00:00