Loading core/java/android/view/View.java +4 −3 Original line number Diff line number Diff line Loading @@ -4324,8 +4324,9 @@ public class View implements Drawable.Callback, KeyEvent.Callback, Accessibility requestLayout(); invalidate(); if (((mViewFlags & VISIBILITY_MASK) == GONE) && hasFocus()) { clearFocus(); if (((mViewFlags & VISIBILITY_MASK) == GONE)) { if (hasFocus()) clearFocus(); destroyDrawingCache(); } if (mAttachInfo != null) { mAttachInfo.mViewVisibilityChanged = true; Loading Loading @@ -6283,6 +6284,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback, Accessibility canvas.translate(-mScrollX, -mScrollY); mPrivateFlags |= DRAWN; mPrivateFlags |= DRAWING_CACHE_VALID; // Fast path for layouts with no backgrounds if ((mPrivateFlags & SKIP_DRAW) == SKIP_DRAW) { Loading @@ -6301,7 +6303,6 @@ public class View implements Drawable.Callback, KeyEvent.Callback, Accessibility // Restore the cached Canvas for our siblings attachInfo.mCanvas = canvas; } mPrivateFlags |= DRAWING_CACHE_VALID; } } Loading core/jni/android_util_Process.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -285,6 +285,7 @@ void android_os_Process_setThreadPriority(JNIEnv* env, jobject clazz, if (rc) { signalExceptionForGroupError(env, clazz, errno); return; } if (setpriority(PRIO_PROCESS, pid, pri) < 0) { Loading libs/surfaceflinger/Android.mk +0 −3 Original line number Diff line number Diff line Loading @@ -22,9 +22,6 @@ LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES ifeq ($(TARGET_BOARD_PLATFORM), msm7k) LOCAL_CFLAGS += -DDIM_WITH_TEXTURE endif ifeq ($(TARGET_BOARD_PLATFORM), qsd8k) LOCAL_CFLAGS += -DDIM_WITH_TEXTURE endif # need "-lrt" on Linux simulator to pick up clock_gettime ifeq ($(TARGET_SIMULATOR),true) Loading media/java/android/media/ExifInterface.java +2 −1 Original line number Diff line number Diff line Loading @@ -62,7 +62,8 @@ public class ExifInterface { static { System.loadLibrary("exif"); sFormatter = new SimpleDateFormat("yyyy:MM:dd HH:mm:ss"); sFormatter.setTimeZone(TimeZone.getTimeZone("UTC")); //TODO: uncomment this when our EXIF datetime is encoded as UTC //sFormatter.setTimeZone(TimeZone.getTimeZone("UTC")); } private String mFilename; Loading media/java/android/media/MediaScanner.java +1 −1 Original line number Diff line number Diff line Loading @@ -746,7 +746,7 @@ public class MediaScanner long time = exif.getDateTime(); if (time != -1) { values.put(Images.Media.DATE_TAKEN, time * 1000); values.put(Images.Media.DATE_TAKEN, time); } int orientation = exif.getAttributeInt( Loading Loading
core/java/android/view/View.java +4 −3 Original line number Diff line number Diff line Loading @@ -4324,8 +4324,9 @@ public class View implements Drawable.Callback, KeyEvent.Callback, Accessibility requestLayout(); invalidate(); if (((mViewFlags & VISIBILITY_MASK) == GONE) && hasFocus()) { clearFocus(); if (((mViewFlags & VISIBILITY_MASK) == GONE)) { if (hasFocus()) clearFocus(); destroyDrawingCache(); } if (mAttachInfo != null) { mAttachInfo.mViewVisibilityChanged = true; Loading Loading @@ -6283,6 +6284,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback, Accessibility canvas.translate(-mScrollX, -mScrollY); mPrivateFlags |= DRAWN; mPrivateFlags |= DRAWING_CACHE_VALID; // Fast path for layouts with no backgrounds if ((mPrivateFlags & SKIP_DRAW) == SKIP_DRAW) { Loading @@ -6301,7 +6303,6 @@ public class View implements Drawable.Callback, KeyEvent.Callback, Accessibility // Restore the cached Canvas for our siblings attachInfo.mCanvas = canvas; } mPrivateFlags |= DRAWING_CACHE_VALID; } } Loading
core/jni/android_util_Process.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -285,6 +285,7 @@ void android_os_Process_setThreadPriority(JNIEnv* env, jobject clazz, if (rc) { signalExceptionForGroupError(env, clazz, errno); return; } if (setpriority(PRIO_PROCESS, pid, pri) < 0) { Loading
libs/surfaceflinger/Android.mk +0 −3 Original line number Diff line number Diff line Loading @@ -22,9 +22,6 @@ LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES ifeq ($(TARGET_BOARD_PLATFORM), msm7k) LOCAL_CFLAGS += -DDIM_WITH_TEXTURE endif ifeq ($(TARGET_BOARD_PLATFORM), qsd8k) LOCAL_CFLAGS += -DDIM_WITH_TEXTURE endif # need "-lrt" on Linux simulator to pick up clock_gettime ifeq ($(TARGET_SIMULATOR),true) Loading
media/java/android/media/ExifInterface.java +2 −1 Original line number Diff line number Diff line Loading @@ -62,7 +62,8 @@ public class ExifInterface { static { System.loadLibrary("exif"); sFormatter = new SimpleDateFormat("yyyy:MM:dd HH:mm:ss"); sFormatter.setTimeZone(TimeZone.getTimeZone("UTC")); //TODO: uncomment this when our EXIF datetime is encoded as UTC //sFormatter.setTimeZone(TimeZone.getTimeZone("UTC")); } private String mFilename; Loading
media/java/android/media/MediaScanner.java +1 −1 Original line number Diff line number Diff line Loading @@ -746,7 +746,7 @@ public class MediaScanner long time = exif.getDateTime(); if (time != -1) { values.put(Images.Media.DATE_TAKEN, time * 1000); values.put(Images.Media.DATE_TAKEN, time); } int orientation = exif.getAttributeInt( Loading