OSDN Git Service

android-x86/frameworks-base.git
8 years agoHiding clear-all button on drag start.
Winson [Mon, 18 Apr 2016 23:58:33 +0000 (16:58 -0700)]
Hiding clear-all button on drag start.

Bug: 27702186
Change-Id: Ibec23fdb1ce4853f52a449cbe6d8c6454f0b027c

8 years agoAdding hint text for drop targets.
Winson [Mon, 18 Apr 2016 23:57:27 +0000 (16:57 -0700)]
Adding hint text for drop targets.

Bug: 28192178
Change-Id: Id7be5129488622b56082d2dfa328b751311cabd7

8 years agoFixing animation spec animation problem.
Winson [Mon, 18 Apr 2016 19:57:56 +0000 (12:57 -0700)]
Fixing animation spec animation problem.

- We were always using the stack layout to get the task transforms, but
  when we are animating to a given task position (ie. hitting recents
  while the home->recents transition is happening), we would start the
  animation with the final task rect, instead of the current task rect.
  Instead, use the current transform of the task view, and transform
  that to screen coordinates and use it.

Bug: 27154882
Change-Id: I25af8fad97ee78669c952dd81708e6cee5dfab05

8 years agoMaking the dismiss animation feel smoother.
Winson [Sat, 16 Apr 2016 02:06:54 +0000 (19:06 -0700)]
Making the dismiss animation feel smoother.

Bug: 27154882
Change-Id: Idbabfe396bc75b598861fd12b78c846f08243a90

8 years agoFixing issue with gap between task views.
Winson [Sat, 16 Apr 2016 00:54:52 +0000 (17:54 -0700)]
Fixing issue with gap between task views.

- Now that we changed the way the landscape tasks clipped, we no longer
  have to worry about the aspect ratio scaled height.

Bug: 27921659
Change-Id: I86b10805e92decb9995caa3790649f9f7d211784

8 years agoAdding desired undocking animation.
Winson [Fri, 15 Apr 2016 18:19:07 +0000 (11:19 -0700)]
Adding desired undocking animation.

- Separating task binding from task data updating
- Removing unused parameters

Bug: 27154882
Change-Id: Ia970597d57857a74b5d008e91a93703d8fb70c1e

8 years agoMerge "Remove initial screenshot on interactive bugreport." into nyc-dev
TreeHugger Robot [Mon, 18 Apr 2016 20:32:45 +0000 (20:32 +0000)]
Merge "Remove initial screenshot on interactive bugreport." into nyc-dev

8 years agoSet correct stack before restoring tasks
Jorim Jaggi [Sat, 16 Apr 2016 02:44:50 +0000 (19:44 -0700)]
Set correct stack before restoring tasks

When restoring a task when starting it from recents, we need to set
all the relevant state for the transition before we actually restore
the task and attach the docked stack, as all kinds of weird things
might go wrong otherwise.

Bug: 28194162
Bug: 27607141
Change-Id: I21d173a43c62d425e507e8cc3a1a576f95cfe048

8 years agoFix IME layout
Jorim Jaggi [Sat, 16 Apr 2016 05:52:00 +0000 (22:52 -0700)]
Fix IME layout

When introducing the fitToDisplay variable, it should have been

fitToDisplay = task != null -> (implies) !task.isFloating();

but was written as task != null && !task.isFloating.

Bug: 28182018
Change-Id: If0be86f1ed8bb88914ce167e9f5273b6b3dc2571

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 agoRemove initial screenshot on interactive bugreport.
Felipe Leme [Mon, 18 Apr 2016 19:04:23 +0000 (12:04 -0700)]
Remove initial screenshot on interactive bugreport.

One of the changes in the 'interactive bugreport' bugreport workflow
introduced on N is that the initial screenshot was taken right away (by
Shell, not dumpstate).

Unfortunately, such initial screenshot is often delayed when the system
is overload. Also, if the user is not interested in a screenshot, it
would be adding more load on the system unnecessarily.

Given these issues, and the fact that the user can still easily take an
initial screenhsot by selecting the proper notification action, the
initial screenshot is being removed.

BUG: 28167977

Change-Id: I2cf6616ce3124102b62ec9a36dc5a0ce6455a909

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