OSDN Git Service

android-x86/frameworks-base.git
8 years agoUnlock should always wait for pending PRE_BOOT.
Jeff Sharkey [Mon, 18 Apr 2016 21:36:39 +0000 (15:36 -0600)]
Unlock should always wait for pending PRE_BOOT.

While processing an unlock request, we might go async to handle
long-running operations like dispatching PRE_BOOT_COMPLETED.  This
change ensures that all unlock requests for a particular user wait
in line behind any pending async operations.

Without this CL, any subsequent unlock requests would immediately
return successful, even though PRE_BOOT_COMPLETED events were still
being processed.

Bug: 28240584
Change-Id: I307d6aaebfb8f38028f3666a2e19e4399b7cf3a7

8 years agoDisable "defusable" logging for now.
Jeff Sharkey [Mon, 18 Apr 2016 19:53:53 +0000 (13:53 -0600)]
Disable "defusable" logging for now.

Bug: 28240784
Change-Id: I2c259867a8169eef220fb9faea6cdcafdde675b8

8 years agoMerge "Iterate through all known users after moving." into nyc-dev
Jeff Sharkey [Mon, 18 Apr 2016 19:43:49 +0000 (19:43 +0000)]
Merge "Iterate through all known users after moving." into nyc-dev

8 years agoMerge "Consistent creation/destruction of user data." into nyc-dev
Jeff Sharkey [Mon, 18 Apr 2016 19:43:16 +0000 (19:43 +0000)]
Merge "Consistent creation/destruction of user data." into nyc-dev

8 years agoMerge "Improve multi-window render clipping logic" into nyc-dev
Chris Craik [Mon, 18 Apr 2016 19:40:49 +0000 (19:40 +0000)]
Merge "Improve multi-window render clipping logic" into nyc-dev

8 years agoMerge "Reduce activity lifecycle churn when exiting split-screen mode." into nyc-dev
TreeHugger Robot [Mon, 18 Apr 2016 19:22:37 +0000 (19:22 +0000)]
Merge "Reduce activity lifecycle churn when exiting split-screen mode." into nyc-dev

8 years agoMerge "Fix VR->VR Activity transitions." into nyc-dev
Ruben Brunk [Mon, 18 Apr 2016 19:04:28 +0000 (19:04 +0000)]
Merge "Fix VR->VR Activity transitions." into nyc-dev

8 years agoMerge "Add new, hidden MotionEvent flag for partially obscured windows." into mnc...
Michael Wright [Mon, 18 Apr 2016 19:03:25 +0000 (19:03 +0000)]
Merge "Add new, hidden MotionEvent flag for partially obscured windows." into mnc-dev am: 224582e am: c6629bd am: a8064c2
am: bc57aae

* commit 'bc57aaed0e9ac88a63fa989dba145dc35d048c48':
  Add new, hidden MotionEvent flag for partially obscured windows.

Change-Id: I7663785a6877f61eaec121303dbdcedcbd242ec6

8 years agoMerge "Add new, hidden MotionEvent flag for partially obscured windows." into mnc...
Michael Wright [Mon, 18 Apr 2016 18:57:54 +0000 (18:57 +0000)]
Merge "Add new, hidden MotionEvent flag for partially obscured windows." into mnc-dev am: 224582e am: c6629bd
am: a8064c2

* commit 'a8064c2a8b54881bceade03a9d2f6c1223e055f3':
  Add new, hidden MotionEvent flag for partially obscured windows.

Change-Id: I4e8d2bff82a3308c5966a0b0c154209b727db669

8 years agoMerge "Add new, hidden MotionEvent flag for partially obscured windows." into mnc...
Michael Wright [Mon, 18 Apr 2016 18:52:13 +0000 (18:52 +0000)]
Merge "Add new, hidden MotionEvent flag for partially obscured windows." into mnc-dev am: 224582e
am: c6629bd

* commit 'c6629bd5dff622a26683269f9201b8d7871c6ef1':
  Add new, hidden MotionEvent flag for partially obscured windows.

Change-Id: I0d602765de707548ede0b1c0a6a38790626e7da1

8 years agoMerge "Add new, hidden MotionEvent flag for partially obscured windows." into mnc-dev
Michael Wright [Mon, 18 Apr 2016 18:46:44 +0000 (18:46 +0000)]
Merge "Add new, hidden MotionEvent flag for partially obscured windows." into mnc-dev
am: 224582e

* commit '224582e0403bb123da49d80af21f108900185769':
  Add new, hidden MotionEvent flag for partially obscured windows.

Change-Id: I24f2bf328c91bbc05f1b76ed464d962c71e92245

8 years agoMerge "Add new, hidden MotionEvent flag for partially obscured windows." into mnc-dev
Michael Wright [Mon, 18 Apr 2016 18:40:17 +0000 (18:40 +0000)]
Merge "Add new, hidden MotionEvent flag for partially obscured windows." into mnc-dev

8 years agoMerge "Always update DimLayer bounds when starting dim." into nyc-dev
Rob Carr [Mon, 18 Apr 2016 18:10:56 +0000 (18:10 +0000)]
Merge "Always update DimLayer bounds when starting dim." into nyc-dev

8 years agoMerge "Promote input method dialogs layers with input method." into nyc-dev
Rob Carr [Mon, 18 Apr 2016 18:10:18 +0000 (18:10 +0000)]
Merge "Promote input method dialogs layers with input method." into nyc-dev

8 years agoMerge "Fix NPE checkjni" into nyc-dev
John Reck [Mon, 18 Apr 2016 17:47:59 +0000 (17:47 +0000)]
Merge "Fix NPE checkjni" into nyc-dev

8 years agoMerge "Fixed a bug with the overflow number" into nyc-dev
Selim Cinek [Mon, 18 Apr 2016 17:45:55 +0000 (17:45 +0000)]
Merge "Fixed a bug with the overflow number" into nyc-dev

8 years agoImprove multi-window render clipping logic
Chris Craik [Thu, 14 Apr 2016 23:08:25 +0000 (16:08 -0700)]
Improve multi-window render clipping logic

Fixes: 28125010

Restructures 'scene defer', to implement window backdrop overdraw
avoidance in new render pipeline, and disable clipping to content draw
bounds.

Also restructures FrameBuilder's constructors, to separate out into
multiple defer methods.

Change-Id: I53facb904c1a4a4acc493d8a489921a79a50494e

8 years agoMerge "Revert "Hook up HDR capabilities from native SurfaceControl"" into nyc-dev
Dan Stoza [Mon, 18 Apr 2016 17:37:56 +0000 (17:37 +0000)]
Merge "Revert "Hook up HDR capabilities from native SurfaceControl"" into nyc-dev

8 years agoRevert "Hook up HDR capabilities from native SurfaceControl"
Dan Stoza [Mon, 18 Apr 2016 17:35:38 +0000 (17:35 +0000)]
Revert "Hook up HDR capabilities from native SurfaceControl"

This reverts commit 49d438ebdfcb7f2c202c80c820e32d1cde4bcf36.

Change-Id: Ic41e3006f06784a9fe6adaba6445bb18f2e7fad1

8 years agoFix NPE checkjni
John Reck [Mon, 18 Apr 2016 16:29:36 +0000 (09:29 -0700)]
Fix NPE checkjni

Fixes: 28240259

releasedCallback can be null, which we need to check for

Change-Id: Ib218e1c624be8734db5722fc625ebbd72fa099ec

8 years agoMerge "Add Rounded corners to cards." into nyc-dev
Sid Soundararajan [Mon, 18 Apr 2016 17:30:23 +0000 (17:30 +0000)]
Merge "Add Rounded corners to cards." into nyc-dev

8 years agoMerge "MediaBrowserService: Provide a way to retrieve root hints" into nyc-dev
Sungsoo Lim [Mon, 18 Apr 2016 17:21:57 +0000 (17:21 +0000)]
Merge "MediaBrowserService: Provide a way to retrieve root hints" into nyc-dev

8 years agoMerge "Replace CTS with CDD in comment for FEATURE_VR_MODE_HIGH_PERFORMANCE" into...
Craig Donner [Mon, 18 Apr 2016 17:09:54 +0000 (17:09 +0000)]
Merge "Replace CTS with CDD in comment for FEATURE_VR_MODE_HIGH_PERFORMANCE" into nyc-dev

8 years agoMerge "Hook up HDR capabilities from native SurfaceControl" into nyc-dev
Dan Stoza [Mon, 18 Apr 2016 16:51:54 +0000 (16:51 +0000)]
Merge "Hook up HDR capabilities from native SurfaceControl" into nyc-dev

8 years agoMerge "Adding slotId to certain Telephony broadcasts." into nyc-dev
Shishir Agrawal [Mon, 18 Apr 2016 16:28:14 +0000 (16:28 +0000)]
Merge "Adding slotId to certain Telephony broadcasts." into nyc-dev

8 years agoMerge "Wifi: Introduce a configuration parameter to disable WiFi in ECBM" into nyc-dev
Robert Greenwalt [Mon, 18 Apr 2016 16:27:51 +0000 (16:27 +0000)]
Merge "Wifi: Introduce a configuration parameter to disable WiFi in ECBM" into nyc-dev

8 years agoMerge "Handle mnc 00 while retrieving the Resources based on subid" into nyc-dev
Robert Greenwalt [Mon, 18 Apr 2016 16:25:02 +0000 (16:25 +0000)]
Merge "Handle mnc 00 while retrieving the Resources based on subid" into nyc-dev

8 years agoShow work challenge in if user in docked stack is locked
Tony Mak [Mon, 18 Apr 2016 14:17:41 +0000 (15:17 +0100)]
Show work challenge in if user in docked stack is locked

Register docked stack listener in ActivityManagerService.
If the docked stack is leaving minimized state, check whether the user
of the docked stack is locked. If yes, show credential confirmation.
Also, we now show work challenge in home task.

And we now scan the entire top task to handle the case the work app is
somewhere in the middle of the task. (eg: open personal camera in work app)

Bug: 27565539
Bug: 28094505

Change-Id: Iaf0738f43ae916a535b17949ec0f322bbfb194dc

8 years agoMerge "Add strings for reset speech pitch button in Text-to-Speech output settings...
Shweta Chahar [Mon, 18 Apr 2016 15:14:03 +0000 (15:14 +0000)]
Merge "Add strings for reset speech pitch button in Text-to-Speech output settings UI." into nyc-dev

8 years agoAdd strings for reset speech pitch button in Text-to-Speech output
shwetachahar [Fri, 15 Apr 2016 14:53:38 +0000 (15:53 +0100)]
Add strings for reset speech pitch button in Text-to-Speech output
settings UI.

Bug: 27949093
Change-Id: I816a9e33c2cc8efc59fedf1201824d92b6175d60

8 years agoMerge "Track libcore change 5458546631c65f6d375b6a1780d36d0abb5b95af" into nyc-dev
Yi Kong [Mon, 18 Apr 2016 12:07:51 +0000 (12:07 +0000)]
Merge "Track libcore change 5458546631c65f6d375b6a1780d36d0abb5b95af" into nyc-dev

8 years agoMerge "Avoid APF JNEBS instruction with R1 as it doesn't work" into nyc-dev
Paul Jensen [Mon, 18 Apr 2016 10:56:13 +0000 (10:56 +0000)]
Merge "Avoid APF JNEBS instruction with R1 as it doesn't work" into nyc-dev

8 years agoMerge "Register the UI Thread as a sensitive thread to the runtime" into nyc-dev
Calin Juravle [Mon, 18 Apr 2016 10:40:29 +0000 (10:40 +0000)]
Merge "Register the UI Thread as a sensitive thread to the runtime" into nyc-dev

8 years agoTrack libcore change 5458546631c65f6d375b6a1780d36d0abb5b95af
Yi Kong [Mon, 18 Apr 2016 09:55:44 +0000 (10:55 +0100)]
Track libcore change 5458546631c65f6d375b6a1780d36d0abb5b95af

Bug: 28108421
Change-Id: Id0253fed98790f4c8eeb27877e14cf53474f29f0
(cherry picked from commit 418d3817a001e95fe90ece038d1733ed7c034ede)
(cherry picked from commit 88e9407fc4ae760462b02e6a93070346afb747c9)

8 years agoRemove unnecessary allocation+unboxing of objects.
Narayan Kamath [Fri, 15 Apr 2016 17:32:45 +0000 (18:32 +0100)]
Remove unnecessary allocation+unboxing of objects.

Transforming String->int can be done with 0 allocations
using Integer.parseInt.

bug: 28078871
Change-Id: I8d9f322d7154728849dde61ef282046032858d60

8 years agoMerge "Always send configuration changes to activity." into nyc-dev
TreeHugger Robot [Mon, 18 Apr 2016 05:43:14 +0000 (05:43 +0000)]
Merge "Always send configuration changes to activity." into nyc-dev

8 years agoMerge "Don't allow pinned activities to request visible behind" into nyc-dev
TreeHugger Robot [Mon, 18 Apr 2016 04:19:34 +0000 (04:19 +0000)]
Merge "Don't allow pinned activities to request visible behind" into nyc-dev

8 years agoPromote input method dialogs layers with input method.
Robert Carr [Mon, 18 Apr 2016 02:45:24 +0000 (19:45 -0700)]
Promote input method dialogs layers with input method.

When raising the layer of the input method window we also
have to raise the layer of its assosciated dialogs which
thankfully are already collected for us.

Bug: 28138068
Bug: 28186814
Change-Id: I4e63a642199c5aad3b3322e773df287ced80d641

8 years agoMake android.net.metrics Event classes @SystemApi
Hugo Benichi [Fri, 15 Apr 2016 03:15:47 +0000 (12:15 +0900)]
Make android.net.metrics Event classes @SystemApi

Bug: 28204408
Change-Id: I8ffe833213bbc03a7f70c51789f4899ee08f6e08

8 years agoFixes fatal linter errors in android.net.metrics
Hugo Benichi [Fri, 15 Apr 2016 07:56:28 +0000 (16:56 +0900)]
Fixes fatal linter errors in android.net.metrics

This patch changes how Event classes are organized:
 - Base IpConnectivityEvent class does not implement Parcelable because
   it cannot be final (has children). It also becomes abstract because
   it is not supposed to be instantiated and logged directly.
 - All children classes becomes final because they are Parcelable.
 - All constructors of all children classes become private, because they
   are supposed to be instantiated with their associated logEvent()
   methods.
 - All instance fields of all children classes become public final.
      Rational: if private, the ConnectivityMetrics app cannot read
      their data.

Bug: 28204408
Change-Id: I1a4689c422230c6ed034307dec54a61daf8a6598

8 years agoFix spurious DHCP parse error logging.
Hugo Benichi [Mon, 18 Apr 2016 00:04:04 +0000 (09:04 +0900)]
Fix spurious DHCP parse error logging.

This patch moves the event logging of DHCP response packet parse errors
to DHCPClient in a single place. It also logs receive IO errors as
DHCPErrors instead of DHCPClientEvents.

BUG=28197345

Change-Id: I7ad666cff4d8b97915880477347fbb3f588fdb2a

8 years agoAlways update DimLayer bounds when starting dim.
Robert Carr [Mon, 18 Apr 2016 02:24:21 +0000 (19:24 -0700)]
Always update DimLayer bounds when starting dim.

Otherwise animateDimLayers can occur before
updateDimLayers and we can show the dim at the
wrong size.

Bug: 26908486
Change-Id: Ifd664e48f3daa77900a7f0bffa58a379efa6b53c

8 years agoReduce activity lifecycle churn when exiting split-screen mode.
Wale Ogunwale [Sat, 16 Apr 2016 20:27:23 +0000 (13:27 -0700)]
Reduce activity lifecycle churn when exiting split-screen mode.

- Ignore calls to resize the docked stack due to it detaching while we are
already resizing stacks due to the docked stack switching to fullscreen mode.
- Defer resuming activities in a stack we are resizing to fullscreen when the
docked stack is going away. The activities may not be the top most activity
anymore since the activity in the docked stack might be moved on top of it.
- Removed call to ensure configuration in ASS.positionTaskInStackLocked.
This isn't needed as the ensure activities visible call will make sure
the activity is in the right configuration if it is going to be visible and
we don't want to be relaunching it if it isn't going to be visible.

Bug: 28196862
Change-Id: I26460dd9c649b8ec1bf296d5182e9ff6cafe6df0

8 years agoAlways send configuration changes to activity.
Wale Ogunwale [Sat, 16 Apr 2016 18:38:50 +0000 (11:38 -0700)]
Always send configuration changes to activity.

We are not sending override configuration changes to activities if the change in
configuration is not significant enough (i.e did resources will not be reloaded
due to the change). This breaks apps that rely on getting onConfigurationChanged()
call whenever the config changes regardless of if resources will be reloaded.
We no deliver all configuration changes to the activity.

Bug: 28177873
Bug: 23904868
Change-Id: Icc979dabb8bc93ae8a976ef6074cd2559aedca67

8 years agoDon't allow pinned activities to request visible behind
Wale Ogunwale [Sat, 16 Apr 2016 17:54:30 +0000 (10:54 -0700)]
Don't allow pinned activities to request visible behind

Also, release visible behind when pinning a visible behind activity.

Bug: 28042883
Change-Id: I1162d7639626f669f648ff82f5c367cb7b3fe6e6

8 years agoMerge "ShortcutManager: Categories should be Set, not List." into nyc-dev
Makoto Onuki [Sat, 16 Apr 2016 15:18:38 +0000 (15:18 +0000)]
Merge "ShortcutManager: Categories should be Set, not List." into nyc-dev

8 years agoMerge "SettingsLib: Build with AAPT2" into nyc-dev
Adam Lesinski [Sat, 16 Apr 2016 07:01:07 +0000 (07:01 +0000)]
Merge "SettingsLib: Build with AAPT2" into nyc-dev

8 years agoMerge "ExifInterface: keep the original metadata data instead of strings" into nyc-dev
Jaesung Chung [Sat, 16 Apr 2016 02:41:22 +0000 (02:41 +0000)]
Merge "ExifInterface: keep the original metadata data instead of strings" into nyc-dev

8 years agoMerge "Fix broken statusbar disable flags" into nyc-dev
TreeHugger Robot [Sat, 16 Apr 2016 00:53:20 +0000 (00:53 +0000)]
Merge "Fix broken statusbar disable flags" into nyc-dev

8 years agoMerge "Address API review for UserManager user creation" into nyc-dev
Amith Yamasani [Sat, 16 Apr 2016 00:18:20 +0000 (00:18 +0000)]
Merge "Address API review for UserManager user creation" into nyc-dev

8 years agoShortcutManager: Categories should be Set, not List.
Makoto Onuki [Fri, 15 Apr 2016 21:46:35 +0000 (14:46 -0700)]
ShortcutManager: Categories should be Set, not List.

Bug 27923857

Change-Id: Ife859da8e66478174f6c4463316886a23e5aa4e0

8 years agoMerge "Switch JankTracker to FrameInfo::duration()" into nyc-dev
John Reck [Fri, 15 Apr 2016 23:47:00 +0000 (23:47 +0000)]
Merge "Switch JankTracker to FrameInfo::duration()" into nyc-dev

8 years agoFix VR->VR Activity transitions.
Ruben Brunk [Fri, 15 Apr 2016 18:53:09 +0000 (11:53 -0700)]
Fix VR->VR Activity transitions.

- Briefly delay unBinding VrListenerService and making HAL calls
  when leaving VR mode Activity in case subsequent activity will
  be immediately re-entering VR mode.

Bug: 28115931
Change-Id: I3f362131ed2beb6a29ce78fe01e9301d8b396520

8 years agoMerge "Camera2: Stop repeating request for abandoned output" into nyc-dev
Chien-Yu Chen [Fri, 15 Apr 2016 23:38:12 +0000 (23:38 +0000)]
Merge "Camera2: Stop repeating request for abandoned output" into nyc-dev

8 years agoMerge "Fallback to Recents when Downloads is not available." into nyc-dev
TreeHugger Robot [Fri, 15 Apr 2016 23:30:39 +0000 (23:30 +0000)]
Merge "Fallback to Recents when Downloads is not available." into nyc-dev

8 years agoFix broken statusbar disable flags
Adrian Roos [Fri, 15 Apr 2016 23:28:03 +0000 (16:28 -0700)]
Fix broken statusbar disable flags

Fixes a bug where the disable flags were
always applied to user 0 instead of the current
user because the user switch dispatch from
WindowManager was broken.

Change-Id: Ib2faf0777c5367af5bf07cb2d11c51ed0222d65c
Fixes: 28062568

8 years agoExifInterface: keep the original metadata data instead of strings
Jaesung Chung [Wed, 6 Apr 2016 15:45:51 +0000 (00:45 +0900)]
ExifInterface: keep the original metadata data instead of strings

This CL makes ExifInterface store the tag values as the original forms
and the format validiation is added that compares the given value and
the data format specificed in EXIF specification in order to keep the
valid tag values only.

Bug: 27583378, Bug: 27614052, Bug: 28075709
Change-Id: If60bbddefe74c4b87b4ce64b5fc79e467e36a5b9

8 years agoMerge "Handle delete failure notifications correctly." into nyc-dev
TreeHugger Robot [Fri, 15 Apr 2016 23:11:59 +0000 (23:11 +0000)]
Merge "Handle delete failure notifications correctly." into nyc-dev

8 years agoCamera2: Stop repeating request for abandoned output
Chien-Yu Chen [Thu, 14 Apr 2016 20:33:00 +0000 (13:33 -0700)]
Camera2: Stop repeating request for abandoned output

Stop repeating request if any of its output stream is abandoned
and notify that repeating request has been stopped.

Update binder tests for binder interface changes.

Update CameraDeviceImpl to expect an exception when canceling
a repeating request that is already stopped.

Bug: 21270879
Change-Id: I9fa72ae7218948aac88cb1a8e57839bd022c4a5e

8 years agoMerge "Increase SearchView touch targets to meet GAR3." into nyc-dev
Aurimas Liutikas [Fri, 15 Apr 2016 22:47:09 +0000 (22:47 +0000)]
Merge "Increase SearchView touch targets to meet GAR3." into nyc-dev

8 years agoHandle mnc 00 while retrieving the Resources based on subid
Sandeep Gutta [Mon, 7 Mar 2016 07:54:56 +0000 (13:24 +0530)]
Handle mnc 00 while retrieving the Resources based on subid

Since mnc 00 is represented as undefined it needs to be replaced
with MNC_ZERO 0xffff for retrieving proper resources.

bug:28219719
Change-Id: I7e1630c2f5c31959306d862b10e7987bb449ea9f

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Baligh Uddin [Fri, 15 Apr 2016 22:32:50 +0000 (22:32 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Baligh Uddin [Fri, 15 Apr 2016 22:23:42 +0000 (22:23 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Baligh Uddin [Fri, 15 Apr 2016 22:23:37 +0000 (22:23 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Baligh Uddin [Fri, 15 Apr 2016 22:23:26 +0000 (22:23 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Fix sw legacy compat path in SurfaceView" into nyc-dev
John Reck [Fri, 15 Apr 2016 22:22:39 +0000 (22:22 +0000)]
Merge "Fix sw legacy compat path in SurfaceView" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Baligh Uddin [Fri, 15 Apr 2016 22:22:30 +0000 (22:22 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Baligh Uddin [Fri, 15 Apr 2016 22:22:26 +0000 (22:22 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Baligh Uddin [Fri, 15 Apr 2016 22:22:20 +0000 (22:22 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoSwitch JankTracker to FrameInfo::duration()
John Reck [Fri, 15 Apr 2016 22:16:38 +0000 (15:16 -0700)]
Switch JankTracker to FrameInfo::duration()

Fixes: 27533462

FrameInfo::duration() will remove time spent waiting
in the queue from the duration. This is desired because
that time is otherwise accounted for by the previous frame,
so we don't want to double count it.

This shows up mostly in TestSceneRunner & shadowgrid2
due to a combination of slow frame times and continous rendering.

Change-Id: I27c42d5c24d266de4ada8ea00ec9164d518754f8

8 years agoHide nav bar buttons in screen pinning dialog when appropriate.
Winson [Fri, 15 Apr 2016 04:17:23 +0000 (21:17 -0700)]
Hide nav bar buttons in screen pinning dialog when appropriate.

- Also fix wrong hint text to disable screen pinning

Bug: 26314479
Change-Id: I7fc79c92511eba5e6d23dc307bb75c1710ff9e41

8 years agoMerge "Slow down entrance animation on tablets a bit" into nyc-dev
Jorim Jaggi [Fri, 15 Apr 2016 21:54:01 +0000 (21:54 +0000)]
Merge "Slow down entrance animation on tablets a bit" into nyc-dev

8 years agoMerge "Retain loaders through stopped config changes" into nyc-dev
Adam Powell [Fri, 15 Apr 2016 21:40:52 +0000 (21:40 +0000)]
Merge "Retain loaders through stopped config changes" into nyc-dev

8 years agoMediaBrowserService: Provide a way to retrieve root hints
Sungsoo Lim [Thu, 14 Apr 2016 21:05:02 +0000 (14:05 -0700)]
MediaBrowserService: Provide a way to retrieve root hints

Bug: 28075963
Change-Id: Id8993e67732a2dda5bf75ecab6037dbbba8c8c99

8 years agoSlow down entrance animation on tablets a bit
Jorim Jaggi [Fri, 15 Apr 2016 21:13:33 +0000 (14:13 -0700)]
Slow down entrance animation on tablets a bit

Also fix an issue where resize was not called.

And make the translation a bit larger, because the
animation is longer.

Bug: 27870534
Change-Id: Ia6128db8108fe57bee96816fc95fd0811d941ffb

8 years agoMerge "Properly notify magnification listener" into nyc-dev
Svetoslav Ganov [Fri, 15 Apr 2016 21:32:03 +0000 (21:32 +0000)]
Merge "Properly notify magnification listener" into nyc-dev

8 years agoProperly notify magnification listener
Svetoslav Ganov [Fri, 15 Apr 2016 21:01:42 +0000 (14:01 -0700)]
Properly notify magnification listener

bug:28088856

Change-Id: Iffd848082f035319aab3af177921bb3085844ab0

8 years agoMerge "Fix first-time usage." into nyc-dev
Felipe Leme [Fri, 15 Apr 2016 21:23:16 +0000 (21:23 +0000)]
Merge "Fix first-time usage." into nyc-dev

8 years agoAddress API review for UserManager user creation
Amith Yamasani [Fri, 15 Apr 2016 20:55:01 +0000 (13:55 -0700)]
Address API review for UserManager user creation

Don't return null from createUserCreationIntent()
Provide a way for apps to query if the device
supports multiple users.

Some additional documentation for UserManager class to
make things clear about the types of users and relationship
with accounts.

Change-Id: I768d816e73a1d7f61cdc415f9e482adc79e2715a
Fixes: 28150359

8 years agoMerge "Player superclass for handling AppOps features" into nyc-dev
Eric Laurent [Fri, 15 Apr 2016 21:05:24 +0000 (21:05 +0000)]
Merge "Player superclass for handling AppOps features" into nyc-dev

8 years agoMerge "Fix missing permission check when saving pattern/password" into nyc-dev
Jim Miller [Fri, 15 Apr 2016 21:03:15 +0000 (21:03 +0000)]
Merge "Fix missing permission check when saving pattern/password" into nyc-dev

8 years agoMerge "Adding some new multi-endpoint stuff." into nyc-dev
Tyler Gunn [Fri, 15 Apr 2016 21:01:11 +0000 (21:01 +0000)]
Merge "Adding some new multi-endpoint stuff." into nyc-dev

8 years agoIncrease SearchView touch targets to meet GAR3.
Aurimas Liutikas [Fri, 15 Apr 2016 20:55:53 +0000 (13:55 -0700)]
Increase SearchView touch targets to meet GAR3.

- Allow SearchView to expand to 48dp height if possible.
- Make the search clear button have 48dp height if possible.
- Expand the search TextView touch target height to 48dp is possible.

Framework version of patch ag/912646

Bug: 19479861
Change-Id: Ibaaef2afa20b8c05eaac8f028df4f616f2f96eb1

8 years agoIterate through all known users after moving.
Jeff Sharkey [Fri, 15 Apr 2016 20:51:05 +0000 (14:51 -0600)]
Iterate through all known users after moving.

installd no longer supports USER_ALL when destroying app data.

Bug: 28174913
Change-Id: I23496eda7269ad1ad58007de0f44cb89a2291ecb

8 years agoMerge "Fix wrong transition when dock minimized and docked app launched" into nyc-dev
TreeHugger Robot [Fri, 15 Apr 2016 20:46:39 +0000 (20:46 +0000)]
Merge "Fix wrong transition when dock minimized and docked app launched" into nyc-dev

8 years agoFix sw legacy compat path in SurfaceView
John Reck [Fri, 15 Apr 2016 20:46:29 +0000 (13:46 -0700)]
Fix sw legacy compat path in SurfaceView

Fixes: 28074239

Need to convert from scaled window to screen before
updating position of the SurfaceView

Change-Id: I75dec23408c32ec01e88193ea38b1fb253b3fd6f

8 years agoWifi: Introduce a configuration parameter to disable WiFi in ECBM
Sunil Dutt [Tue, 5 Apr 2016 16:38:57 +0000 (22:08 +0530)]
Wifi: Introduce a configuration parameter to disable WiFi in ECBM

This configuration parameter aims to address the following requirement.
a) If the Wifi radio on the UE is in turned on state (and the UE is not
   connected to any WWAN) and the user dials 911 and the UE is not
   capable of making E911-VoIP over WiFi calls, then the UE shall turn
   off its WiFi radio and shall try to attach to one of the WWANs,
   depending upon the air interfaces supported by the UE  for setting
   up the 911 call to the relevant PSAP. After the 911 call ends,and
   after the callback period ends, then the UE shall turn on the WiFi radio.

b) If the Wifi radio on the UE is in turned on state and the UE is connected
   to a WWAN and the user dials 911 and the UE is not capable of making
   E911-VoIP over WiFi calls, then the UE shall turn off its WiFi radio and
   shall set up the 911 call over the WWAN to which it is already attached,
   if that WWAN is available and able to support 911 calling. If that WWAN
   is not available or is not capable of supporting 911 calling, then the UE
   shall select an available WWAN for setting up the 911 call. Assumption is
   that while a LTE network may not have 911 calling support capability, all
   1x, GSM and UMTS networks will be 911 capable. After the 911 call ends,
   and after the callback period ends, then the UE shall turn on the WiFi radio.

c) If the Wifi radio on the UE is in turned on state (and the UE is not connected
   to any WWAN) and the user dials 911 and the UE is capable of making E911-VoIP
   over WiFi calls, then the UE shall not turn off its WiFi radio but shall first
   try to attach to one of the WWANs, depending upon the air interfaces supported
   by the UE , for setting up the 911 call to the relevant PSAP.

d) If the Wifi radio on the UE is in turned on state (and the UE is also connected
   to a WWAN) and the user dials 911 and the UE is capable of making E911-VoIP over
   WiFi calls, then the UE shall not turn off its WiFi radio but shall first try to
   attach to one of the WWANs, depending upon the air interfaces supported by the
   UE,for setting up the 911 call to the relevant PSAP.

Thus,the following address the requirement above.
1) Introduce a parameter (KEY_CONFIG_WIFI_DISABLED_IN_ECBM) to conifgure Wifi disable
   in ECBM for the requirement c & d. This key shall be overridden in the specific
   carrier overlay configuration file (defaulted to FALSE).
2) Already existing API (setWifiEnabled()) to turn ON/OFF Wi-Fi cater the requirement a & b .

Bug: 27854016
Change-Id: I5af370c143630bdd4b075f4730fd1de1bbe1fe7d

8 years agoAdding slotId to certain Telephony broadcasts.
Shishir Agrawal [Wed, 13 Apr 2016 16:55:55 +0000 (09:55 -0700)]
Adding slotId to certain Telephony broadcasts.

These particular boradcasts need to expose phoneId since they are valid even
when there is no SIM.

ACTION_SERVICE_STATE_CHANGED
  - Added phoneId to broadcast.
  - Removed TelephonyRegistry non subId call.
ACTION_SIGNAL_STRENGTH_CHANGED
  - Added phoneId to broadcast.
  - Removed TelephonyRegistry non subId call.
ACTION_PHONE_STATE_CHANGED
  - Added phoneId to broadcast.
  - The non-subId version is called by Telecomm to communicate overall state.
    Telephony sends its own version, so only the Telephony call needs to add
    phoneId.

Bug: 27378995

Change-Id: I554f7ee18b9ae19919f4724328dcff3ef9cbd092

8 years agoMerge "Hide multi-endpoint APIs." into nyc-dev
Tyler Gunn [Fri, 15 Apr 2016 20:28:55 +0000 (20:28 +0000)]
Merge "Hide multi-endpoint APIs." into nyc-dev

8 years agoMerge "Add a dimmed dismiss icon below task card view" into nyc-dev
Sid Soundararajan [Fri, 15 Apr 2016 20:19:50 +0000 (20:19 +0000)]
Merge "Add a dimmed dismiss icon below task card view" into nyc-dev

8 years agoMerge "Added useExternalScores field to WifiConfiguration." into nyc-dev
Jeremy Joslin [Fri, 15 Apr 2016 20:14:01 +0000 (20:14 +0000)]
Merge "Added useExternalScores field to WifiConfiguration." into nyc-dev

8 years agoMerge "Turn off HWUI_ENABLE_OPENGL_VALIDATION" into nyc-dev
John Reck [Fri, 15 Apr 2016 20:12:28 +0000 (20:12 +0000)]
Merge "Turn off HWUI_ENABLE_OPENGL_VALIDATION" into nyc-dev

8 years agoMerge "Fixed bug with activity moved to pinned stack left in resumed state." into...
TreeHugger Robot [Fri, 15 Apr 2016 20:09:52 +0000 (20:09 +0000)]
Merge "Fixed bug with activity moved to pinned stack left in resumed state." into nyc-dev

8 years agoMerge "Expose RTT capability APIs for secure RTT." into nyc-dev
Steve Malkos [Fri, 15 Apr 2016 20:03:21 +0000 (20:03 +0000)]
Merge "Expose RTT capability APIs for secure RTT." into nyc-dev

8 years agoConsistent creation/destruction of user data.
Jeff Sharkey [Fri, 15 Apr 2016 02:44:58 +0000 (20:44 -0600)]
Consistent creation/destruction of user data.

Preparing and destroying users currently needs to be split across
installd, system_server, and vold, since no single party has all the
required SELinux permissions.

When preparing user directories on a storage device, always enforce
the serial number and destroy data if we run into a mismatch.  When
deleting a user, write the updated user list first before we start
destroying data.  Also start reconciling users on internal storage
at boot, so we can recover from stale data left behind from partially
destroyed users.

Check both CE and DE user directories when reconciling user storage
on a newly mounted storage device.

Bug: 27896918
Change-Id: I4536c82b0196e2720628c4f73fccb742c233350b

8 years agoMerge "Add a callback for when a gl functor is released" into nyc-dev
John Reck [Fri, 15 Apr 2016 19:26:14 +0000 (19:26 +0000)]
Merge "Add a callback for when a gl functor is released" into nyc-dev

8 years agoFix wrong transition when dock minimized and docked app launched
Jorim Jaggi [Fri, 15 Apr 2016 05:02:39 +0000 (22:02 -0700)]
Fix wrong transition when dock minimized and docked app launched

When having an app docked and then going home, and then launching
the app from the homescreen, we had a wrong transition because
getTopMost task was already set to the launched app, because
getRunningTasks doesn't exclude the docked stack. Instead of adding
flags for getRunningTasks, which sounds risky, we just pass a "force"
value when we launch recents in this state.

Bug: 27154882
Change-Id: Iee4512fed13115dbbe8b74413ff1fa9b87afa0ef

8 years agoFix minor issue with IME
Jorim Jaggi [Fri, 15 Apr 2016 02:55:35 +0000 (19:55 -0700)]
Fix minor issue with IME

Because we only "carve" out the area for the IME once it's actually
visible now, we need to relayout the windows when we show it - else
they won't update the insets until the next real layout happens.

Bug: 28175599
Change-Id: Ie0af1225da03905bfcb52044e212812c892c88a9

8 years agoFix first-time usage.
Felipe Leme [Fri, 15 Apr 2016 18:32:53 +0000 (11:32 -0700)]
Fix first-time usage.

When tests run for the first time, the list of activities that can
handle ACTION_SEND_MULTIPLE might not be scrollable, which was cause the
scrollForward() method to fail.

BUG: 27431998
Change-Id: I5992bc9fec6291c74c4af7887ee66eb4f96e87c0

8 years agoMerge "Always assign layer when restacking special windows." into nyc-dev
Rob Carr [Fri, 15 Apr 2016 18:52:00 +0000 (18:52 +0000)]
Merge "Always assign layer when restacking special windows." into nyc-dev