240073 Commits

Author SHA1 Message Date
TreeHugger Robot
21e7e1e6bf Merge "Added Data Saver Mode description." into nyc-dev 2016-04-13 23:36:30 +00:00
Lifu Tang
ceeb44daf9 Merge "Fixed bugs when deliver GnssMeasurement from N-HAL" into nyc-dev 2016-04-13 23:36:01 +00:00
Ben Lin
845fe50423 Disable auto-drawer opening if intent is creating doc on empty dir.
Bug: 28170000
Change-Id: Ie7e3cb51dee9bc43d04ba15924b1a23359b784be
2016-04-13 16:33:20 -07:00
Dianne Hackborn
9e31b3fd81 Merge "More work on issue #26390151: Add new JobScheduler API..." into nyc-dev 2016-04-13 23:30:14 +00:00
Steve McKay
256724ea20 Minor cleanups to delete support.
When deleting by key, make a defensive copy of selection...probably fixing a latent bug.

Bug: 28173827
Change-Id: Ib1ad2214c1f95fa703be227da33b25a5d4021b28
2016-04-13 16:19:03 -07:00
Doris Liu
c5801fb933 Merge "Add api check to guard AnimatorSet behavior change" into nyc-dev 2016-04-13 23:15:33 +00:00
Junda Liu
71f69a71ff Merge "Add toString to CarrierIdentifier." into nyc-dev 2016-04-13 23:14:41 +00:00
TreeHugger Robot
be3deb8198 Merge "Improved trust error messaging (2/2)" into nyc-dev 2016-04-13 23:07:35 +00:00
Alan Viverette
0c34026088 Merge "Update docs for Drawable.setLayoutDirection() return value" into nyc-dev 2016-04-13 23:07:05 +00:00
Doris Liu
1dfe35b8a7 Merge "Skip to end for 0-duration animation" into nyc-dev 2016-04-13 23:03:30 +00:00
Chris Craik
bf27b995ae Avoid reentrance on ClipArea APIs
bug:28144676

Calling ClipArea::clipRegion from within ClipArea::clipPathWithTransform
has us handling op-based special casing twice, which caused all clip
paths to appear to be replace ops.

Change-Id: Ib842db53ffed4eee29470f773d59a3a1d07a1a0e
2016-04-13 15:59:32 -07:00
Adrian Roos
4ab7e595a5 StrongAuthTracker: Don't rely on USER_PRESENT
USER_PRESENT is sent via the background queue. A delay
there can cause us not to recognize that the user has
unlocked and prompt for the credential again, when trust
or fingerprint would be sufficient.

Also removes an obsolete reference to USER_PRESENT from
TrustManagerService.

Change-Id: Ie8d1a180170df5f0c8f9e71660504fd71eeacd99
Fixes: 27830458
2016-04-13 15:38:18 -07:00
Jae Seo
cdfbc488c6 TIF: More annotations
Bug: 20980990
Change-Id: I5bbdc19703aa15bffe2f2f900be63cbfe9f639ae
2016-04-13 15:36:03 -07:00
Alex Klyubin
a65707d3f3 Clarify how to replace cert generated by Android Keystore.
This updates Android Keystore developer documentation to clarify how
to replace the self-signed certificate create by Android Keystore when
it generates a new key pair. Some developers are attempting to use
KeyStore.setCertificateEntry which is the wrong method for this. The
correct method is KeyStore.setKeyEntry.

Bug: 28152878
Change-Id: I306447b7792ecad5fbb49bd691a57bedb5207003
2016-04-13 15:33:53 -07:00
Steven Dao
24142819b8 Populate RangeInfo correctly when acquiring from pool
Bug: 27136599
Change-Id: I836b2ae3bf9b2ed5fc4afeb744e2cf3a500cc4a4
2016-04-13 15:30:00 -07:00
Junda Liu
a3df56450b Remove deprecated API for sim authentication.
The new getIccAuthentication should be used. All callers have been updated
to the new API. Remove the old API in this change.

Bug: b/27360179
Change-Id: I160974d53bb6477666b3e1d457accac45cc06bfc
2016-04-13 15:24:39 -07:00
Jeff Sharkey
2d135ab150 Merge "Bind wallpaper at later boot phase." into nyc-dev 2016-04-13 22:11:18 +00:00
Svetoslav Ganov
33f576b9e9 Merge "Ensure injected gestures respect magnification" into nyc-dev 2016-04-13 22:09:18 +00:00
Jeff Sharkey
383f9fedd6 Bind wallpaper at later boot phase.
We need to wait until third-party apps can start before we try
binding to the wallpaper.

Bug: 28166684
Change-Id: I6ef559a667104e830e97da68b437ff592816f6f3
2016-04-13 16:08:17 -06:00
Felipe Leme
69988ef650 Added Data Saver Mode description.
BUG: 28133736
Change-Id: I4d44e8f422fc141ebabcdb4595f5ade241a275f1
2016-04-13 15:06:51 -07:00
Adrian Roos
005e774ac8 API Review: Improve javadoc of EXTRA_REMOTE_INPUT
Change-Id: I3b23a44ca54be7724ddb29c432bb6975a784b5b4
Fixes: 27365667
2016-04-13 15:05:30 -07:00
Svetoslav Ganov
416bba7b46 Ensure injected gestures respect magnification
Change-Id: Ie828f4be4eb1ec620549c1346ec7cc335908612f
2016-04-13 15:03:51 -07:00
Adam Lesinski
b5abb78b7c Merge "Optimize ResTable::getLocales() to improve bindApplication performance" into nyc-dev 2016-04-13 21:53:47 +00:00
Ben Lin
527184d42b Merge "Open drawer only on first update." into nyc-dev 2016-04-13 21:48:56 +00:00
Chris Craik
68be3529e4 Destroy drawing cache when switching layer type
bug:27099358

Change-Id: Ia308dd817799b6d64a802df211c39efc25c99e7e
2016-04-13 14:46:56 -07:00
Craig Donner
08a26ee1d6 Merge "Minor changes needed to support EXT_protected_content." into nyc-dev 2016-04-13 21:46:08 +00:00
Jonathan Basseri
b1a43484d5 Add toString to CarrierIdentifier.
This is so that objects can be logged and included in dumpsys.

Bug: 26778049
Change-Id: Iace574e40e7a7a7a06289592de9a51455b6acb18
2016-04-13 21:36:52 +00:00
Adam Powell
651e09fdc1 Merge "Make ResolverActivity respect selector intent when making filters" into nyc-dev 2016-04-13 21:35:33 +00:00
TreeHugger Robot
819b9bc9db Merge "Dismiss keyguard when user button is tapped" into nyc-dev 2016-04-13 21:32:21 +00:00
Jorim Jaggi
545c5c20d3 Refine long-press enter and exit animations
Bug: 27154882
Change-Id: I13a1a6ea7eabdefc7e5c32ae0471d9fa14cc3f86
2016-04-13 21:27:32 +00:00
Steve McKay
3c987600aa Guard against null clipdata objects.
Bug: 28074897
Change-Id: I7f0e520d6f1ce40e6db2fbead21ee4bb37aa3a61
2016-04-13 14:19:50 -07:00
Jack Yu
3ee538c10d Removed the unused RIL constant
We should use Integer.MAX_VALUE instead defining our own MAX_INT

bug: 27787361
Change-Id: I9630d66674530f9b7a8843cc454d0382b738463c
2016-04-13 14:19:34 -07:00
Doris Liu
56b0b57089 Skip to end for 0-duration animation
Repeating a 0-duration animation makes no sense. In the case of
battery saver mode, all animators are set to 0 duration, and
repeating the 0 duration animations not only waste battery power
but also potentially produce flickers on screen. In this CL,
0-duration animations are skipped to the end, regardless their
repeat count.

Bug: 25451472
Change-Id: I20f9dc2f0ff9c027782a8363ff4cf4a4d390736c
2016-04-13 14:13:49 -07:00
Jorim Jaggi
f7eaef52a3 Merge "Trace screenshotApplications" into nyc-dev 2016-04-13 20:57:36 +00:00
Doris Liu
58606db8be Add api check to guard AnimatorSet behavior change
For pre-N, we have inconsistent behavior between ValueAnimator and
AnimatorSet in the case of calling end() when already ended:
ValueAnimator would start() and immediately end, whereas AnimatorSet
would be no-op. We made a decision to be consistent within Animation
Framework from N forward, which means that AnimatorSet will have the
new behavior of starting and immediately ending just like
ValueAnimator. This new behavior will be guarded by an API check.

Bug: 25601129
Change-Id: I2d952a93d8521c547ec8cde173c80d1d8ead0639
2016-04-13 13:37:45 -07:00
Yin-Chia Yeh
11aade9f6e Merge "Camera: update expectation of post RAW sensitivity control" into nyc-dev 2016-04-13 20:33:48 +00:00
Robert Carr
70f0d229c0 Add WindowManager side timeout for toasts.
If the thread a toast is shown on is shut down,
the attempt to post the hide message to it's handler
will fail and it will never request removal. If this was
only some application background thread we will also not
receive a death notification. It seems best to use a timeout
to ensure we don't need the clients cooperation, espescially
as toasts can keep the screen on.

Bug: 21693547
Change-Id: I1d6e54ded5b9e2050daedc4d263e2e21fbe69862
2016-04-13 13:32:58 -07:00
Jorim Jaggi
adf85cac3a Trace screenshotApplications
Bug: 27864285
Change-Id: I5b2b84e5369d136af5057bbfadc3fe4e9b38ab30
2016-04-13 13:31:17 -07:00
Adam Lesinski
5520581b5f Optimize ResTable::getLocales() to improve bindApplication performance
Change from linear searching for uniqueness to binary search.

Bug:27198799
Change-Id: Ifa4672929df286c4693ab1f77716f08945941b0c
2016-04-13 13:25:09 -07:00
Julia Reynolds
6e839b006e Allow notification listeners full DND access.
Bug: 27976092
Change-Id: I15da87f4b6a17e43ced80ea473288b43d20195d8
2016-04-13 16:21:03 -04:00
Ben Lin
ab5576d642 Open drawer only on first update.
Bug: 27406768
Change-Id: Ib95ecf68be3ba68bf08ccf7311c641e2e934e9c6
2016-04-13 13:19:55 -07:00
Adrian Roos
d6d253a5a1 Improved trust error messaging (2/2)
More detailed reason strings when trust or
fingerprint are not allowed.

Bug: 22704995
Change-Id: Ia9e22378d3fc0f5fb42e32adc789e313c3a2beb3
2016-04-13 13:17:57 -07:00
Sudheer Shanka
fd580f7d1a Merge "Update {set,get}{Long,Short}SupportMessage APIs to use CharSequence." into nyc-dev 2016-04-13 20:12:05 +00:00
Jason Monk
4db7675d85 Merge "QS: Add content description to page indicator" into nyc-dev 2016-04-13 19:11:22 +00:00
Jorim Jaggi
a28e8cc50f Do not transfer starting window to translucent activity
When starting the "App may not work in split-screen" activity which
is translucent we used to transfer the starting window, and then the
frame was drawn quickly so the starting window from the behind was
removed, leading to a black hole.

Bug: 28094732
Change-Id: I828f0ea8b0465a5a113fd76a82d33177c8faa566
2016-04-13 19:10:17 +00:00
Steve McKay
5108d34374 Merge "Mark DocumentsUI as a "privileged" app." into nyc-dev 2016-04-13 18:59:33 +00:00
Daniel Sandler
1e79be9f0a Merge "Fix NPE when the vr manager isn't around at first." into nyc-dev 2016-04-13 18:58:22 +00:00
Steve McKay
03dab3e562 Merge "Fix selecting all in DocumentsUI." into nyc-dev 2016-04-13 18:57:55 +00:00
Robert Carr
f6e801da1a PopupWindow. Don't use -1 width/height for calculations.
In findDropDownPosition it's entirely possible for width/height
to be -1. If this is so, and the popup is anchored to the right,
we could fail to see that it is offscreen (since we think the width
is -1), and so fail to do our position adjustment to move it to the
left. I think this was previously covered up by window manager bugs
with child windows that requested coordinates outside of their
parent frame. To fix this, we ontinue to pass the same value to
the window manager, but use the width/height we expect to receive
for local layout calculations.

Bug: 28085451
Change-Id: Ia04ca3fcd17ad8819615b5ff42f7923462ce4b42
2016-04-13 11:55:45 -07:00
Rob Carr
caa747b9ac Merge "Correct PopupWindow spaceAbove calculation." into nyc-dev 2016-04-13 18:55:00 +00:00