Android-x86
Fork

  • R/O
  • HTTP
  • SSH
  • HTTPS

frameworks-base: コミット

frameworks/base


コミットメタ情報

リビジョンe347bacaa2fd90cdca059046de2ddb8c7703a3c7 (tree)
日時2017-06-21 16:49:39
作者Chih-Wei Huang <cwhuang@linu...>
コミッターChih-Wei Huang

ログメッセージ

Fix MoveTaskButton function

The MoveTaskButton can't work in Android 7.1.2. Not sure why.
It worked before.

Set the destinationStack explicitly to fix it.

変更サマリ

差分

--- a/packages/SystemUI/src/com/android/systemui/recents/views/RecentsTransitionHelper.java
+++ b/packages/SystemUI/src/com/android/systemui/recents/views/RecentsTransitionHelper.java
@@ -102,6 +102,7 @@ public class RecentsTransitionHelper {
102102 final TaskStackView stackView, final TaskView taskView,
103103 final boolean screenPinningRequested, final Rect bounds, final int destinationStack) {
104104 final ActivityOptions opts = ActivityOptions.makeBasic();
105+ opts.setLaunchStackId(destinationStack);
105106 if (bounds != null) {
106107 opts.setLaunchBounds(bounds.isEmpty() ? null : bounds);
107108 }
旧リポジトリブラウザで表示