240126 Commits

Author SHA1 Message Date
TreeHugger Robot
77ca3629f6 Merge "Reduce activity lifecycle churn when exiting split-screen mode." into nyc-dev 2016-04-18 19:22:39 +00:00
Ruben Brunk
9d1d006cb3 Merge "Fix VR->VR Activity transitions." into nyc-dev 2016-04-18 19:04:30 +00:00
Michael Wright
c348fa319d 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
2016-04-18 19:03:25 +00:00
Michael Wright
bc57aaed0e 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
2016-04-18 18:57:54 +00:00
Michael Wright
a8064c2a8b 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
2016-04-18 18:52:13 +00:00
Michael Wright
c6629bd5df 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
2016-04-18 18:46:44 +00:00
Michael Wright
224582e040 Merge "Add new, hidden MotionEvent flag for partially obscured windows." into mnc-dev 2016-04-18 18:40:19 +00:00
Rob Carr
8dd32a56f7 Merge "Always update DimLayer bounds when starting dim." into nyc-dev 2016-04-18 18:10:58 +00:00
Rob Carr
36ac7e9f88 Merge "Promote input method dialogs layers with input method." into nyc-dev 2016-04-18 18:10:20 +00:00
John Reck
2a12c6c2cf Merge "Fix NPE checkjni" into nyc-dev 2016-04-18 17:48:01 +00:00
Selim Cinek
db9f8d1d60 Merge "Fixed a bug with the overflow number" into nyc-dev 2016-04-18 17:45:57 +00:00
Dan Stoza
71574c3371 Merge "Revert "Hook up HDR capabilities from native SurfaceControl"" into nyc-dev 2016-04-18 17:37:57 +00:00
Dan Stoza
2c38f45f27 Revert "Hook up HDR capabilities from native SurfaceControl"
This reverts commit 49d438ebdfcb7f2c202c80c820e32d1cde4bcf36.

Change-Id: Ic41e3006f06784a9fe6adaba6445bb18f2e7fad1
2016-04-18 17:35:38 +00:00
John Reck
4afbed15f3 Fix NPE checkjni
Fixes: 28240259

releasedCallback can be null, which we need to check for

Change-Id: Ib218e1c624be8734db5722fc625ebbd72fa099ec
2016-04-18 10:35:08 -07:00
Sid Soundararajan
be8f788f86 Merge "Add Rounded corners to cards." into nyc-dev 2016-04-18 17:30:25 +00:00
Sungsoo Lim
bfa6d239b5 Merge "MediaBrowserService: Provide a way to retrieve root hints" into nyc-dev 2016-04-18 17:21:59 +00:00
Craig Donner
e54b4397d3 Merge "Replace CTS with CDD in comment for FEATURE_VR_MODE_HIGH_PERFORMANCE" into nyc-dev 2016-04-18 17:09:55 +00:00
Dan Stoza
554fa0fa90 Merge "Hook up HDR capabilities from native SurfaceControl" into nyc-dev 2016-04-18 16:51:56 +00:00
Shishir Agrawal
3f6e211d73 Merge "Adding slotId to certain Telephony broadcasts." into nyc-dev 2016-04-18 16:28:16 +00:00
Robert Greenwalt
951fe2925f Merge "Wifi: Introduce a configuration parameter to disable WiFi in ECBM" into nyc-dev 2016-04-18 16:27:52 +00:00
Robert Greenwalt
37c26e4d13 Merge "Handle mnc 00 while retrieving the Resources based on subid" into nyc-dev 2016-04-18 16:25:04 +00:00
Tony Mak
853304c0b1 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
2016-04-18 15:35:36 +00:00
Shweta Chahar
739da49dbb Merge "Add strings for reset speech pitch button in Text-to-Speech output settings UI." into nyc-dev 2016-04-18 15:14:04 +00:00
shwetachahar
0f11e37810 Add strings for reset speech pitch button in Text-to-Speech output
settings UI.

Bug: 27949093
Change-Id: I816a9e33c2cc8efc59fedf1201824d92b6175d60
2016-04-18 16:10:02 +01:00
Yi Kong
7d0b8d7928 Merge "Track libcore change 5458546631c65f6d375b6a1780d36d0abb5b95af" into nyc-dev 2016-04-18 12:07:53 +00:00
Paul Jensen
520ae86666 Merge "Avoid APF JNEBS instruction with R1 as it doesn't work" into nyc-dev 2016-04-18 10:56:14 +00:00
Calin Juravle
6aff67bfcb Merge "Register the UI Thread as a sensitive thread to the runtime" into nyc-dev 2016-04-18 10:40:31 +00:00
Yi Kong
65b95b0a7d Track libcore change 5458546631c65f6d375b6a1780d36d0abb5b95af
Bug: 28108421
Change-Id: Id0253fed98790f4c8eeb27877e14cf53474f29f0
(cherry picked from commit 418d3817a001e95fe90ece038d1733ed7c034ede)
(cherry picked from commit 88e9407fc4ae760462b02e6a93070346afb747c9)
2016-04-18 10:29:39 +00:00
Narayan Kamath
a09b4d2a61 Remove unnecessary allocation+unboxing of objects.
Transforming String->int can be done with 0 allocations
using Integer.parseInt.

bug: 28078871
Change-Id: I8d9f322d7154728849dde61ef282046032858d60
2016-04-18 09:55:59 +01:00
TreeHugger Robot
988a20a94b Merge "Always send configuration changes to activity." into nyc-dev 2016-04-18 05:43:16 +00:00
TreeHugger Robot
02ebaa02c4 Merge "Don't allow pinned activities to request visible behind" into nyc-dev 2016-04-18 04:19:36 +00:00
Robert Carr
d82b748b26 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
2016-04-17 19:47:10 -07:00
Hugo Benichi
4b6dfc2ef5 Make android.net.metrics Event classes @SystemApi
Bug: 28204408
Change-Id: I8ffe833213bbc03a7f70c51789f4899ee08f6e08
2016-04-18 11:36:42 +09:00
Hugo Benichi
627b42494d 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
2016-04-18 11:29:03 +09:00
Hugo Benichi
2677b1957b 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
2016-04-18 11:27:35 +09:00
Robert Carr
7393c7b3ec 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
2016-04-17 19:26:36 -07:00
Wale Ogunwale
c8da41e2f4 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
2016-04-16 13:34:52 -07:00
Wale Ogunwale
f7dab1e53f 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
2016-04-16 11:38:50 -07:00
Wale Ogunwale
43896cffe6 Don't allow pinned activities to request visible behind
Also, release visible behind when pinning a visible behind activity.

Bug: 28042883
Change-Id: I1162d7639626f669f648ff82f5c367cb7b3fe6e6
2016-04-16 10:54:30 -07:00
Makoto Onuki
e2be9f4a67 Merge "ShortcutManager: Categories should be Set, not List." into nyc-dev 2016-04-16 15:18:39 +00:00
Adam Lesinski
0b1a203830 Merge "SettingsLib: Build with AAPT2" into nyc-dev 2016-04-16 07:01:08 +00:00
Jaesung Chung
865cef475d Merge "ExifInterface: keep the original metadata data instead of strings" into nyc-dev 2016-04-16 02:41:23 +00:00
TreeHugger Robot
c99f05e1b0 Merge "Fix broken statusbar disable flags" into nyc-dev 2016-04-16 00:53:22 +00:00
Amith Yamasani
25c66ac8e6 Merge "Address API review for UserManager user creation" into nyc-dev 2016-04-16 00:18:22 +00:00
Makoto Onuki
be73a8068f ShortcutManager: Categories should be Set, not List.
Bug 27923857

Change-Id: Ife859da8e66478174f6c4463316886a23e5aa4e0
2016-04-15 17:15:29 -07:00
John Reck
f91cbc7fd2 Merge "Switch JankTracker to FrameInfo::duration()" into nyc-dev 2016-04-15 23:47:01 +00:00
Ruben Brunk
b56b72a846 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
2016-04-15 16:42:49 -07:00
Chien-Yu Chen
dfe920d3bb Merge "Camera2: Stop repeating request for abandoned output" into nyc-dev 2016-04-15 23:38:14 +00:00
TreeHugger Robot
793f859123 Merge "Fallback to Recents when Downloads is not available." into nyc-dev 2016-04-15 23:30:41 +00:00
Adrian Roos
2a62910691 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
2016-04-15 16:28:41 -07:00