OSDN Git Service
Christopher Tate [Tue, 16 Aug 2016 23:03:44 +0000 (16:03 -0700)]
Isolated processes don't get precached system service binders
More specifically, they get a PackageManager binder -- necessary for
Android process startup and configuration -- but none of the other
usual preloaded service binders.
Bug
30202228
Change-Id: I3810649f504cd631665ece338a83d2e54d41ad05
Dirk Dougherty [Wed, 17 Aug 2016 22:59:31 +0000 (22:59 +0000)]
Merge "dd new ds-static doc build target to generate static docs (only) for devsite without resolving @links." into nyc-dev
am:
96855c49a6
Change-Id: If07272ee0de59b546df04f0232219bb0954da582
Dirk Dougherty [Wed, 17 Aug 2016 22:59:23 +0000 (22:59 +0000)]
dd new ds-static doc build target to generate static docs (only) for devsite without resolving @links.
am:
b042ab1eb6
Change-Id: I725ff3bce89572d06f76dd9f1860365514d27d56
Dirk Dougherty [Wed, 17 Aug 2016 22:53:23 +0000 (22:53 +0000)]
Merge "dd new ds-static doc build target to generate static docs (only) for devsite without resolving @links." into nyc-dev
TreeHugger Robot [Wed, 17 Aug 2016 22:07:12 +0000 (22:07 +0000)]
Merge "BackgroundDexOptService: Check for low storage conditions." into nyc-mr1-dev
TreeHugger Robot [Wed, 17 Aug 2016 21:45:59 +0000 (21:45 +0000)]
Merge "AAPT: Handle gaps in resources when building splits" into nyc-mr1-dev
Tyler Gunn [Wed, 17 Aug 2016 21:19:41 +0000 (21:19 +0000)]
Merge "Add Telephony Connection event for handover from WIFI to LTE." into nyc-mr1-dev
Phil Weaver [Wed, 17 Aug 2016 20:52:04 +0000 (20:52 +0000)]
Merge "Restart accessibility services after they update." into nyc-mr1-dev
Alan Viverette [Wed, 17 Aug 2016 20:14:32 +0000 (20:14 +0000)]
Merge "Announce the date for accessibility using EMMMMdy format" into nyc-mr1-dev
Adam Lesinski [Tue, 16 Aug 2016 01:45:00 +0000 (18:45 -0700)]
AAPT: Handle gaps in resources when building splits
Due to public ID assignment, gaps in resource type and entry
IDs can occur. This can lead to null pointer dereferencing
if not careful. This happened in ResourceTable::getDensityVaryingResources()
which is called when building Splits.
Bug:
30879690
Change-Id: I588e4dcd2e042fccfcb2e87967b5cbd0d23b4497
(cherry picked from commit
081d1b4cf602fdd7302b597e6bf902cb415bc3a8)
Hemal Patel [Wed, 17 Aug 2016 19:45:03 +0000 (19:45 +0000)]
Merge "Docs: Renamed Google Now to Google Voice Actions" into nyc-docs am:
c7902aa4bb
am:
5e086dc3bb
Change-Id: I68730df7e316e2bb9f58b7b9732a06222305bfea
Hemal Patel [Wed, 17 Aug 2016 19:44:58 +0000 (19:44 +0000)]
Docs: Renamed Google Now to Google Voice Actions am:
86bbfaabdd
am:
00ff40145d
Change-Id: Ib165d9d5dd73a9f84ae45f82cb17f04a172e6804
Yohei Yukawa [Wed, 17 Aug 2016 19:41:37 +0000 (19:41 +0000)]
Merge "Make View#isTemporarilyDetached() less confusing" into nyc-mr1-dev
Hemal Patel [Wed, 17 Aug 2016 19:37:17 +0000 (19:37 +0000)]
Merge "Docs: Renamed Google Now to Google Voice Actions" into nyc-docs
am:
c7902aa4bb
Change-Id: I45943e80b869adc9017b0e8de116f10e3b710764
Hemal Patel [Wed, 17 Aug 2016 19:37:14 +0000 (19:37 +0000)]
Docs: Renamed Google Now to Google Voice Actions
am:
86bbfaabdd
Change-Id: If177e10f331ca5ade62005337956b0fa81a90f26
Hemal Patel [Wed, 17 Aug 2016 19:32:15 +0000 (19:32 +0000)]
Merge "Docs: Renamed Google Now to Google Voice Actions" into nyc-docs
TreeHugger Robot [Wed, 17 Aug 2016 18:11:45 +0000 (18:11 +0000)]
Merge "Fix a flicker when returning to the lockscreen" into nyc-mr1-dev
Jorim Jaggi [Tue, 16 Aug 2016 23:02:32 +0000 (16:02 -0700)]
Fix a flicker when returning to the lockscreen
If we return to the lockscreen from a FLAG_SHOW_WHEN_LOCKED activity,
there was an additional black flicker as the wallpaper wasn't shown
for a couple of frames. The issue is that we didn't set the wallpaper
flag again, to fix another flicker with lockscreen wallpapers. Now,
we pass the state whether we currently have a lockscreen wallpaper
and if we don't have one, we immediately set the wallpaper flag
again.
Bug:
30829255
Bug:
30883413
Change-Id: I9faeaa77b98eb02058171ce19cf90b43826ebe9e
Andrew Solovay [Wed, 17 Aug 2016 17:55:32 +0000 (17:55 +0000)]
docs: Docs for Support Library 24.2.0 release am:
085994c40d
am:
39cc61a4db
Change-Id: Icc038eb5c6e5ff1d299876811875b67768997a97
Andrew Solovay [Wed, 17 Aug 2016 17:48:47 +0000 (17:48 +0000)]
docs: Docs for Support Library 24.2.0 release
am:
085994c40d
Change-Id: I7e69bf585d342f1075856673e52ff15207be4a1c
Eric Schmidt [Wed, 17 Aug 2016 17:36:04 +0000 (17:36 +0000)]
docs: Fixed code snippet in notify-user/navigation.html am:
32cc6b7fb7
am:
c89c8c3e37
Change-Id: I98c9227a00ae7221e945d7a6cde9c762e327e431
Eric Schmidt [Wed, 17 Aug 2016 17:14:11 +0000 (17:14 +0000)]
docs: Fixed code snippet in notify-user/navigation.html
am:
32cc6b7fb7
Change-Id: I43cf6d188bac5cc5b3d0894915ff431e13156cd5
Alan Viverette [Wed, 17 Aug 2016 16:46:59 +0000 (12:46 -0400)]
Announce the date for accessibility using EMMMMdy format
Which for en_US would be something like "Friday August 5th 2016" but may
be re-ordered for other locales. Dates are hard.
Bug:
30682782
Change-Id: I015d293526592add27ce8fada12cd58bcc274ccf
Narayan Kamath [Tue, 16 Aug 2016 17:25:08 +0000 (18:25 +0100)]
BackgroundDexOptService: Check for low storage conditions.
Abort the service (without an early reschedule) if we find that we're
running low on space. The low space check is performed (explicitly)
after every dexopt.
bug:
30865506
Change-Id: I8d31af8fe035701177f8b9a1eabb0b51f42027fe
Erik Kline [Tue, 16 Aug 2016 07:46:33 +0000 (16:46 +0900)]
Better error handling when NetworkManagementService#untetherInterface() fails.
Additionally, catch ServiceSpecificException when making netd binder calls.
Test:
Flipped back and forth between USB and wifi tethering and no longer
some of the unrecoverable errors.
Bug:
30882741
Change-Id: I470b7cfdaaa82013db35b500a5df10dcfaad2d8c
TreeHugger Robot [Wed, 17 Aug 2016 01:46:52 +0000 (01:46 +0000)]
Merge "Fix listeners not getting called when AVD falls back on UI thread" into nyc-mr1-dev
Erik Kline [Wed, 17 Aug 2016 00:43:35 +0000 (00:43 +0000)]
Merge "Support tethering IPv6 toward the first requested downstream." into nyc-mr1-dev
Doris Liu [Tue, 16 Aug 2016 23:54:10 +0000 (16:54 -0700)]
Fix listeners not getting called when AVD falls back on UI thread
When AVD fall back on UI thread, in addition to transfer the pending
actions from RT animator to UI animator, we also need to transfer
the listener, if any.
BUG:
30901495
Change-Id: Ib4a7ebb2996a02596bb5789704617c894a5dd474
Phil Weaver [Tue, 16 Aug 2016 22:10:01 +0000 (15:10 -0700)]
Restart accessibility services after they update.
In ag/
1273924, we stopped restarting services that were
still bound. When the package changes, however, the system
unbinds from a service and has no way to tell us that it is
not going to restart it (as it would if the service
crashed.)
Now we listen for package updates and unbind affected
services. The services will then be restarted as there will
be enabled services that are no longer bound.
Bug:
30866905
Change-Id: I375edfd6a37ed25f959ec354930cec8f288deb6b
TreeHugger Robot [Tue, 16 Aug 2016 23:51:02 +0000 (23:51 +0000)]
Merge "Allow configurable data warning for BillingCyclerPreference" into nyc-mr1-dev
Brad Ebinger [Tue, 16 Aug 2016 23:39:46 +0000 (23:39 +0000)]
Merge "Adds a CNAP filtering field to the CarrierConfig" into nyc-mr1-dev
TreeHugger Robot [Tue, 16 Aug 2016 23:28:21 +0000 (23:28 +0000)]
Merge "Fixed the animation of the no notifications view" into nyc-mr1-dev
Dirk Dougherty [Tue, 14 Jun 2016 23:26:28 +0000 (16:26 -0700)]
dd new ds-static doc build target to generate static docs (only) for devsite without resolving @links.
Change-Id: I7d26fabfca74d8e706fd99cbeaa1761907c31dbf
Tyler Gunn [Tue, 16 Aug 2016 23:04:48 +0000 (16:04 -0700)]
Add Telephony Connection event for handover from WIFI to LTE.
This connection event is used to inform an InCallService of the fact that
a handover from WIFI to LTE has occurred.
Bug:
30837560
Change-Id: Iaf7e301ca20ffbe5b3cb1b3596f898fcda8a7785
Glenn Kasten [Tue, 16 Aug 2016 22:51:57 +0000 (22:51 +0000)]
Merge "Define low latency output stream (formerly primary)" into nyc-mr1-dev
Selim Cinek [Tue, 16 Aug 2016 21:16:59 +0000 (14:16 -0700)]
Fixed the animation of the no notifications view
The view was also animating when the shade wasn't expanded.
Change-Id: If235db60230525dda17c5df0681beec2ab01a79e
Fixes:
30880548
Fan Zhang [Tue, 9 Aug 2016 21:21:15 +0000 (14:21 -0700)]
Allow configurable data warning for BillingCyclerPreference
Bug:
30898071
Change-Id: Ifb822828c5e7152e4ca217593f7746bfbb29ab2a
Brad Ebinger [Mon, 15 Aug 2016 18:28:26 +0000 (11:28 -0700)]
Adds a CNAP filtering field to the CarrierConfig
Adds the ability for the CarrierConfig to provide a list of CNAP names
that will be filtered out to the user. These names are usually generic
names that do not provide any useful caller ID information, such as
"WIRELESS CALLER".
Bug:
30142293
Change-Id: I8a99975380f99d160c2af6f6fa4b5ca3ebca1d3c
Chong Zhang [Tue, 16 Aug 2016 19:49:28 +0000 (19:49 +0000)]
Merge "Add new window type TYPE_DRAWN_APPLICATION" into nyc-mr1-dev
Phil Weaver [Tue, 16 Aug 2016 19:33:27 +0000 (19:33 +0000)]
Merge "Add null check to KeyEventDispatcher." into nyc-mr1-dev
Andrew Solovay [Tue, 2 Aug 2016 21:24:58 +0000 (14:24 -0700)]
docs: Docs for Support Library 24.2.0 release
Includes updates to the features doc, to reflect the v4 support
library's division into several smaller modules. Also modified
the transitions doc to note the support library's support for
transitions in API levels 14-19.
Since we're deprecating support for API levels below 9, I changed
several examples to use higher API levels.
See first comment for doc stage location.
bug:
30505601
Change-Id: Ic06a023f705893c91ff3b86d0af8cfed957eb724
TreeHugger Robot [Tue, 16 Aug 2016 18:36:24 +0000 (18:36 +0000)]
Merge "Fixed a bug where the summary could become visible even if it was suppressed" into nyc-mr1-dev
Adrian Roos [Tue, 16 Aug 2016 18:32:26 +0000 (18:32 +0000)]
Merge "NavBar: Use rotation watcher" into nyc-mr1-dev
Tyler Gunn [Tue, 16 Aug 2016 18:32:12 +0000 (18:32 +0000)]
Merge "Support auto-downgrade to audio when data disabled." into nyc-mr1-dev
Sriram Viswanathan [Tue, 16 Aug 2016 18:20:10 +0000 (18:20 +0000)]
Merge "Replace android auto assets with the latest" into nyc-mr1-dev
Selim Cinek [Tue, 16 Aug 2016 02:39:55 +0000 (19:39 -0700)]
Fixed a bug where the summary could become visible even if it was suppressed
Because the updating of the suppression was prohibited, some groups could loose
their suppression state when they were heads upped. This would lead to duplicate
notifications. We're now still allowing the state to be properly modified instead
but don't notify listeners anymore since that was only an internal update.
Change-Id: I6ae96ea8cfab00ef6bdb1ef047f8b77ea88e8206
Fixes:
30608517
Eric Schmidt [Thu, 11 Aug 2016 19:54:31 +0000 (12:54 -0700)]
docs: Fixed code snippet in notify-user/navigation.html
Bug:
25098348
Change-Id: Ic116900eb9c6e1ebfbc6b99673ffeff3f2df8533
John Reck [Tue, 16 Aug 2016 16:44:23 +0000 (09:44 -0700)]
Fix maps resume being blank
Bug:
30889568
Fixes an issue where mLayer didn't have
the mSurface set on it in certain resume
scenarios.
Change-Id: Ib75065d3d75e6141d6cd8f306584f6a569b9907c
TreeHugger Robot [Tue, 16 Aug 2016 15:32:03 +0000 (15:32 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Tue, 16 Aug 2016 15:30:36 +0000 (15:30 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev
Bill Yi [Tue, 16 Aug 2016 09:02:06 +0000 (02:02 -0700)]
Import translations. DO NOT MERGE
Change-Id: Iae3ad7fc7b524b82d0e71c65a0d53a76b9ecff68
Auto-generated-cl: translation import
Bill Yi [Tue, 16 Aug 2016 07:29:56 +0000 (00:29 -0700)]
Import translations. DO NOT MERGE
Change-Id: I7c27b0c03c815ecccf209cd70ab764b836c7932b
Auto-generated-cl: translation import
Erik Kline [Mon, 15 Aug 2016 07:16:18 +0000 (16:16 +0900)]
Support tethering IPv6 toward the first requested downstream.
We no longer tether toward wifi only, but rather implement 64share toward
the current, oldest (first requested) active downstream.
Additionally, explicitly ban IPv6 tethering toward Bluetooth until
PAN support is figured out.
Bug:
30298058
Change-Id: Ib705b69eae767ec50131d09d26168d9e041e4bc0
Rob Carr [Tue, 16 Aug 2016 01:31:31 +0000 (01:31 +0000)]
Merge changes I082e323e,I326bf776 into nyc-mr1-dev
* changes:
Limit seamless rotation to TRANSFORM_INVERSE_DISPLAY children.
Allow seamless rotation before mTopIsFullscreen is set.
Dirk Dougherty [Tue, 16 Aug 2016 01:30:07 +0000 (01:30 +0000)]
Merge "Doc change: escape lt char in generic type in pre block." into nyc-dev
am:
114c09498d
Change-Id: Ie7f79a9236823a9066867fb52bf352523730ec3f
Dirk Dougherty [Tue, 16 Aug 2016 01:30:04 +0000 (01:30 +0000)]
Doc change: escape lt char in generic type in pre block.
am:
1035b25825
Change-Id: I4e4c01fe612bbcf05c31c6d33da6bbbe837aa468
TreeHugger Robot [Tue, 16 Aug 2016 01:21:56 +0000 (01:21 +0000)]
Merge "Introduce new constant for double tap gesture rotation hint." into nyc-mr1-dev
Dirk Dougherty [Tue, 16 Aug 2016 01:17:31 +0000 (01:17 +0000)]
Merge "Doc change: escape lt char in generic type in pre block." into nyc-dev
Phil Weaver [Tue, 16 Aug 2016 00:49:55 +0000 (17:49 -0700)]
Add null check to KeyEventDispatcher.
Make sure we don't try to dispatch key events to services
that have died. Doing so crashes the device.
Bug:
30866905
Change-Id: I1cc0515cca8924b0c2744de98ac75a901b94246d
Adrian Roos [Thu, 11 Aug 2016 17:41:08 +0000 (10:41 -0700)]
NavBar: Use rotation watcher
Replaces the display changed listener with a
rotation watcher. The display listener fired
too late and did not produce a rotated frame
in time. Also cleans up logging tags.
Change-Id: I3336275ae123f868ed9ee8cc28a6285a06f2e1a6
Fixes:
30312602
Chong Zhang [Tue, 16 Aug 2016 00:14:16 +0000 (17:14 -0700)]
Add new window type TYPE_DRAWN_APPLICATION
This type behaves like a normal TYPE_APPLICATION, except that WM
will always wait for it to be drawn before starting a transition.
WM always waits for TYPE_BASE_APPLICATION (main window), but for
TYPE_APPLICATION, it only waits if the window relayouts to visible
and gets a surface before the main window is drawn. If main window
itself is ready very fast, transition could start without the other
window.
bug:
30830849
Change-Id: Ife71a9812db7c8eba6ee4ead10ce4f31d9e93b40
TreeHugger Robot [Tue, 16 Aug 2016 00:21:34 +0000 (00:21 +0000)]
Merge "Changing user inactivity and warning dialog timeouts" into nyc-mr1-dev
TreeHugger Robot [Mon, 15 Aug 2016 23:58:06 +0000 (23:58 +0000)]
Merge "Count failed install as finished" into nyc-mr1-dev
TreeHugger Robot [Mon, 15 Aug 2016 23:45:04 +0000 (23:45 +0000)]
Merge "Fix bug where RemoteInputView didn't reopen the IME" into nyc-mr1-dev
TreeHugger Robot [Mon, 15 Aug 2016 22:56:00 +0000 (22:56 +0000)]
Merge "AAPT: Fix use-after-free error" into nyc-mr1-dev
Suprabh Shukla [Mon, 15 Aug 2016 19:50:32 +0000 (12:50 -0700)]
Changing user inactivity and warning dialog timeouts
Increasing the inactivity timeout to 90 seconds to accomodate the longest
app. demo video for retail. Also, removing the warning dialog by setting
the countdown timeout to 0, so it can be re-enabled by overriding the value
through gservices if needed.
Bug:
30426773
Bug:
30866394
Change-Id: I6735943adfaf3d210ed9eb9163b5c7ce8dcf53ec
Tyler Gunn [Mon, 15 Aug 2016 22:32:02 +0000 (22:32 +0000)]
Merge "Add missing remote conference property set." into nyc-mr1-dev
Fyodor Kupolov [Mon, 15 Aug 2016 22:29:47 +0000 (15:29 -0700)]
Count failed install as finished
Otherwise DEMO_USER_SETUP_COMPLETE will not be set.
Bug:
30445353
Change-Id: Id2a0c1b1643dd9846328a20f4c67e11e69b3bc84
Robert Carr [Mon, 15 Aug 2016 19:19:00 +0000 (12:19 -0700)]
Limit seamless rotation to TRANSFORM_INVERSE_DISPLAY children.
In what can only be called an unfortunate workaround we require
seamlessly rotated child windows to have the
TRANSFORM_TO_DISPLAY_INVERSE
flag. Due to limitations in the client API, there is no way for the
client to set this flag in a race free fashion. If we seamlessly rotate
a window which does not have this flag, but then it gains it,
we will have an incorrect visual result (rotated buffer contents). This
means if we want to support seamlessly rotating windows which could gain
this flag, we can't seamlessly rotate windows which don't have it. This
unfortunately limits seamless rotation in N to Camera framework users,
native code, and applications without child windows. This is unfortunate
but having the camera work was always our primary use case, and it's not
as if we are offering an API for it, it's a behind the scenes
enhancement of ROTATION_ANIMATION_JUMPCUT.
Bug:
30171992
Change-Id: I082e323ee569cfc1ff2559657cc22194c251c7ec
Adrian Roos [Mon, 15 Aug 2016 22:02:46 +0000 (15:02 -0700)]
Fix bug where RemoteInputView didn't reopen the IME
Editable TextViews are implicitly selectable. Setting the selectable
property to true however causes a bug where the onTouch logic thinks
the view is not editable and thus doesn't show the IME when clicking
that view.
Change-Id: I9dd6139195bd98b26293e330290650d4e5549a6d
Fixes:
30595718
Selim Cinek [Mon, 15 Aug 2016 19:40:57 +0000 (12:40 -0700)]
Fixed an issue where the background could show in a wrong way
Change-Id: Icefeb2275d6cbabc576c35990ce4441b3a41ebd9
Fixes:
30855224
Adam Lesinski [Mon, 15 Aug 2016 21:19:46 +0000 (14:19 -0700)]
AAPT: Fix use-after-free error
Re-order deletion of ResXMLTree and the Asset object
it iterates over.
Bug:
30844391
Change-Id: Ied033d0a8f93343006228a2054c6d0f42bb4717a
Dianne Hackborn [Mon, 15 Aug 2016 21:16:41 +0000 (21:16 +0000)]
Merge "Docs only: N is no longer a shrug." into nyc-mr1-dev
Chong Zhang [Fri, 12 Aug 2016 23:03:29 +0000 (16:03 -0700)]
Wallpaper target selection during animation
In case of double tapping from Home, there could be two set of
transitions, first is launcher->Recents, followed shortly by
Recents->app. On the second transition, it should be running
a wallpaper close, but because of the way we pick wallpaper
target, sometimes we pick launcher if both launcher & Recents
are animating away. This makes us to run a different animation
which could involve dimming the wallpaper briefly.
Also, findWallpaperTarget() sometimes could toggle between two
valid wallpaper targets, picking either of them gives correct
result for showing the wallpaper, but could result in different
exit transition.
This change prefers the visible target if there is only one
visible, otherwise the one in opening or closing app list. This
helps maybeUpdateTransitToWallpaper to better choose transition.
bug:
30831873
Change-Id: I0eaa89bdc35f5f51875d5cbeceba11ce40f4791f
Julius D'souza [Mon, 15 Aug 2016 19:47:33 +0000 (19:47 +0000)]
DO NOT MERGE ANYWHERE: Make slow brightness display ramp rate configurable. am:
13edf0a70b -s ours am:
0903c5fe7a -s ours
am:
f51dfc24d1 -s ours
Change-Id: Iada12a5685d32efafedd18b4d6fba5b8cc642f60
Julius D'souza [Mon, 15 Aug 2016 19:33:29 +0000 (19:33 +0000)]
DO NOT MERGE ANYWHERE: Make slow brightness display ramp rate configurable. am:
13edf0a70b -s ours
am:
0903c5fe7a -s ours
Change-Id: Iba7ccc2ec071ea8c13d146b39aab48d2f4fc4977
TreeHugger Robot [Mon, 15 Aug 2016 19:25:45 +0000 (19:25 +0000)]
Merge "QS Footer: Don't update icon from wrong thread." into nyc-mr1-dev
Robert Carr [Mon, 15 Aug 2016 19:05:21 +0000 (12:05 -0700)]
Allow seamless rotation before mTopIsFullscreen is set.
The difference between mTopFullscreenOpaqueWindowState != null
and mTopIsFullscreen relates to whether the status bar is animating.
However the flag won't be cleared until the next layout pass following
the animation. As long as the window isn't animating we are fine to
rotate seamlessly. This check was copied from selectRotationAnimationLw.
A little code archaeology implies it was perhaps historical and
introduced before the flag had this meaning.
Bug:
30171992
Change-Id: I326bf7766f8ebe307b833d1ca0c0cdfe80b1eb6c
Robert Carr [Mon, 15 Aug 2016 19:00:35 +0000 (12:00 -0700)]
Introduce new constant for double tap gesture rotation hint.
As discussed in ag/
1192965/ we have a special case for rotation
animation selection in launch from double tap. This was set to
ROTATION_ANIMATION_CROSSFADE as the goal was just to avoid
ROTATION_ANIMATION_ROTATE on the viewfinder surface and
seamless rotation in launch scenarios was initially descoped. Now we
are aiming at fixing this though, and ROTATION_ANIMATION_CROSSFADE
does not quality for seamless rotation. ROTATION_ANIMATION_JUMPCUT
also would not be a good choice because in the situation that the
rotation occurs before the app starting window appears, then we would
jump cut from unrotated wallpaper to rotated app, I think we want
a crossfade in this scenario. To this end introduce and use a new @hide constant
ROTATION_ANIMATION_SEAMLESS which qualifies for seamless but falls back
to CROSSFADE if seamless can't occur.
Bug:
30171992
Change-Id: If1945b17b5159be4cd5ba0b139d6bea9f7fcca33
Julius D'souza [Mon, 15 Aug 2016 19:25:33 +0000 (19:25 +0000)]
DO NOT MERGE ANYWHERE: Make slow brightness display ramp rate configurable.
am:
13edf0a70b -s ours
Change-Id: I7c02cea3ea0008f3f112063b6a06d08049c4998b
Julius D'souza [Fri, 5 Aug 2016 21:34:38 +0000 (14:34 -0700)]
DO NOT MERGE ANYWHERE: Make slow brightness display ramp rate configurable.
Add overlay setting with current default value.
Bug:
30085530
Change-Id: Ib5d2448b88cfb66a97febcdf06e2118c84b16cd0
Chong Zhang [Mon, 15 Aug 2016 18:09:29 +0000 (11:09 -0700)]
Revert "DO NOT MERGE -- Revert the following two commits as they're causing flickering"
This reverts commit
44bd57ee25484bd74025c116f8a83d1df5990f34.
bug:
30831873
bug:
30790402
Chong Zhang [Mon, 15 Aug 2016 19:04:47 +0000 (19:04 +0000)]
Merge "Allow performShowLocked when transition animation started" into nyc-mr1-dev
Selim Cinek [Mon, 15 Aug 2016 18:35:57 +0000 (18:35 +0000)]
Merge "Fixed that HUNs wouldn't show when the keyguard is occluded" into nyc-mr1-dev
Jason Monk [Mon, 15 Aug 2016 17:57:43 +0000 (13:57 -0400)]
QS Footer: Don't update icon from wrong thread.
Change-Id: I25191818579fac57236b67d7291b6ee00dd838b5
Fixes:
30748384
Tyler Gunn [Mon, 15 Aug 2016 17:56:12 +0000 (10:56 -0700)]
Add missing remote conference property set.
When creating a new remote conference, there was a missing call to
"setConnectionProperties". This would prevent remote conferences from
being created with the correct properties as defined in the actual
conference.
Bug:
30383741
Change-Id: I335e35c222ae18b0d6ea7e750b91bcc36aa40ece
Chong Zhang [Mon, 15 Aug 2016 01:47:54 +0000 (18:47 -0700)]
Allow performShowLocked when transition animation started
Some transitions can have no animation, in which case
isReadyForDisplayIgnoringKeyguard() will wait for VIEW visibility
to become VISIBLE. But if we have a saved surface, the transition
could have already started. This causes exiting app to be hidden,
while entering app's performShowLocked() still hold back waiting
for the relayout to visible.
If we started animating with saved surface, it should also count
as transition animation started.
b/
30855380
Change-Id: I6260a323b48e57d8337267d9136f630226a48dc8
David Gross [Mon, 15 Aug 2016 17:23:17 +0000 (17:23 +0000)]
Merge "Update RenderScript docs: reduction, other API 23/24 changes, cleanup." into nyc-dev
am:
8cb4ca439e
Change-Id: I1507e8d3d8bf588ea48e17b3d93ced19228d5d21
David Gross [Mon, 15 Aug 2016 17:23:14 +0000 (17:23 +0000)]
Update RenderScript docs: reduction, other API 23/24 changes, cleanup.
am:
b50e856fc7
Change-Id: I37cf0227be2a32261b44f19f6d45a5ea4ff6f624
David Gross [Mon, 15 Aug 2016 17:17:01 +0000 (17:17 +0000)]
Merge "Update RenderScript docs: reduction, other API 23/24 changes, cleanup." into nyc-dev
TreeHugger Robot [Sat, 13 Aug 2016 00:40:52 +0000 (00:40 +0000)]
Merge "SamplingTimer: Fix issue with summary recording too much" into nyc-mr1-dev
TreeHugger Robot [Sat, 13 Aug 2016 00:24:10 +0000 (00:24 +0000)]
Merge "Remember all wallpapers' backup-allow state" into nyc-mr1-dev
TreeHugger Robot [Sat, 13 Aug 2016 00:12:59 +0000 (00:12 +0000)]
Merge "Fix LockscreenWallpaper jank" into nyc-mr1-dev
Dianne Hackborn [Fri, 12 Aug 2016 23:15:44 +0000 (16:15 -0700)]
Docs only: N is no longer a shrug.
Change-Id: I6fa8f77d93f53b7969ec6aab4c7e9ca27d17d01f
TreeHugger Robot [Fri, 12 Aug 2016 23:48:12 +0000 (23:48 +0000)]
Merge "Copy exiting app token list while stepping animation." into nyc-mr1-dev
Adam Lesinski [Fri, 12 Aug 2016 22:49:44 +0000 (15:49 -0700)]
SamplingTimer: Fix issue with summary recording too much
The summary is supposed to just hold enough data to continue counting
once the device has reset. Since kernel stats reset when the device
resets, and the first update is ignored to account for soft resets where the
kernel continues running, SamplingTimer should not be recording the last value
it saw from /proc/wakelocks in the summary.
Bug:
30575302
Change-Id: Ic193bc5af9a0ede514e3abc8146523d7316c47d3
Adrian Roos [Fri, 12 Aug 2016 22:29:36 +0000 (15:29 -0700)]
Fix LockscreenWallpaper jank
Change-Id: I3f11d26eaa51eb509284fb1bb25eab03a4f243a0
Fixes:
30493315
Robert Carr [Fri, 12 Aug 2016 20:50:38 +0000 (13:50 -0700)]
Copy exiting app token list while stepping animation.
Stepping the animation can lead to WindowStateAnimator#finishExit,
which can lead to WindowManagerService#removeWindowInnerLocked, which
can immediately call WindowSurfacePlacer.performSurfacePlacement. From
here we will directly modify mExitingAppTokens for each stack and remove
tokens where exiting is complete. I think removeWindowInnerLocked making
a direct call to performSurfacePlacement is questionable...but changing
semantics there is very risky. For now, simply avoid processing tokens
in the animator if the surface placer has removed them. It seems all we
would want to do is trigger a layout pass, which has just occured anyway.
Bug:
30813094
Change-Id: Iaff77d227e09839f7e6edda6b8f188d164e6da74
Hui Shu [Fri, 12 Aug 2016 21:24:42 +0000 (21:24 +0000)]
Merge "Fix documentation." into nyc-mr1-dev
Tyler Gunn [Fri, 12 Aug 2016 21:14:13 +0000 (14:14 -0700)]
Support auto-downgrade to audio when data disabled.
Add carrier config option to determine if carrier supports downgrade to
audio.
Add new telephony Connection events to signal Dialer that there was a
downgrade to audio, and why.
Bug:
30702393
Change-Id: Idd5272aafd71601e92291644640f52afe200208e