OSDN Git Service
Tomasz Mikolajewski [Tue, 5 Apr 2016 00:33:01 +0000 (00:33 +0000)]
Merge "Fix perf tests for cold startup." into nyc-dev
Paul Jensen [Tue, 5 Apr 2016 00:23:36 +0000 (00:23 +0000)]
Merge "Fix potential ApfFilter bugs by careful ByteBuffer use" into nyc-dev
Paul Jensen [Tue, 5 Apr 2016 00:22:20 +0000 (00:22 +0000)]
Merge "Plumb WiFi multicast filter through to ApfFilter" into nyc-dev
Aga Wronska [Tue, 5 Apr 2016 00:20:52 +0000 (00:20 +0000)]
Merge "Make Metrics.logKeyboardAction() method take @KeyboardAction type instead of KeyEvent" into nyc-dev
Makoto Onuki [Tue, 5 Apr 2016 00:09:46 +0000 (00:09 +0000)]
Merge "Do not enable binder exception logging." into nyc-dev
Yohei Yukawa [Tue, 5 Apr 2016 00:05:07 +0000 (00:05 +0000)]
Merge "Unhide View#dispatch{Start,Finish}TemporaryDetach()" into nyc-dev
Rob Carr [Tue, 5 Apr 2016 00:00:59 +0000 (00:00 +0000)]
Merge "Correct screenshot bounds calculation." into nyc-dev
Adrian Roos [Mon, 4 Apr 2016 23:55:53 +0000 (23:55 +0000)]
Merge "Get rid of negative margins" into nyc-dev
Mady Mellor [Mon, 4 Apr 2016 23:29:05 +0000 (23:29 +0000)]
Merge "Fix slow dismiss animation" into nyc-dev
Muyuan Li [Thu, 31 Mar 2016 20:53:56 +0000 (13:53 -0700)]
SettingsLib: refactor for extensibility.
Add short version of charging / discharging labels. Extended getBatteryInfo method to take in additional flag for short version labels.
Change-Id: I499ce59493f1345c3084d48829ded5117d470e44
(cherry picked from commit
e686bf4514d9c1116a4eaa8af285f44613e23b36)
Mady Mellor [Mon, 4 Apr 2016 23:14:05 +0000 (23:14 +0000)]
Merge "Fix showing gear behind notification when RTL language selected" into nyc-dev
Adam Powell [Mon, 4 Apr 2016 23:05:58 +0000 (23:05 +0000)]
Merge "Tweaks for ScaleGestureDetector" into nyc-dev
Jorim Jaggi [Mon, 4 Apr 2016 23:05:37 +0000 (23:05 +0000)]
Merge "Fix minimized dock" into nyc-dev
Makoto Onuki [Mon, 4 Apr 2016 22:58:35 +0000 (15:58 -0700)]
Do not enable binder exception logging.
Bug
28005618
Change-Id: Ie13fd5b6d1fcbf27ad480501e30b5cb1774e8b48
Winson Chung [Mon, 4 Apr 2016 22:50:40 +0000 (22:50 +0000)]
Merge "Adding content description for app-info button when talkback is enabled." into nyc-dev
Rob Carr [Mon, 4 Apr 2016 22:33:43 +0000 (22:33 +0000)]
Merge "Do not constrain width/height of child windows at layout." into nyc-dev
Robert Carr [Mon, 4 Apr 2016 22:28:23 +0000 (15:28 -0700)]
Correct screenshot bounds calculation.
If we intersect each window in the application with
our screenshot bounds we will end up reduced to the bounds
of the smallest window. Modify logic to just check for
intersection without modifying the bounds.
Bug:
27996291
Change-Id: Ib0ebb6bd02a313f67f1562dabcfb394efa8f16cf
Adam Lesinski [Mon, 4 Apr 2016 22:25:55 +0000 (22:25 +0000)]
Merge "AAPT2: Add option to add JavaDoc annotations to Java classes" into nyc-dev
Roshan Pius [Mon, 4 Apr 2016 22:21:23 +0000 (22:21 +0000)]
Merge "power_profile: Move all wifi power values" into nyc-dev
Gustav Sennton [Mon, 4 Apr 2016 22:09:35 +0000 (22:09 +0000)]
Merge "Provide command to change WebView implementation." into nyc-dev
Winson [Mon, 4 Apr 2016 18:02:11 +0000 (11:02 -0700)]
Adding content description for app-info button when talkback is enabled.
Bug:
27699389
Change-Id: Ia4a0e5f197fa5c51585c3cfb9c71aee858836047
Chris Craik [Mon, 4 Apr 2016 22:08:30 +0000 (22:08 +0000)]
Merge "Fix how outlines are sent to rendernode" into nyc-dev
Jorim Jaggi [Sat, 26 Mar 2016 05:07:16 +0000 (22:07 -0700)]
Fix minimized dock
- When SysUI crashed, make sure state is up-to-date
- When divider gets invisible, update state because animations
won't finish
- Make sure to keep mMinimizedDock up-to-date in all cases, even
if docked stack is already gone.
- If docked stack is going away, reset minimized state
- Disallow undocking when minimized.
Bug:
27588187
Bug:
27486464
Change-Id: I6ea48562fae3a8df038a690a488580d758681370
Jorim Jaggi [Sat, 2 Apr 2016 00:43:14 +0000 (17:43 -0700)]
Do not call forceLayout if not needed
If the relevant frames for the app don't actually change, there is
no reason to call forceLayout and force a layout pass.
Bug:
27864358
Change-Id: I2add8cc5791023937afc154e6e50bbf7efb35adb
Doris Liu [Mon, 4 Apr 2016 21:53:43 +0000 (21:53 +0000)]
Merge "Make AVD thread safe" into nyc-dev
Adam Powell [Mon, 4 Apr 2016 21:42:24 +0000 (14:42 -0700)]
Tweaks for ScaleGestureDetector
Remove obsolete history and size tracking from ScaleGestureDetector.
Change-Id: I20c323a8a92e467b62eb412b718c2e9e906e7800
Doris Liu [Wed, 2 Mar 2016 23:16:28 +0000 (15:16 -0800)]
Make AVD thread safe
This CL introduces staging properties to VectorDrawable, which holds
properties coming from UI thread. When staging properties are changed,
they are marked dirty, and the staging properties then get pushed to
RenderThread at sync point. In cases where no staging property has
been changed, at sync point we sync the render thread properties back
to staging properties to reflect the latest render thread animation
value change.
Also, update Vector Drawable bitmap only when it's dirty
Bug:
27343970
Bug:
27385912
Bug:
27263667
Bug:
27927674
Bug:
27774383
Change-Id: Ia864f5400a53a08dbfb284fae581fb1aac4fff87
Eric Laurent [Mon, 4 Apr 2016 21:39:01 +0000 (21:39 +0000)]
Merge "MediaActionSound: fix SoundPool load race condition" into nyc-dev
Andrii Kulian [Mon, 4 Apr 2016 21:13:48 +0000 (21:13 +0000)]
Merge "Set correct bounds when docked stack is removed" into nyc-dev
Aga Wronska [Mon, 4 Apr 2016 21:02:02 +0000 (14:02 -0700)]
Make Metrics.logKeyboardAction() method take @KeyboardAction type
instead of KeyEvent
Change-Id: Ib9a19532612b679141b6d611e448247d3b0bab23
Fixing: b/
27942360
Gustav Sennton [Wed, 16 Mar 2016 17:38:42 +0000 (17:38 +0000)]
Provide command to change WebView implementation.
Add a shell command for switching webview implementation so that this
can be done automatically - without interacting with a Dev Setting.
Bug:
27540566
Change-Id: I3c4acaa1b8f4ba24c637ef8a1d48cc7b2616bd91
Ruchi Kandoi [Mon, 4 Apr 2016 20:42:10 +0000 (20:42 +0000)]
Merge "PowerManager: Adds isSustainedPerformanceModeSupported()" into nyc-dev
Chris Craik [Mon, 4 Apr 2016 20:40:39 +0000 (13:40 -0700)]
Fix how outlines are sent to rendernode
bug:
27918183
Fixes an issue where all convex outlines were pushed as empty rects to
RenderNode.
Also adds outline/reveal clip property logging, so such issues are
easier to debug in the future.
Change-Id: Ic4a996ecd09a8ef84cdf8b963bdb4853c7f6d180
Jorim Jaggi [Fri, 1 Apr 2016 22:49:45 +0000 (15:49 -0700)]
Move docked stack to the side in landscape instead of clip
Bug:
27154882
Bug:
27972642
Change-Id: Ie170571e356199bfbde014c80d670fd238825828
Jorim Jaggi [Sat, 2 Apr 2016 01:20:33 +0000 (18:20 -0700)]
Fix screen rotation animation
Bug:
25019187
Change-Id: I65b5a76147b93e081466035bfc3cce0c9473610e
Derek Sollenberger [Mon, 4 Apr 2016 20:26:26 +0000 (20:26 +0000)]
Merge "Cleanup addtional files that were missed in the first purge of AvoidXfermode" into nyc-dev
Rob Carr [Mon, 4 Apr 2016 20:24:28 +0000 (20:24 +0000)]
Merge "Ensure we leave space between layers in docked stack." into nyc-dev
Bo Liu [Mon, 4 Apr 2016 20:20:08 +0000 (20:20 +0000)]
Merge "Expose setDrawGLFunctionDetachedCallback to webview" into nyc-dev
Gustav Sennton [Mon, 4 Apr 2016 20:19:55 +0000 (20:19 +0000)]
Merge "Move more code from WebViewUpdateService to separate overridable class" into nyc-dev
Makoto Onuki [Mon, 4 Apr 2016 20:03:21 +0000 (20:03 +0000)]
Merge "ShortcutManager: More command for CTS, more tests.." into nyc-dev
Mady Mellor [Thu, 31 Mar 2016 21:18:35 +0000 (14:18 -0700)]
Fix slow dismiss animation
An accelerated interpolator is used for dismissing when the
the velocity = 0 which can occur with dismiss all or if the
noti is swiped far enough but not fast enough.
There is no duration specified when the noti is swiped far
enough, and the velocity passed in is 0 so the default
duration is used without taking into account the velocity.
This CL alters the code to pass in the velocity so that a
duration is calculated.
Bug:
27864379
Change-Id: Ifac04bb8d1b714c040102fef035d55737c844157
Eric Laurent [Sat, 2 Apr 2016 01:14:28 +0000 (18:14 -0700)]
MediaActionSound: fix SoundPool load race condition
If play() was called shortly after load() and before the load
completion callback, the sample was considered
loaded although the SoundPool was not ready to play it.
Fixed by implementing a more robust state machine for sound
load and play control.
Bug:
22499793
Change-Id: I727e07f842a0adc5225dc248f16bc4a7225a1c8e
Adam Lesinski [Sat, 2 Apr 2016 02:19:24 +0000 (19:19 -0700)]
AAPT2: Add option to add JavaDoc annotations to Java classes
Change-Id: I7ee8c20cdd91380927a65c41097ffd3a6ffa2df5
Eino-Ville Talvala [Mon, 4 Apr 2016 19:38:51 +0000 (19:38 +0000)]
Merge "Camera: Allow preview operation of SCENE_MODE_HDR" into nyc-dev
Eino-Ville Talvala [Mon, 4 Apr 2016 19:38:09 +0000 (19:38 +0000)]
Merge "Camera: Add proper buffer drop errors to LEGACY mode" into nyc-dev
Jason Monk [Mon, 4 Apr 2016 19:28:50 +0000 (19:28 +0000)]
Merge "Add app attribution to QS editing" into nyc-dev
Ruchi Kandoi [Wed, 30 Mar 2016 19:07:31 +0000 (12:07 -0700)]
PowerManager: Adds isSustainedPerformanceModeSupported()
isSustainedPerformanceModeSupported() returns true if the device
supports the mode. It checks for the boolean config
"config_sustainedPerformanceModeSupported" to be set.
Bug:
22864186
Change-Id: I0f9f0bcbb8c02b19f37e9c87570d88e8f78f7992
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
Anna Galusza [Mon, 4 Apr 2016 19:19:30 +0000 (19:19 +0000)]
Merge "Fix bug where service disabled with disableSelf() would not reset soft keyboard behavior. Bug:
27947344" into nyc-dev
Mady Mellor [Mon, 4 Apr 2016 18:56:38 +0000 (11:56 -0700)]
Fix showing gear behind notification when RTL language selected
Need to alter the translation to place the view when in RTL.
Bug:
27596418
Derek Sollenberger [Mon, 4 Apr 2016 18:49:51 +0000 (14:49 -0400)]
Cleanup addtional files that were missed in the first purge of AvoidXfermode
bug:
14650725
Change-Id: Ib7fb6a31705fb60535ecf2017db321c15e3d06cc
Robert Carr [Fri, 1 Apr 2016 01:39:40 +0000 (18:39 -0700)]
Properly handle DimLayers which become fullscreen.
If a DimLayer becomes fullscreen while it is animating out,
then it will not be the shared fullscreen dim layer. However,
state.continueDimming will be false (as we are ending the Dim),
so around DimLayerController.cpp L191 we will identify it as
fullscreen, skip animating it for now, and not set fullScreenAndDimming
to the index (because continueDimming is false). fullScreenAndDimming
will be -1 so we will now animate the dimmer at index "fullscreen"
this will simply be the last fullscreen state we found, which would be
fine if the state we had skipped was the shared fullscreen dim layer,
but it wasn't. Ensure that we identify the layer as fullscreen and the
shared fullscreen dim layer.
Bug:
27775427
Change-Id: I49d4f59bb09af6a7e5bd666e499be1c7e11ee766
Rob Carr [Mon, 4 Apr 2016 18:34:37 +0000 (18:34 +0000)]
Merge changes I7d406cc8,Id6cf70ea into nyc-dev
* changes:
Do not set docked divider as IME target.
Fix IME adjustment for docked.
Robert Carr [Fri, 1 Apr 2016 00:23:35 +0000 (17:23 -0700)]
Ensure we leave space between layers in docked stack.
We need to leave space WINDOW_LAYER_MULTIPLIER between Z-order
adjacent normal windows, for things such as Dim Layers, etc. The
existing logic was breaking DIM_UNDER DimLayers in DockedStack. Consider
two normal windows, the second on top and with a DIM_UNDER. If we are
docked we will have restacked all the docked windows at HighestLayer+1
HighestLayer+2, etc...and so our second normal window is only one higher
than our first one. So when we put a dim under the second window
we end up with the same layer and the output is undefined.
Bug:
27721903
Change-Id: Ic27e0a10da2d1ab4a6058e0755ad4409b29527eb
Makoto Onuki [Mon, 4 Apr 2016 17:19:45 +0000 (10:19 -0700)]
ShortcutManager: More command for CTS, more tests..
and fix flakey tests.
Bug
27548047
Change-Id: Ia5f189278f6111850277ca16aa747469f48c5f14
Yohei Yukawa [Mon, 4 Apr 2016 17:56:35 +0000 (17:56 +0000)]
Merge "Show toast when subtype is rotated by Meta-Space." into nyc-dev
Eino-Ville Talvala [Mon, 4 Apr 2016 17:48:38 +0000 (10:48 -0700)]
Camera: Allow preview operation of SCENE_MODE_HDR
Some devices support HDR output for preview in addition to still
capture, so explicitly allow for that in the documentation of
SCENE_MODE_HDR.
Bug:
27313038
Change-Id: I894d7449dc0cfb7353f535db23acd12143590208
Chong Zhang [Mon, 4 Apr 2016 17:31:05 +0000 (17:31 +0000)]
Merge "Never "save" if the surface control is null." into nyc-dev
Chong Zhang [Mon, 4 Apr 2016 17:30:51 +0000 (17:30 +0000)]
Merge "Fix missing exit animation when app is closed during starting window" into nyc-dev
Yohei Yukawa [Sun, 3 Apr 2016 00:39:23 +0000 (17:39 -0700)]
Show toast when subtype is rotated by Meta-Space.
This follows up to my previous CL [1], with which we changed global
hardware key combinations regarding how multilingual user can manage
multiple keyboard layouts / input methods. Now we offer Meta-Space to
rotate input method (subtype), while we offered Shift-Space to rotate
hardware keyboard layouts previously.
One thing that is lost during above transition is an indication when the
such a key combination takes effect. Actually there was a toast that
shows new keyboard layout name, which is now lost.
With this CL, we bring back a toast so that we can show the new input
method (subtype) name. Note that the toast will be shown if all of the
following conditions are met.
- The input method (subtype) is rotated by a hardware key combination.
- IME window does not have IME_VISIBLE bit. Otherwise, showing a toast
is likely to cause UI overlap with the current IME's window.
[1]: I4005692215edfcf8bed3e86b1e07000148f986f5
ae61f7118a92e097e854c840d5726c0920f5db0e
Bug:
27547054
Change-Id: If3fe17adbffe4c1125783fc77fed3cfe78fc7933
Yohei Yukawa [Mon, 4 Apr 2016 17:29:02 +0000 (17:29 +0000)]
Merge "Fix a bug that IMS#mShowInputFlags is never updated." into nyc-dev
Eino-Ville Talvala [Thu, 31 Mar 2016 23:47:14 +0000 (16:47 -0700)]
Camera: Add proper buffer drop errors to LEGACY mode
The correct stream ID is required to be sent along with buffer drop
errors, and LEGACY mode was putting in a placeholder. This would
cause an error in the client-side implementation, triggered by
abortBuffers (Which is the only source of buffer drops from LEGACY).
Bug:
27828602
Change-Id: If3fba7a76f7aa0ff305efa4cce6c225eb720b30e
Robert Shih [Mon, 4 Apr 2016 17:09:43 +0000 (17:09 +0000)]
Merge "Fix MediaExtractor.getDrmInitData implementation for webm" into nyc-dev
Anna Galusza [Fri, 1 Apr 2016 20:34:27 +0000 (13:34 -0700)]
Fix bug where service disabled with disableSelf() would not reset soft keyboard
behavior.
Bug:
27947344
Change-Id: I19583cad14616416be3582c30653d244a27aa366
Phil Weaver [Mon, 4 Apr 2016 16:37:04 +0000 (16:37 +0000)]
Merge "Make a11y text navigation by page symmetric." into nyc-dev
Phil Weaver [Mon, 4 Apr 2016 16:36:34 +0000 (16:36 +0000)]
Merge "Support SET_TEXT for editable text views." into nyc-dev
Phil Weaver [Mon, 4 Apr 2016 16:36:00 +0000 (16:36 +0000)]
Merge "Add accessibility window title and anchor." into nyc-dev
Phil Weaver [Mon, 4 Apr 2016 16:34:26 +0000 (16:34 +0000)]
Merge "Remove docs for removed a11y gesture methods." into nyc-dev
Jason Monk [Mon, 4 Apr 2016 15:18:03 +0000 (11:18 -0400)]
Add app attribution to QS editing
Add a divider between where system tiles and custom tiles are and
add their app label to them as well.
Change-Id: I8890a7fee54e4c5340bbe95c6e100c58f81ee5c3
Fixes:
27874624
Wonsik Kim [Mon, 4 Apr 2016 14:46:09 +0000 (14:46 +0000)]
Merge "Don't try to compress .mkv resources" into nyc-dev
Todd Kennedy [Mon, 4 Apr 2016 14:20:15 +0000 (14:20 +0000)]
Merge "Fix intent filter priorities" into nyc-dev
Gustav Sennton [Fri, 1 Apr 2016 14:11:43 +0000 (15:11 +0100)]
Move more code from WebViewUpdateService to separate overridable class
Move more code from WebViewUpdateService to utility classes (methods
handling settings and uninstalling/enabling/disabling packages) to be
overridden during tests.
Also rename system utility class.
Bug:
27635535
Change-Id: If49999fba4fd0962f103f389898fa5ddf19365bd
Diego Perez [Mon, 4 Apr 2016 12:22:20 +0000 (12:22 +0000)]
Merge "Update Path and RenderNode delegates to new API" into nyc-dev
Yi Kong [Mon, 4 Apr 2016 11:57:31 +0000 (11:57 +0000)]
Merge "Track libcore commit
cf86f3319e738c76c5e97ad95bb8a4e30654a787 (part 2)" into nyc-dev
Yi Kong [Mon, 4 Apr 2016 10:26:00 +0000 (11:26 +0100)]
Track libcore commit
cf86f3319e738c76c5e97ad95bb8a4e30654a787 (part 2)
Bug:
27960078
Change-Id: I74709bc8a2543ceb54ad3cf2c3018f175ff20e24
(cherry picked from commit
c2a708596ff37cb01499a8a5a82af038baa85463)
Yi Kong [Fri, 1 Apr 2016 19:53:10 +0000 (20:53 +0100)]
Track libcore commit
cf86f3319e738c76c5e97ad95bb8a4e30654a787
Bug:
27960078
Change-Id: If89390ad1ddc3088a8552107bf27a51b1d3c6d02
(cherry picked from commit
2513fc3b7eb3a8b668fcf280cc8ed45bd20e1893)
Diego Perez [Mon, 4 Apr 2016 09:18:55 +0000 (10:18 +0100)]
Update Path and RenderNode delegates to new API
RenderNode_Delegate nCreate now takes a reference to this. In the
Path_Delegate, the native_offset call with a destination path has been
removed.
Change-Id: I6332bb4733974b817e8a29eab82e2218fcf942c4
Martijn Coenen [Mon, 4 Apr 2016 08:05:14 +0000 (08:05 +0000)]
Merge "Grant NFC tag app default permissions." into nyc-dev
Sungsoo Lim [Mon, 4 Apr 2016 06:56:11 +0000 (06:56 +0000)]
Merge "MediaBrowser: Make EXTRA_PAGE zero-based" into nyc-dev
Wonsik Kim [Mon, 4 Apr 2016 06:39:40 +0000 (15:39 +0900)]
Don't try to compress .mkv resources
Bug:
27987970
Change-Id: I58e920e81d1e79b7fbba479d8fb34afb3911f97d
Yohei Yukawa [Mon, 4 Apr 2016 05:50:11 +0000 (22:50 -0700)]
Fix a bug that IMS#mShowInputFlags is never updated.
As a preparation to fix bug
26985193, this CL fixes a bug that
IMS#ShowInputFlags is never updated. As a result,
IMS#onConfigurationChanged() has always called
IMS#onShowInputRequested() with specifying 0 to flags parameter, which
is wrong.
With this CL, we can assume that IMS#mShowInputFlags keeps tracking the
last value when it should do. Also, we can remove IMS#mShowInputForced
since it is now determined by IMS#mShowInputFlags.
Bug:
26985193
Change-Id: Ieff634b69ce941d78ffe208547f7edd19ea28643
Donghyun Cho [Mon, 4 Apr 2016 05:18:07 +0000 (05:18 +0000)]
Merge "Don't broadcast <Standby> message during shutdown when setting is disabled" into nyc-dev
Donghyun Cho [Fri, 1 Apr 2016 05:31:11 +0000 (14:31 +0900)]
Don't broadcast <Standby> message during shutdown when setting is disabled
When the system is shutting down or the screen is going to be off, <Standby>
message will be broadcasted if and only if the setting variable,
Settings.Global#HDMI_CONTROL_AUTO_DEVICE_OFF_ENABLED, is enabled. This change
will make the shutdown case to be checked with the setting properly, too.
Bug:
27781559
Change-Id: Ia6605d6b5627ab1ff67285d72846b618a09548bc
Svetoslav Ganov [Mon, 4 Apr 2016 05:15:20 +0000 (05:15 +0000)]
Merge "Use proper package name and UID when checking write settings access" into nyc-dev
Svet Ganov [Mon, 4 Apr 2016 05:04:22 +0000 (22:04 -0700)]
Use proper package name and UID when checking write settings access
bug:
26941229
Change-Id: I338fe6dd7c1b97f273909672cdd7d4fa207185ce
Donghyun Cho [Mon, 4 Apr 2016 05:04:04 +0000 (05:04 +0000)]
Merge "Turn on HDMI-related logs conditionally for better debugging" into nyc-dev
Svetoslav Ganov [Mon, 4 Apr 2016 04:18:50 +0000 (04:18 +0000)]
Merge "Kill app if revoking a permission while resetting app prefs" into nyc-dev
Svet Ganov [Mon, 4 Apr 2016 04:16:13 +0000 (21:16 -0700)]
Kill app if revoking a permission while resetting app prefs
bug:
25895994
Change-Id: I78616ab5f9addbd91d2f4d12a8161544f482ec43
Keisuke Kuroyanagi [Mon, 4 Apr 2016 03:39:18 +0000 (03:39 +0000)]
Merge "Make TextViewActivityTest stable by sleeping between clicks." into nyc-dev
Keisuke Kuroyanagi [Mon, 4 Apr 2016 03:12:30 +0000 (03:12 +0000)]
Merge "Make hasTransientState be true only if user created selection is active." into nyc-dev
Sungsoo Lim [Mon, 4 Apr 2016 01:09:30 +0000 (10:09 +0900)]
MediaBrowser: Make EXTRA_PAGE zero-based
Bug:
27948393
Change-Id: I97fb6b5f13ffb8e006ed4a7efc06e7f45fb5121a
Tomasz Mikolajewski [Mon, 4 Apr 2016 00:51:06 +0000 (09:51 +0900)]
Fix perf tests for cold startup.
Kiling ia force-stopping was invalidating the entire roots cache.
Bug:
27743087
Change-Id: Ib788cfeaa6e60c40b7277ba7ca0f2371816eded1
Jeff Sharkey [Sun, 3 Apr 2016 03:59:21 +0000 (03:59 +0000)]
Merge "Support direct-boot tests." into nyc-dev
Jeff Sharkey [Sat, 2 Apr 2016 05:20:31 +0000 (23:20 -0600)]
Support direct-boot tests.
Add shell commands to check on current FBE status and system ready
status. Mark variables without first-class locking as volatile.
Fix bug where UI automation would crash while device was locked by
marking it as forced direct-boot aware.
Bug:
26498834
Change-Id: Ib4dfb9350925e5413f93a09baacf84c62f2ba0ea
Simranjit Kohli [Sat, 2 Apr 2016 06:09:25 +0000 (06:09 +0000)]
Merge "Fix extra data in cache" into nyc-dev
Simranjit Kohli [Thu, 10 Mar 2016 18:36:11 +0000 (18:36 +0000)]
Fix extra data in cache
Reverting the revert.
The original CL(commit
a666d74d4bc7e1298314c516d1309571fb87c212) had a
bug in it. It was calling accountExistsCacheLocked(), while holding
accounts.cacheLock. The function accountExistsCacheLocked, was in turn
calling into getUserAccounts, which acquires mUsers. And this causes
trouble. mUsers is a a lock on all accounts, and hence calling it after
holding accounts.cachelock is calling for trouble. Since the locks are
acquired in other order, it causes a potential deadlock issue, which we
discovered later on.
That bug was fixed by commit
0e592733ecbde2b7e7f2aa92001656dfbcae9641.
We already have useraccount object and should reuse it.
This reverts commit
27d0e1fd660a7e92644ab6a2893ac1149f0c0488. This
commit was unneeded as the bug had been fixed by that time.
Change-Id: I5328c31fd485fd2c1c652cd0e7c2c4bded38a5fd
Ashutosh Joshi [Sat, 2 Apr 2016 04:18:37 +0000 (04:18 +0000)]
Merge "Added handling apps query response from context hub" into nyc-dev
Mihai Niță [Sat, 2 Apr 2016 03:24:52 +0000 (03:24 +0000)]
Merge "Fix suggestions in the language selector" into nyc-dev
Ashutosh Joshi [Tue, 29 Mar 2016 16:19:56 +0000 (09:19 -0700)]
Added handling apps query response from context hub
Added handling of app query reponse from context hub.
Exposed the maximum message size to clients.
Change-Id: Ie96a860774d005ad6ad72acc88dc79964835486b
Chong Zhang [Sat, 2 Apr 2016 00:57:07 +0000 (17:57 -0700)]
Fix missing exit animation when app is closed during starting window
When the transistion starts and we setTokenVisibilityLocked, mark all
relevant window flags on a starting window that's running exit animation.
This makes sure the starting window is removed when animation finishes.
bug:
27747191
Change-Id: I917ca18583e31db9a3e49ea70aae932c242877b8
Jorim Jaggi [Fri, 1 Apr 2016 23:55:54 +0000 (16:55 -0700)]
Do not clear INSCREEN and INSET_DECOR for resolver
Since we switched this activity to draw the system bar backgrounds,
and clearing these flags leads to that we don't get the insets
communicated, we need to remove the clearing of the flags.
Bug:
27914346
Change-Id: I72114ac7cec40933fa45891b3d1441bd30f883d4