commit | 7896b2ce915cbd180682e94e2fe3d246ff760763 | [log] [tgz] |
---|---|---|
author | Owen Lin <owenlin@google.com> | Tue May 15 17:52:09 2012 -0700 |
committer | Owen Lin <owenlin@google.com> | Thu May 17 10:07:53 2012 -0700 |
tree | fc413ee43297253f214dfcc974605dda878455df | |
parent | b4e38c9a5945b9651dca1b2b8fe6e0e2833c0fa6 [diff] [blame] |
Set the window backgrond and remove it in onCreate(). To have better transistion when launching the app. bug: 6494653 Change-Id: I0f28796d599931c676c99e8f19a9f34e05018570
diff --git a/src/com/android/gallery3d/app/AbstractGalleryActivity.java b/src/com/android/gallery3d/app/AbstractGalleryActivity.java index 2c63e34..4ee7403 100644 --- a/src/com/android/gallery3d/app/AbstractGalleryActivity.java +++ b/src/com/android/gallery3d/app/AbstractGalleryActivity.java
@@ -61,6 +61,7 @@ super.onCreate(savedInstanceState); mOrientationManager = new OrientationManager(this); toggleStatusBarByOrientation(); + getWindow().setBackgroundDrawable(null); } @Override