OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Fix QS edit overanimating" into nyc-dev
Jason Monk [Tue, 19 Apr 2016 16:20:47 +0000 (16:20 +0000)]
Merge "Fix QS edit overanimating" into nyc-dev

8 years agoMerge "Recreate activity with correct configuration" into nyc-dev
Andrii Kulian [Tue, 19 Apr 2016 16:19:04 +0000 (16:19 +0000)]
Merge "Recreate activity with correct configuration" into nyc-dev

8 years agoFix QS edit overanimating
Jason Monk [Tue, 19 Apr 2016 16:07:15 +0000 (12:07 -0400)]
Fix QS edit overanimating

Tell it when to animate, that way it can't animate too much.

Change-Id: I0acdd780e76a4a0b0d5ed5e2805c44dc59306fc1
Fixes: 27315295

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

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

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

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

8 years agoMerge "Move profile registration from bindApplication to LoadedApk" into nyc-dev
TreeHugger Robot [Tue, 19 Apr 2016 15:29:18 +0000 (15:29 +0000)]
Merge "Move profile registration from bindApplication to LoadedApk" into nyc-dev

8 years agoMerge "No QS hotspot unless supported" into nyc-dev
Jason Monk [Tue, 19 Apr 2016 15:19:45 +0000 (15:19 +0000)]
Merge "No QS hotspot unless supported" into nyc-dev

8 years agoMerge "Set lock screen to be in public mode if one of its profile is secure" into...
Tony Mak [Tue, 19 Apr 2016 15:15:20 +0000 (15:15 +0000)]
Merge "Set lock screen to be in public mode if one of its profile is secure" into nyc-dev

8 years agoMerge "Make surfaceRedrawNeeded forgiving" into nyc-dev
John Reck [Tue, 19 Apr 2016 14:45:31 +0000 (14:45 +0000)]
Merge "Make surfaceRedrawNeeded forgiving" into nyc-dev

8 years agoMerge "Don't reuse LOST_SURFACE for stopped" into nyc-dev
John Reck [Tue, 19 Apr 2016 14:45:14 +0000 (14:45 +0000)]
Merge "Don't reuse LOST_SURFACE for stopped" into nyc-dev

8 years agoNo QS hotspot unless supported
Jason Monk [Tue, 19 Apr 2016 13:31:20 +0000 (09:31 -0400)]
No QS hotspot unless supported

Fixes: 27438917
Change-Id: Iadeee5a87ebb9b881e04ac706547004e186215ea

8 years agoMerge "update string "Work profile" to "All work apps"" into nyc-dev
Eric Tang [Tue, 19 Apr 2016 13:38:05 +0000 (13:38 +0000)]
Merge "update string "Work profile" to "All work apps"" into nyc-dev

8 years agoMerge "Revert FrameLayout.LayoutParams default gravity to -1" into nyc-dev
Alan Viverette [Tue, 19 Apr 2016 13:36:24 +0000 (13:36 +0000)]
Merge "Revert FrameLayout.LayoutParams default gravity to -1" into nyc-dev

8 years agoSet lock screen to be in public mode if one of its profile is secure
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

8 years agoMerge changes I01afb5e9,I90d1adaf into nyc-dev
Julia Reynolds [Tue, 19 Apr 2016 12:50:32 +0000 (12:50 +0000)]
Merge changes I01afb5e9,I90d1adaf into nyc-dev

* changes:
  Add content intent to autogroup summary.
  Logging for ranker bundling.

8 years agoMerge "User action should only stop lock task mode if it is in pinned mode" into...
Tony Mak [Tue, 19 Apr 2016 10:32:29 +0000 (10:32 +0000)]
Merge "User action should only stop lock task mode if it is in pinned mode" into nyc-dev

8 years agoMerge "Keyboard shortcuts: UI polish 2" into nyc-dev
Andrei Stingaceanu [Tue, 19 Apr 2016 09:59:51 +0000 (09:59 +0000)]
Merge "Keyboard shortcuts: UI polish 2" into nyc-dev

8 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 19 Apr 2016 08:37:35 +0000 (01:37 -0700)]
Import translations. DO NOT MERGE

Change-Id: I4de249a3fbf0c6d3faad2b3bb233be596c5ca815
Auto-generated-cl: translation import

8 years agoMerge "Separate measure so it can only run inflate if needed" into nyc-dev
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

8 years agoMerge "Remove unused DHCP timeout event tag." 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

8 years agoMerge "Optimize some binder calls when recents configuration changes" 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

8 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 19 Apr 2016 05:35:40 +0000 (22:35 -0700)]
Import translations. DO NOT MERGE

Change-Id: I25911f2c3a9ae2ea463f096e187350f96983310f
Auto-generated-cl: translation import

8 years agoRemove unused DHCP timeout event tag.
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

8 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 19 Apr 2016 05:09:26 +0000 (22:09 -0700)]
Import translations. DO NOT MERGE

Change-Id: I1cba5a5c47981751f6134338855f3bd2cbdd9eb1
Auto-generated-cl: translation import

8 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 19 Apr 2016 05:03:13 +0000 (22:03 -0700)]
Import translations. DO NOT MERGE

Change-Id: I2388d59a03f62e7e4617b64e85a552f49001a208
Auto-generated-cl: translation import

8 years agoOptimize some binder calls when recents configuration changes
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

8 years agoMerge "Define equals and hashCode for InputDeviceIdentifier." into nyc-dev
Keisuke Kuroyanagi [Tue, 19 Apr 2016 04:11:15 +0000 (04:11 +0000)]
Merge "Define equals and hashCode for InputDeviceIdentifier." into nyc-dev

8 years agoRecreate activity with correct configuration
Andrii Kulian [Tue, 19 Apr 2016 03:54:20 +0000 (20:54 -0700)]
Recreate activity with correct configuration

Dialer recreates activity inside onConfigurationChange
when configuration changes significantly. Recreated
activity in this case was initialised with old base version
which resulted in incorrect configuration in split-screen.

This CL updates configuration when activity is created from
override config.

Bug: 27976063
Change-Id: I0ac002a5661154ec25f2d5aba3d44070b683ba2f

8 years agoMerge changes Id1aab629,Idb24dbd4 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

8 years agoMerge "Fixed a crash when changing density with HUN visible" into nyc-dev
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

8 years agoMerge "Use .equals() to compare two UUIDs in SoundTriggerHelper, rather than =="...
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

8 years agoMerge "Added extra validation for invalid paths." 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

8 years agoMerge changes Ibec23fdb,Id7be5129,I25af8fad,Idbabfe39,I86b10805, ... 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.

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 agoUse .equals() to compare two UUIDs in SoundTriggerHelper, rather than ==
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

8 years agoMerge "Properly resume paused activity when docked stack in maximized" into nyc-dev
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

8 years agoMerge "Checks for existence of vr components before trying to disable them." into...
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

8 years agoMerge "Use right starting window resource in multi-window mode." 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

8 years agoMerge "Be bug-compatible with Fragment#setUserVisibleHint < N" 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

8 years agoBe bug-compatible with Fragment#setUserVisibleHint < N
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

8 years agoMerge "Fixed ScriptGroup finalizer for old API" into nyc-dev
Yang Ni [Mon, 18 Apr 2016 23:34:04 +0000 (23:34 +0000)]
Merge "Fixed ScriptGroup finalizer for old API" into nyc-dev

8 years agoChecks for existence of vr components before trying to disable them.
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

8 years agoMerge "BatteryStats: Introduce Async external stats requests" into nyc-dev
Adam Lesinski [Mon, 18 Apr 2016 23:27:08 +0000 (23:27 +0000)]
Merge "BatteryStats: Introduce Async external stats requests" into nyc-dev

8 years agoMerge "Make getFrameNumber lazy" into nyc-dev
John Reck [Mon, 18 Apr 2016 23:20:37 +0000 (23:20 +0000)]
Merge "Make getFrameNumber lazy" into nyc-dev

8 years agoProperly resume paused activity when docked stack in maximized
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

8 years agoMerge "[Call Timing] Add constants for call timing extras" into nyc-dev
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

8 years agoMerge "Optimize ResTable::getLocales() to improve bindApplication performance" into...
Adam Lesinski [Mon, 18 Apr 2016 22:24:07 +0000 (22:24 +0000)]
Merge "Optimize ResTable::getLocales() to improve bindApplication performance" into nyc-dev

8 years agoMerge "Use Activity resources in DecorContext" 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

8 years agoFixed a few issues when adapting the dpi
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

8 years agoFixed a few issues with status bar density changes
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

8 years agoFixed a crash when changing density with HUN visible
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

8 years agoUse right starting window resource in multi-window mode.
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

8 years agoOptimize ResTable::getLocales() to improve bindApplication performance
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

8 years agoMerge "Misc fixes for IME adjust" into nyc-dev
Chong Zhang [Mon, 18 Apr 2016 22:01:08 +0000 (22:01 +0000)]
Merge "Misc fixes for IME adjust" into nyc-dev

8 years agoAdded extra validation for invalid paths.
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

8 years agoMisc fixes for IME adjust
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

8 years agoMake getFrameNumber lazy
John Reck [Mon, 18 Apr 2016 21:34:18 +0000 (14:34 -0700)]
Make getFrameNumber lazy

Change-Id: I783de544ad9a3636ea90f1c8c4034738997bfbc8
Fixes: 28246085

8 years agoFixed ScriptGroup finalizer for old API
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

8 years agoMerge "Use ConnectivityThread for RttManager." into nyc-dev
Wei Wang [Mon, 18 Apr 2016 21:17:24 +0000 (21:17 +0000)]
Merge "Use ConnectivityThread for RttManager." into nyc-dev

8 years agoMerge "Fix operator precedence bug causing a crash." 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

8 years agoFix operator precedence bug causing a crash.
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

8 years agoMerge "Disables VR components by default, but enables them if a VR app is installed...
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

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 agoMake surfaceRedrawNeeded forgiving
John Reck [Mon, 18 Apr 2016 20:26:48 +0000 (13:26 -0700)]
Make surfaceRedrawNeeded forgiving

Fixes: 27071678

It's semi-common for apps to not realize surfaceRedrawNeeded
is a callback they can (and should) be handling, so have it be
more tolerant in lifecycle handling.

Specifically allow a renderer to have not yet been set on
GLSurfaceView, even though it was supposed to have been set already.
Apps are overriding the other lifecycle methods that require this
(created, changed, an destroyed) but not noticing this method.

Change-Id: I6cebca541eeec6e9949bdb55f687b095768a17b2

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 agoUse Activity resources in DecorContext
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

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 agoDisables VR components by default, but enables them if a VR app is installed.
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

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 agoDon't reuse LOST_SURFACE for stopped
John Reck [Mon, 18 Apr 2016 18:17:52 +0000 (11:17 -0700)]
Don't reuse LOST_SURFACE for stopped

Fixes: 28218991

If a draw() happens while we are stopped, don't report
that the surface is lost because this will prompt
a tear-down of the surface which isn't desired. It can
result in ViewRootImpl ending up in an internally-bad state
in this case.

Change-Id: If3eb8c6bc8702299e5330bc0917952624dce3b7e

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