240763 Commits

Author SHA1 Message Date
Andrii Kulian
435ce5ff1c Allow setting fullscreen stack as target via adb shell
Bug: 27906038
Change-Id: Ie6feede3f7c412bc51550626a008cb0729e5e0e0
2016-04-26 00:00:01 -07:00
Jorim Jaggi
d6a3949588 Make sure to notify divider always
In some cases, recents didn't get resumed, so divider was never
notified and thus we didn't start the animation. Instead, move
the first drawn logic into onStart.

Bug: 28366529
Change-Id: Ia71d6b517451bba727ae31a184bb55cecf5af198
2016-04-26 00:52:46 +00:00
Makoto Onuki
711ffe620e Merge "When app is updated, save the new version code, and update shortcuts with resource based icons." into nyc-dev 2016-04-26 00:07:59 +00:00
TreeHugger Robot
af8be42b9f Merge "CodecCapabilities: handle legacy VP9 codecs with no profiles" into nyc-dev 2016-04-25 22:43:30 +00:00
Lajos Molnar
4710431dc4 Merge "clarify MediaCodec.setVideoScalingMode behavior" into nyc-dev 2016-04-25 22:36:55 +00:00
TreeHugger Robot
b59beffa89 Merge "Fixed issue with wrong stack fullscreen state on configuration change" into nyc-dev 2016-04-25 22:27:58 +00:00
TreeHugger Robot
68d180bbd1 Merge "Check for null drawable during LayerDrawable.jumpToCurrentState()" into nyc-dev 2016-04-25 22:10:37 +00:00
Jeff Sharkey
436308f88b Merge "Destroy both CE and DE data when corrupted." into nyc-dev 2016-04-25 21:59:59 +00:00
Jeff Sharkey
3a10c1e86d Merge "Track down Contexts without data directories." into nyc-dev 2016-04-25 21:59:41 +00:00
TreeHugger Robot
57413a7477 Merge "Make fake libart for misbehaving apps be loaded." into nyc-dev 2016-04-25 21:53:31 +00:00
Amith Yamasani
1d66995f47 Merge "Fix deadlock between VrManager, ActivityManager and WindowManager" into nyc-dev 2016-04-25 21:37:17 +00:00
Chong Zhang
98afb342df Merge "Wait for next app to be visible if current activity is marked visible" into nyc-dev 2016-04-25 21:13:29 +00:00
Wale Ogunwale
5952f9aea4 Fixed issue with wrong stack fullscreen state on configuration change
- No need to run TaskStack#updateBoundsAfterConfigChange if the stack
is fullscreen as the bounds will already be updated to when the display
content changed due to rotation.
- Correctly set mTmpRect2 that we are using to calculate the rotated
bounds to the current mBounds.

Bug: 28319277
Bug: 27870534
Change-Id: Ic3d9407b735210351c28297de79bf035909afcfe
2016-04-25 14:04:04 -07:00
Jorim Jaggi
df89cd1b39 Merge "Fix bug with cancelled drag" into nyc-dev 2016-04-25 20:59:40 +00:00
Lajos Molnar
a477a6e288 clarify MediaCodec.setVideoScalingMode behavior
Bug: 28131249
Change-Id: I4fd3a5333cbdc0ebec683c9a43ce071478a79d90
2016-04-25 13:28:53 -07:00
Lajos Molnar
8acc164738 CodecCapabilities: handle legacy VP9 codecs with no profiles
Bug: 26935336
Change-Id: I1049b9da8e6c984f86e307990000401b66119693
2016-04-25 13:28:06 -07:00
Chong Zhang
592bf0b7d5 Wait for next app to be visible if current activity is marked visible
WM's AppWindowToken.updateReportedVisibilityLocked() may not report
nowVisible if the app has animation set. So nowVisibible could be false
for a while after the app is already on screen. If we finish the app in
this state, we still need to wait for next app to be visible.

bug: 28019637
Change-Id: I4f9f8e138f5d011a9ab393913159ed2978d26e0d
2016-04-25 20:24:18 +00:00
Dongwon Kang
0751a83a99 Merge "TIF: Be consistent with argument name for startRecording" into nyc-dev 2016-04-25 20:16:22 +00:00
Dongwon Kang
0cb5244e52 TIF: Be consistent with argument name for startRecording
Change-Id: Icb0125049cc92c5664e0810cdb86f1cb0903405f
2016-04-25 13:15:18 -07:00
Jeff Sharkey
c79a568f18 Merge "API changes for DownloadManager and JobScheduler." into nyc-dev 2016-04-25 20:14:59 +00:00
Kweku Adams
3cabb2a6b3 Merge "Removing extraneous field from batterystats dumpsys." into nyc-dev 2016-04-25 20:09:41 +00:00
Jorim Jaggi
f300badbf1 Fix bug with cancelled drag
Bug: 28257206
Change-Id: Ic7342f4284185486e884836220b05423e308f7ae
2016-04-25 13:00:27 -07:00
Jorim Jaggi
4a9653841b Merge "Fix stuck windows in multi-window" into nyc-dev 2016-04-25 19:33:40 +00:00
Jorim Jaggi
dbe44ac48d Fix stuck windows in multi-window
Window manager checked for the full display size so isHiddenFromUserLocked
always returned true but activity manager and other places in window manager
thought it would be visible which created a really weird state.

Bug: 28344326
Change-Id: I98daefbcc64bf7a5196588c25d2cbc5ee046a77d
2016-04-25 12:31:17 -07:00
Jorim Jaggi
17178d95f2 Merge "Fix layout for child windows" into nyc-dev 2016-04-25 19:29:41 +00:00
Jorim Jaggi
5f23a57707 Fix layout for child windows
Turns out that we also need to fit child windows to display in all
cases except NO_LIMITS is set.

Bug: 27991404
Change-Id: I34a12bbf9d0169bdb770e0e96f4b994146063e90
2016-04-25 12:24:57 -07:00
Jeff Sharkey
02179da30e Destroy both CE and DE data when corrupted.
When we find either a CE or DE data directory that has been corrupted,
destroy both CE and DE data together, since internal services like
AccountManager get confused if they find DE data without matching CE
data.

Bug: 28346537
Change-Id: Iaf3694c20e4664536af25a2afeb45fe8a90d8171
2016-04-25 13:23:32 -06:00
Daniel Sandler
955009f9d3 Merge changes from topic 'substitute-notification-app-name' into nyc-dev
* changes:
  Move EXTRA_SUBSTITUTE_APP_NAME to the published system api.
  Show "Android System" instead of "System UI" in screenshot notifications.
2016-04-25 19:22:40 +00:00
Daniel Sandler
4c40888673 Merge "Tap, don't touch." into nyc-dev 2016-04-25 19:21:46 +00:00
Daniel Sandler
5602898dd5 Merge "Don't generate stack in logcat if assistant missing." into nyc-dev 2016-04-25 19:21:03 +00:00
Jeff Sharkey
24492ae448 Track down Contexts without data directories.
Data directories for all packages should be created and managed by
installd; if we create a Context and the data directory doesn't exist
yet, we're in trouble, since a later mkdirs() would end up creating
the directory with incorrect permissions, mode, and SELinux labels.

Bug: 28272737
Change-Id: Ie3bb884ab07748719378de5c792046a031a3f945
2016-04-25 13:20:29 -06:00
Amith Yamasani
bc6d96e4d0 Merge "Fix NPE when assist data request times out" into nyc-dev 2016-04-25 19:07:32 +00:00
Mady Mellor
904a39ca92 Merge "Fix gear being covered on notification update" into nyc-dev 2016-04-25 19:06:17 +00:00
Mady Mellor
5a3e441158 Merge "Fix the gear so that it is always centered based on the min noti height" into nyc-dev 2016-04-25 19:05:48 +00:00
TreeHugger Robot
73624af552 Merge "Added a 'deferred' parameter on executeRunnableDismissingKeyguard()." into nyc-dev 2016-04-25 18:57:30 +00:00
TreeHugger Robot
b698fc9d84 Merge "WebView doc: explain persist js across navigations" into nyc-dev 2016-04-25 18:39:47 +00:00
Rubin Xu
cda50893b6 Merge "Add back protected profile availibility broadcasts." into nyc-dev 2016-04-25 17:58:29 +00:00
TreeHugger Robot
442fd2a1dd Merge "Allow multiple recent entries for task with FLAG_ACTIVITY_MULTIPLE_TASK" into nyc-dev 2016-04-25 17:51:13 +00:00
Rubin Xu
dae6beda7b Add back protected profile availibility broadcasts.
Bug: 27532254
Change-Id: Ifbf59f64358864cd1d48be5e797c45ec2744eac0
2016-04-25 18:47:36 +01:00
Selim Cinek
08b38f87ef Merge "Added the ripple drawable back to the media notification" into nyc-dev 2016-04-25 17:44:11 +00:00
Kweku Adams
5b2747e133 Removing extraneous field from batterystats dumpsys.
Accidentally introduced in ag/851920.

Change-Id: I89ac490cef1735defa7165e6d27beae20490091d
2016-04-25 10:44:05 -07:00
Amith Yamasani
6e267d3d23 Fix NPE when assist data request times out
Bug: 28329835
Change-Id: I032e20ea1008512954b97519a4abb6fe4d65c673
2016-04-25 10:24:52 -07:00
Chong Zhang
5e40748d3f Merge "fix "am start -W" hang on activity start" into nyc-dev 2016-04-25 17:08:07 +00:00
Fyodor Kupolov
6eb8c15b7e Merge "Return null when user is locked" into nyc-dev 2016-04-25 17:03:36 +00:00
Bo Liu
e29d313e95 WebView doc: explain persist js across navigations
BUG: 28207652
Change-Id: Ib33f029c2cae6c1482c0c951075275e9f96ae73c
2016-04-25 09:38:06 -07:00
Jeff Sharkey
5dc3304531 Merge "Strings for post-upgrade." into nyc-dev 2016-04-25 16:34:13 +00:00
Winson Chung
de91709935 Merge "Fixing animation regression due to ag/957220." into nyc-dev 2016-04-25 16:25:51 +00:00
Felipe Leme
ee5d630459 Added a 'deferred' parameter on executeRunnableDismissingKeyguard().
OnDismissAction() should return true only when the dismiss should be
deferred, but the annonymous class on
executeRunnableDismissingKeyguard() was always return true, which was
cause a janky timeout when the runnable didn't launch an activity.

BUG: 28303552

Change-Id: I1f9e299102d6cebba44794c026a69cf43ea06990
2016-04-25 09:12:06 -07:00
Winson
60df24648e Fixing animation regression due to ag/957220.
- Ensure we clear deferred relayouts after finishing all animations in
  case they trigger a deferred layout in the animation-end callback.

Bug: 28287904
Change-Id: I6d71328fb3dc4595ea67ee18cfa57d85d741e6c6
2016-04-25 16:01:03 +00:00
TreeHugger Robot
096e2dcf85 Merge "Disable StrictMode policy when setting up profile support" into nyc-dev 2016-04-25 15:54:37 +00:00