240152 Commits

Author SHA1 Message Date
Chong Zhang
eb3cbd82ee Merge "Fix crash due to null uri in ContentObserver.onChange" into nyc-dev 2016-04-14 23:21:28 +00:00
Chong Zhang
e34279035a Fix crash due to null uri in ContentObserver.onChange
Also make sure we don't respond to unrecognized changes.

bug: 27291666
Change-Id: I110445231d15427e1fe9e225ed0520af262f740e
2016-04-14 16:18:22 -07:00
Tim Murray
98e80076c6 Revert "Optimize ResTable::getLocales() to improve bindApplication performance"
This reverts commit 5520581b5f043fb858b5b2044ff33ad8545a6d38.

bug 28189634

Change-Id: I2d2b859f6d9bd44434fa901cce990583f514980c
2016-04-14 16:06:29 -07:00
Winson
a5fdde9d15 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
2016-04-14 16:03:44 -07:00
Wei Wang
cae1be2200 Expose RTT capability APIs for secure RTT.
Bug: 28199253
Change-Id: I790b72a365f788ef225566e7fc13b3e097f346b2
2016-04-14 15:47:42 -07:00
Mitchell Wills
0ed524dee8 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
2016-04-14 15:27:44 -07:00
Dongwon Kang
031d7e838d TIF: Specify the default implementation of onTune(Uri, Bundle)
Bug: 28146354
Change-Id: I3148ab4704a03c258d330c3b9a10513f950a8cfc
2016-04-14 15:26:55 -07:00
Sriram Viswanathan
95a4791d1a 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 2016-04-14 22:05:12 +00:00
Adam Lesinski
5ff3ad6312 SettingsLib: Build with AAPT2
Bug:22775504
Change-Id: I2e5015235384d124418d32186daa190f38e1c5b3
2016-04-14 14:45:21 -07:00
Dongwon Kang
7c1f3905af Merge "PipManager: Revisit the logic for PIP close for TV app case" into nyc-dev 2016-04-14 21:38:12 +00:00
Sriram Viswanathan
469caae9ea 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
2016-04-14 14:18:22 -07:00
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