diff options
author | Dianne Hackborn <hackbod@google.com> | 2009-09-21 00:34:05 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2009-09-21 17:26:41 -0700 |
commit | bfe319e06aa56c081d0d94d64a8181291d7f7388 (patch) | |
tree | d0015a99d27fd84554b4b8757304f4b017f75d50 /core/java/android/app/Activity.java | |
parent | a7719af31290bea50d822b535b6a886ba7a88097 (diff) | |
download | frameworks_base-bfe319e06aa56c081d0d94d64a8181291d7f7388.zip frameworks_base-bfe319e06aa56c081d0d94d64a8181291d7f7388.tar.gz frameworks_base-bfe319e06aa56c081d0d94d64a8181291d7f7388.tar.bz2 |
Turn animations on by default.
Add API to skip the animation for a particular start activity, so that
a latter better one can be used.
Fix Theme.NoDisplay to actually work.
Fiddle with various animations: don't do a different animation for task
switching, try a scale animation for switching in/out of the wallpaper.
Adjust the animation duration so that at normal speed we have something
more like the slower animation option (so slow is now the default).
Change-Id: Ieba9f3db0bd9a762a19b327a3ecccbc7b547893d
Diffstat (limited to 'core/java/android/app/Activity.java')
-rw-r--r-- | core/java/android/app/Activity.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/app/Activity.java b/core/java/android/app/Activity.java index a86fe90..4561899 100644 --- a/core/java/android/app/Activity.java +++ b/core/java/android/app/Activity.java @@ -790,8 +790,8 @@ public class Activity extends ContextThemeWrapper * @see #onPostCreate */ protected void onCreate(Bundle savedInstanceState) { - mVisibleFromClient = mWindow.getWindowStyle().getBoolean( - com.android.internal.R.styleable.Window_windowNoDisplay, true); + mVisibleFromClient = !mWindow.getWindowStyle().getBoolean( + com.android.internal.R.styleable.Window_windowNoDisplay, false); mCalled = true; } |