diff options
| author | 2017-05-02 01:15:35 +0000 | |
|---|---|---|
| committer | 2017-05-02 01:15:35 +0000 | |
| commit | b57c441fb44757e6e255bdbf6119cff565e6552d (patch) | |
| tree | 913ad1311e509bf965e95ec3f97c0a14fa713349 | |
| parent | e82ea39a51cb2080f66a0c8e7862b1cad4957c5b (diff) | |
| parent | 0a2b84d6d24b249c152d1354868bcb6d29f259da (diff) | |
Merge "Fix rotation animation selection." into oc-dev am: e8d7c01e8a
am: 0a2b84d6d2
Change-Id: I947689d13d974117273e3e54d4170f8b064927ef
| -rw-r--r-- | core/java/android/content/pm/ActivityInfo.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/core/java/android/content/pm/ActivityInfo.java b/core/java/android/content/pm/ActivityInfo.java index 0be0885c5bdc..cf7f017daf60 100644 --- a/core/java/android/content/pm/ActivityInfo.java +++ b/core/java/android/content/pm/ActivityInfo.java @@ -883,9 +883,12 @@ public class ActivityInfo extends ComponentInfo /** * Screen rotation animation desired by the activity, with values as defined * for {@link android.view.WindowManager.LayoutParams#rotationAnimation}. + * + * -1 means to use the system default. + * * @hide */ - public int rotationAnimation = ROTATION_ANIMATION_ROTATE; + public int rotationAnimation = -1; /** @hide */ public static final int LOCK_TASK_LAUNCH_MODE_DEFAULT = 0; |