OSDN Git Service
Tony Mak [Tue, 19 Apr 2016 13:02:44 +0000 (14:02 +0100)]
Set lock screen to be in public mode if one of its profile is secure
Change-Id: I7d819c7d4a52ff45705b1a1b9e215faf0957cccb
Fix:
27118634
Diego Perez [Tue, 19 Apr 2016 07:34:16 +0000 (07:34 +0000)]
Merge "Separate measure so it can only run inflate if needed" into nyc-dev
TreeHugger Robot [Tue, 19 Apr 2016 07:08:03 +0000 (07:08 +0000)]
Merge "Remove unused DHCP timeout event tag." into nyc-dev
TreeHugger Robot [Tue, 19 Apr 2016 06:09:36 +0000 (06:09 +0000)]
Merge "Optimize some binder calls when recents configuration changes" into nyc-dev
Hugo Benichi [Tue, 19 Apr 2016 02:53:43 +0000 (11:53 +0900)]
Remove unused DHCP timeout event tag.
DHCP timeouts should not be logged at DHCPClient level but as a timeout
event in IpManager.
Bug:
28204408
Change-Id: Ia12619e3bf71102cf289cbbcdec53fd5e7e8efff
Jorim Jaggi [Mon, 18 Apr 2016 23:03:36 +0000 (16:03 -0700)]
Optimize some binder calls when recents configuration changes
Bug:
28122871
Change-Id: I54249428792c3ad4b3b6d3dcc0f405675b3b23b4
Keisuke Kuroyanagi [Tue, 19 Apr 2016 04:11:15 +0000 (04:11 +0000)]
Merge "Define equals and hashCode for InputDeviceIdentifier." into nyc-dev
Selim Cinek [Tue, 19 Apr 2016 02:54:46 +0000 (02:54 +0000)]
Merge changes Id1aab629,Idb24dbd4 into nyc-dev
* changes:
Fixed a few issues when adapting the dpi
Fixed a few issues with status bar density changes
Selim Cinek [Tue, 19 Apr 2016 02:53:01 +0000 (02:53 +0000)]
Merge "Fixed a crash when changing density with HUN visible" into nyc-dev
TreeHugger Robot [Tue, 19 Apr 2016 02:29:05 +0000 (02:29 +0000)]
Merge "Use .equals() to compare two UUIDs in SoundTriggerHelper, rather than ==" into nyc-dev
TreeHugger Robot [Tue, 19 Apr 2016 02:09:33 +0000 (02:09 +0000)]
Merge "Added extra validation for invalid paths." into nyc-dev
Winson Chung [Tue, 19 Apr 2016 01:32:36 +0000 (01:32 +0000)]
Merge changes Ibec23fdb,Id7be5129,I25af8fad,Idbabfe39,I86b10805, ... into nyc-dev
* changes:
Hiding clear-all button on drag start.
Adding hint text for drop targets.
Fixing animation spec animation problem.
Making the dismiss animation feel smoother.
Fixing issue with gap between task views.
Adding desired undocking animation.
Winson [Mon, 18 Apr 2016 23:58:33 +0000 (16:58 -0700)]
Hiding clear-all button on drag start.
Bug:
27702186
Change-Id: Ibec23fdb1ce4853f52a449cbe6d8c6454f0b027c
Winson [Mon, 18 Apr 2016 23:57:27 +0000 (16:57 -0700)]
Adding hint text for drop targets.
Bug:
28192178
Change-Id: Id7be5129488622b56082d2dfa328b751311cabd7
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
Winson [Sat, 16 Apr 2016 02:06:54 +0000 (19:06 -0700)]
Making the dismiss animation feel smoother.
Bug:
27154882
Change-Id: Idbabfe396bc75b598861fd12b78c846f08243a90
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
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
Chris Thornton [Mon, 18 Apr 2016 23:51:08 +0000 (16:51 -0700)]
Use .equals() to compare two UUIDs in SoundTriggerHelper, rather than ==
Also refactors ModelData::clearState to clear a bit more of the state.
Bug:
28251543
Change-Id: I18d7ccd90a6a9ee8bc8743d9a92c48f17d87c842
TreeHugger Robot [Tue, 19 Apr 2016 00:47:27 +0000 (00:47 +0000)]
Merge "Properly resume paused activity when docked stack in maximized" into nyc-dev
Craig Donner [Tue, 19 Apr 2016 00:10:53 +0000 (00:10 +0000)]
Merge "Checks for existence of vr components before trying to disable them." into nyc-dev
TreeHugger Robot [Tue, 19 Apr 2016 00:03:59 +0000 (00:03 +0000)]
Merge "Use right starting window resource in multi-window mode." into nyc-dev
Adam Powell [Mon, 18 Apr 2016 23:41:39 +0000 (23:41 +0000)]
Merge "Be bug-compatible with Fragment#setUserVisibleHint < N" into nyc-dev
Adam Powell [Mon, 18 Apr 2016 18:01:55 +0000 (11:01 -0700)]
Be bug-compatible with Fragment#setUserVisibleHint < N
Prior to Android N we were simply checking if a fragment had a
FragmentManager set before we would trigger a deferred
start. Unfortunately this also gets set before a fragment transaction
is committed, so if setUserVisibleHint was called before a transaction
commit, we would start the fragment way too
early. FragmentPagerAdapter triggers this situation.
Unfortunately some apps relied on this timing in overrides of
setUserVisibleHint on their own fragments, and expected, however
erroneously, that after a call to super.setUserVisibleHint their
onStart methods had been run.
Bug
28184671
Change-Id: Ie40d5f6963d312c2fad4a48fb4f992d33e65c83b
Yang Ni [Mon, 18 Apr 2016 23:34:04 +0000 (23:34 +0000)]
Merge "Fixed ScriptGroup finalizer for old API" into nyc-dev
Craig Donner [Mon, 18 Apr 2016 22:50:57 +0000 (15:50 -0700)]
Checks for existence of vr components before trying to disable them.
Fixes:
28249296
Change-Id: I98506c263387c9deb05ae6bc997e92e0000b71ad
Adam Lesinski [Mon, 18 Apr 2016 23:27:08 +0000 (23:27 +0000)]
Merge "BatteryStats: Introduce Async external stats requests" into nyc-dev
John Reck [Mon, 18 Apr 2016 23:20:37 +0000 (23:20 +0000)]
Merge "Make getFrameNumber lazy" into nyc-dev
Wale Ogunwale [Mon, 18 Apr 2016 23:14:18 +0000 (16:14 -0700)]
Properly resume paused activity when docked stack in maximized
Force focus to the fullscreen stack so that its activity is resumed
regardless of it current state when moving all tasks from the docked
stack to the fullscreen stack and the fullscreen stack should be on
top.
Bug:
28247643
Bug:
28196862
Change-Id: Ic60c3794db765e9ee31b0facbbc4f461d65f30c2
Sailesh Nepal [Mon, 18 Apr 2016 22:36:38 +0000 (22:36 +0000)]
Merge "[Call Timing] Add constants for call timing extras" into nyc-dev
Adam Lesinski [Mon, 18 Apr 2016 22:24:07 +0000 (22:24 +0000)]
Merge "Optimize ResTable::getLocales() to improve bindApplication performance" into nyc-dev
Adam Lesinski [Mon, 18 Apr 2016 22:23:42 +0000 (22:23 +0000)]
Merge "Use Activity resources in DecorContext" into nyc-dev
Selim Cinek [Mon, 11 Apr 2016 01:35:54 +0000 (09:35 +0800)]
Fixed a few issues when adapting the dpi
The statusbar is now behaving nicer and other
parts are behaving similar as if they had been inflated
that way. The signalclusterview is now properly recreated
ensuring that it's scaled correclty.
Fixes:
26844819
Change-Id: Id1aab629204d03c079815358e7a5eb12d2a4e557
Selim Cinek [Sun, 10 Apr 2016 04:24:45 +0000 (21:24 -0700)]
Fixed a few issues with status bar density changes
Reinflated the brightnessmirror to have the propper layouting.
Also fixed the height of the heads up scrim.
Bug:
26844819
Change-Id: Idb24dbd40f071a2a722c59cc202ae46c5ace2da8
Selim Cinek [Sun, 10 Apr 2016 03:43:40 +0000 (20:43 -0700)]
Fixed a crash when changing density with HUN visible
The Quick settings page indicator was trying to access views that
don't exist yet.
Fixes:
27927374
Change-Id: I1600ce8432b6550268da20443d32193b1d2debe4
Wale Ogunwale [Sat, 16 Apr 2016 22:08:48 +0000 (15:08 -0700)]
Use right starting window resource in multi-window mode.
Use the override configuration for the task the app is contained
in to generate resources for the starting window.
Bug:
28220001
Change-Id: I6fdf39a6d6de41287b44b25861a76f58fe58dd53
Adam Lesinski [Tue, 12 Apr 2016 03:03:01 +0000 (20:03 -0700)]
Optimize ResTable::getLocales() to improve bindApplication performance
Change from linear searching for uniqueness to binary search.
Bug:
27198799
Change-Id: I1ccb6e93cc213810848f07d631d9d8de7c719803
Chong Zhang [Mon, 18 Apr 2016 22:01:08 +0000 (22:01 +0000)]
Merge "Misc fixes for IME adjust" into nyc-dev
Felipe Leme [Mon, 18 Apr 2016 21:55:15 +0000 (14:55 -0700)]
Added extra validation for invalid paths.
In normal circumstances, StorageVolume can only be obtained through
StorageManager and hence it will contain a valid path internally. But
the path could be invalid in at least 2 occations:
- App maliciously changed it using reflection.
- Mounted volume was ejected.
This change improves OpenExternalDirectoryActivity so it returns a
RESULT_CANCELED upon receiveving an invalid path.
BUG:
27962875
Change-Id: Ide43968babaa37961c7b704bd289f44eac952e94
Chong Zhang [Fri, 15 Apr 2016 19:03:11 +0000 (12:03 -0700)]
Misc fixes for IME adjust
- Use thinner divider when IME adjusted
- Dim non-focused stack
- Restrict IME adjustment so that top pane is shrunk to 30% at most
- Move top stack up together with IME adjust
- Move bottom stack up even when not focused for thinner divider
bug:
28175599
Change-Id: I83556535e5a171f0ec28d88429186fa1315b910c
John Reck [Mon, 18 Apr 2016 21:34:18 +0000 (14:34 -0700)]
Make getFrameNumber lazy
Change-Id: I783de544ad9a3636ea90f1c8c4034738997bfbc8
Fixes:
28246085
Yang Ni [Mon, 18 Apr 2016 21:27:02 +0000 (14:27 -0700)]
Fixed ScriptGroup finalizer for old API
Bug:
28242626
ScriptGroup finalizer clears out the list of closures, which is
uninitialized for the old API.
Need to check null first, before accessing the list.
Change-Id: Ibf914e17a0878c8c561f823c5f6f6f6619594de1
Wei Wang [Mon, 18 Apr 2016 21:17:24 +0000 (21:17 +0000)]
Merge "Use ConnectivityThread for RttManager." into nyc-dev
Jim Miller [Mon, 18 Apr 2016 21:09:51 +0000 (21:09 +0000)]
Merge "Fix operator precedence bug causing a crash." into nyc-dev
Jim Miller [Mon, 18 Apr 2016 20:00:40 +0000 (13:00 -0700)]
Fix operator precedence bug causing a crash.
This fixes a bug where string expression was being evaluated
and then compared to null. The result is a constant expression
which always passes, resulting in inadvertently accessing the
null variable.
Fixes bug
28237450
Change-Id: I755b4466fd1985bd7f8984c17e06839ac4a30642
Craig Donner [Mon, 18 Apr 2016 21:01:32 +0000 (21:01 +0000)]
Merge "Disables VR components by default, but enables them if a VR app is installed." 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
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
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
Jeff Sharkey [Mon, 18 Apr 2016 19:43:49 +0000 (19:43 +0000)]
Merge "Iterate through all known users after moving." 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
Chris Craik [Mon, 18 Apr 2016 19:40:49 +0000 (19:40 +0000)]
Merge "Improve multi-window render clipping logic" 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
Adam Lesinski [Mon, 18 Apr 2016 19:14:12 +0000 (12:14 -0700)]
Use Activity resources in DecorContext
We use the application context in DecorContext to avoid holding a reference
to the Activity. However, the resources don't match the Activity's in a multi-window
world, so we use the resources from the Activity, which get updated as the Activity
goes between multi-window states. This avoids holding a reference to the Activity.
Bug:
28096052
Change-Id: I2804f2420afad6dcecc56e5dece008c390540d72
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
Ruben Brunk [Mon, 18 Apr 2016 19:04:28 +0000 (19:04 +0000)]
Merge "Fix VR->VR Activity transitions." into nyc-dev
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
Craig Donner [Fri, 15 Apr 2016 04:45:19 +0000 (21:45 -0700)]
Disables VR components by default, but enables them if a VR app is installed.
If an existing app or newly installed app is installed, then enable them,
otherwise, they stay disabled.
Fixes:
26568985
Change-Id: I8274b061220f41b9462d83b8aff501905d84a508
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
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
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
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
Rob Carr [Mon, 18 Apr 2016 18:10:56 +0000 (18:10 +0000)]
Merge "Always update DimLayer bounds when starting dim." 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
John Reck [Mon, 18 Apr 2016 17:47:59 +0000 (17:47 +0000)]
Merge "Fix NPE checkjni" 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
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
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
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
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
Sid Soundararajan [Mon, 18 Apr 2016 17:30:23 +0000 (17:30 +0000)]
Merge "Add Rounded corners to cards." 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
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
Dan Stoza [Mon, 18 Apr 2016 16:51:54 +0000 (16:51 +0000)]
Merge "Hook up HDR capabilities from native SurfaceControl" 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
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
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
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
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
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
Yi Kong [Mon, 18 Apr 2016 12:07:51 +0000 (12:07 +0000)]
Merge "Track libcore change
5458546631c65f6d375b6a1780d36d0abb5b95af" 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
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
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)
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
TreeHugger Robot [Mon, 18 Apr 2016 05:43:14 +0000 (05:43 +0000)]
Merge "Always send configuration changes to activity." 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
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
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
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
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
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
Keisuke Kuroyanagi [Sun, 17 Apr 2016 12:43:56 +0000 (21:43 +0900)]
Define equals and hashCode for InputDeviceIdentifier.
This CL fixes that physical keyboard layout is not changed when user
changes it in settings. This happened because we compare
InputDeviceIdentifier instances by using Object#equals to choose
specified input device. However, one of them has been serialized and
deserialized, so it never be true.
Bug:
27747115
Change-Id: Ied84c510ccb8e2de919ba8bb326e0355a065e604
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
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
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
Makoto Onuki [Sat, 16 Apr 2016 15:18:38 +0000 (15:18 +0000)]
Merge "ShortcutManager: Categories should be Set, not List." into nyc-dev
Adam Lesinski [Sat, 16 Apr 2016 07:01:07 +0000 (07:01 +0000)]
Merge "SettingsLib: Build with AAPT2" 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
TreeHugger Robot [Sat, 16 Apr 2016 00:53:20 +0000 (00:53 +0000)]
Merge "Fix broken statusbar disable flags" into nyc-dev