239983 Commits

Author SHA1 Message Date
John Reck
756619da20 Turn off HWUI_ENABLE_OPENGL_VALIDATION
Fixes: 28212865

Disable glGetError() checking after every gl call

Change-Id: I849934172a56150122a8d0114b0307515d988fe7
2016-04-15 11:31:09 -07:00
Benjamin Franz
a900359500 Merge "Revert "Revert "Throw security exception for non-parent aware APIs""" into nyc-dev 2016-04-15 15:34:52 +00:00
Raph Levien
6e49a7fc6d Merge "Don't do layout in hasGlyph for codepoint + vs" into nyc-dev 2016-04-15 15:20:22 +00:00
Julia Reynolds
9e8bc7c685 Merge "Notification slider update." into nyc-dev 2016-04-15 15:18:24 +00:00
Benjamin Franz
bc33c8290f Revert "Revert "Throw security exception for non-parent aware APIs""
This reverts commit a26c6265641543aef24245b84064b8f58de66c29.

Bug: 27532279
Change-Id: I0c0394a8abf12e7382e7083a0b9d7f8385c3a63d
2016-04-15 16:08:35 +01:00
Julia Reynolds
4d920ff6eb Notification slider update.
Bug: 27558254
Change-Id: I5e03aacf3aafb900f45d227a031a5dbb328ba18f
2016-04-15 11:03:53 -04:00
Benjamin Franz
23abc598a5 Merge "Don't show the unlock notification when Work mode is off" into nyc-dev 2016-04-15 14:53:42 +00:00
Benjamin Franz
2f4c2299c7 Merge "Maybe decrypt user when quiet mode is disabled" into nyc-dev 2016-04-15 14:53:17 +00:00
Ricky Wai
a4c0b1de1a Merge "Fix cannot unlock keyguard when work challege is unified and work mode is off" into nyc-dev 2016-04-15 13:44:54 +00:00
Benjamin Franz
f02420c5e1 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
2016-04-15 14:12:41 +01:00
TreeHugger Robot
46dc79cecf Merge "Metrics logging for DNS queries." into nyc-dev 2016-04-15 11:14:57 +00:00
Nicolas Prévot
428fdd104c Merge "Call notifyLockedProfile in TrustManagerService instead of KeyguardViewMediator." into nyc-dev 2016-04-15 09:52:56 +00:00
Ricky Wai
f6ef828a74 Fix cannot unlock keyguard when work challege is unified and work mode is off
Bug: 28138657
Change-Id: I20e2f571d9ac76c0cd92251de7e068f6c7fb3367
2016-04-15 09:21:17 +00:00
Lorenzo Colitti
43724734d7 Metrics logging for DNS queries.
Bug: 28204408
Change-Id: I05fc9b580aa20d99e8766057e17a38b5eb6267e8
2016-04-15 16:54:39 +09:00
Lorenzo Colitti
88bc0bbb13 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
2016-04-15 16:24:13 +09:00
Rob Carr
bb9fb194f8 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.
2016-04-15 06:20:28 +00:00
Andrii Kulian
5981b8c2e8 Merge "Remember task which is being locked" into nyc-dev 2016-04-15 04:32:57 +00:00
Raph Levien
032a35954c 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
2016-04-14 21:22:37 -07:00
Jorim Jaggi
ff71d20ff3 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
2016-04-14 20:47:45 -07:00
Jorim Jaggi
698e7634aa Disable resize when IME is adjusted
Bug: 28175599
Change-Id: I338dd230443973d912f17946ed722789b0f545a2
2016-04-14 20:45:56 -07:00
Jorim Jaggi
eb88d83fc5 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
2016-04-14 20:45:45 -07:00
Jorim Jaggi
be67c90f4c 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
2016-04-15 03:12:16 +00:00
Andrii Kulian
0f051f5abd 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
2016-04-14 19:26:18 -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
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
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
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
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