Merge "Always show CHANGE containers in transition setup" into udc-dev
This commit is contained in:
@@ -493,6 +493,9 @@ public final class TransitionInfo implements Parcelable {
|
|||||||
if ((flags & FLAG_FIRST_CUSTOM) != 0) {
|
if ((flags & FLAG_FIRST_CUSTOM) != 0) {
|
||||||
sb.append(sb.length() == 0 ? "" : "|").append("FIRST_CUSTOM");
|
sb.append(sb.length() == 0 ? "" : "|").append("FIRST_CUSTOM");
|
||||||
}
|
}
|
||||||
|
if ((flags & FLAG_MOVED_TO_TOP) != 0) {
|
||||||
|
sb.append(sb.length() == 0 ? "" : "|").append("MOVE_TO_TOP");
|
||||||
|
}
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -492,6 +492,10 @@ public class Transitions implements RemoteCallable<Transitions>,
|
|||||||
finishT.show(leash);
|
finishT.show(leash);
|
||||||
} else if (mode == TRANSIT_CLOSE || mode == TRANSIT_TO_BACK) {
|
} else if (mode == TRANSIT_CLOSE || mode == TRANSIT_TO_BACK) {
|
||||||
finishT.hide(leash);
|
finishT.hide(leash);
|
||||||
|
} else if (isOpening && mode == TRANSIT_CHANGE) {
|
||||||
|
// Just in case there is a race with another animation (eg. recents finish()).
|
||||||
|
// Changes are visible->visible so it's a problem if it isn't visible.
|
||||||
|
t.show(leash);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user