Merge "Correctly initialize rotation animation hint." into nyc-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
9d90b758c9
@@ -221,7 +221,12 @@ final class ActivityRecord {
|
||||
boolean pendingVoiceInteractionStart; // Waiting for activity-invoked voice session
|
||||
IVoiceInteractionSession voiceSession; // Voice interaction session for this activity
|
||||
|
||||
int mRotationAnimationHint;
|
||||
// A hint to override the window specified rotation animation, or -1
|
||||
// to use the window specified value. We use this so that
|
||||
// we can select the right animation in the cases of starting
|
||||
// windows, where the app hasn't had time to set a value
|
||||
// on the window.
|
||||
int mRotationAnimationHint = -1;
|
||||
|
||||
private static String startingWindowStateToString(int state) {
|
||||
switch (state) {
|
||||
|
||||
Reference in New Issue
Block a user