diff options
author | John Reck <jreck@google.com> | 2012-10-16 17:06:13 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2012-10-16 17:06:13 -0700 |
commit | 1aa9974c1fa79ffa587fb53756a886aab6aa08e2 (patch) | |
tree | e50ddb3d22dcc301a00319af6756e48df7a3b21f | |
parent | e2473e774b6cd144069d77ef27927a89ca9d5113 (diff) | |
download | android_packages_apps_Snap-1aa9974c1fa79ffa587fb53756a886aab6aa08e2.tar.gz android_packages_apps_Snap-1aa9974c1fa79ffa587fb53756a886aab6aa08e2.tar.bz2 android_packages_apps_Snap-1aa9974c1fa79ffa587fb53756a886aab6aa08e2.zip |
Add hook to manipulate SurfaceTexture transform
Bug: 7302956
Change-Id: I32bdeb22630dbeba9f028e1c68167d10a5288a28
-rw-r--r-- | gallerycommon/src/com/android/gallery3d/common/Utils.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gallerycommon/src/com/android/gallery3d/common/Utils.java b/gallerycommon/src/com/android/gallery3d/common/Utils.java index f5a266706..3a68745c4 100644 --- a/gallerycommon/src/com/android/gallery3d/common/Utils.java +++ b/gallerycommon/src/com/android/gallery3d/common/Utils.java @@ -76,7 +76,7 @@ public class Utils { // Throws IllegalArgumentException if the input is <= 0 or // the answer overflows. public static int nextPowerOf2(int n) { - if (n <= 0 || n > (1 << 30)) throw new IllegalArgumentException(); + if (n <= 0 || n > (1 << 30)) throw new IllegalArgumentException("n is invalid: " + n); n -= 1; n |= n >> 16; n |= n >> 8; |