240177 Commits

Author SHA1 Message Date
Baligh Uddin
79bf7eac1b Import translations. DO NOT MERGE
Change-Id: I8c49c19931631bbb8d84f1a5f121f8d3e4781f0a
Auto-generated-cl: translation import
2016-04-14 19:08:44 -07:00
Baligh Uddin
155b6e6c03 Import translations. DO NOT MERGE
Change-Id: Ia0afabcab2e24a438c56b8d9306f3bf2855fe124
Auto-generated-cl: translation import
2016-04-14 19:03:29 -07:00
Sid Soundararajan
be403e345e Add a dimmed dismiss icon below task card view
This should give a clear indication of moving down to dismiss.

BUG: 27968917

Change-Id: I49bbc2b071eb176b1af59ce9fd9e75a4b9bf2f56
2016-04-14 19:03:15 -07:00
Jim Miller
e484eaff00 Fix missing permission check when saving pattern/password
Fixes bug 28163930

Change-Id: Ic98ef20933b352159b88fdef331e83e9ef6e1f20
2016-04-14 19:01:18 -07:00
Baligh Uddin
b68ef09c96 Import translations. DO NOT MERGE
Change-Id: I13f1d40c606fbfca271934588857aa92da9a929b
Auto-generated-cl: translation import
2016-04-14 18:58:13 -07:00
Jim Miller
f2abc9d299 Merge "Temporarily increase timeout for devices with buggy driver" into nyc-dev 2016-04-15 01:51:56 +00:00
Jim Miller
93d828de59 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
2016-04-14 18:50:09 -07:00
Rob Carr
fd950bd6ff Merge "Synchronize future unsync transactions to last sync." into nyc-dev 2016-04-15 01:50:01 +00:00
Jorim Jaggi
dd3d44faf9 Fix configuration calculation in multi-window
Bug: 27975877
Change-Id: I97dcbe7570fe2fdb82dafef8a07fe7351d901704
2016-04-15 01:35:36 +00:00
Doris Liu
ad21fe2762 Fix ref count of fillGradient and strokeGradient
Bug: 28086621
Change-Id: Ibb52bdfb20904f0ad102878fbb33d3679bb5132d
2016-04-14 18:33:27 -07:00
Jim Miller
952050539c Merge "Fix bug where fingerprint events can be delivered to the wrong client" into nyc-dev 2016-04-15 01:33:15 +00:00
Winson Chung
e2a49bfc50 Merge "Fixing jank issue with animating alpha." into nyc-dev 2016-04-15 01:25:16 +00:00
Winson
f19376ec01 Fixing jank issue with animating alpha.
Change-Id: I32685921eb58210f3ab012587c607d84a64be494
2016-04-14 18:20:56 -07:00
Winson Chung
de16f96c7e Merge "Take app screenshots in 565." into nyc-dev 2016-04-15 00:56:20 +00:00
Jim Miller
cb2ce6f1f0 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: 27902478, 26273819
Change-Id: Ic1f9e30bd89bcdbb8fe7f69e0545e68339317721
2016-04-14 17:53:45 -07:00
Makoto Onuki
0033b2a190 Remove all icon bitmaps when a publisher is uninstalled.
- Also show the directory sizes on dumpsys.

Bug 28196831

Change-Id: I3202fcd3151da3b26b436732e8103caf93aba525
2016-04-14 17:42:32 -07:00
Jaesung Chung
02f9e23525 Merge "ExifInterface: return only a JPEG-compressed thumbnail of RAW images" into nyc-dev 2016-04-15 00:19:09 +00:00
TreeHugger Robot
f332328743 Merge "Ensure sane WallpaperData" into nyc-dev 2016-04-15 00:07:41 +00:00
Adrian Roos
a7e2eaaac8 Merge "Fix LockscreenWallpaper panning" into nyc-dev 2016-04-15 00:05:00 +00:00
Ben Lin
3a1ae58286 Merge "Disable auto-drawer opening if intent is creating doc on empty dir." into nyc-dev 2016-04-15 00:03:00 +00:00
Adrian Roos
9a5a6ebcda Merge "Partial revert of c1a80b08f08cfb038625cec537390705d16db3f5" into nyc-dev 2016-04-14 23:57:06 +00:00
Tim Murray
117cff790e Merge "Revert "Optimize ResTable::getLocales() to improve bindApplication performance"" into nyc-dev 2016-04-14 23:48:17 +00:00
Adrian Roos
cc715a5b50 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
2016-04-14 16:47:07 -07:00
Jack Yu
4f9b759d8f Merge "Removed the unused RIL constant" into nyc-dev 2016-04-14 23:32:44 +00:00
Chong Zhang
6eee0e131a 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
2016-04-14 23:22:48 +00:00
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