Loading core/java/android/view/ViewRootImpl.java +2 −2 Original line number Original line Diff line number Diff line Loading @@ -678,13 +678,13 @@ public final class ViewRootImpl implements ViewParent, mAttachInfo.mHardwareAccelerationRequested = false; mAttachInfo.mHardwareAccelerationRequested = false; // Don't enable hardware acceleration when the application is in compatibility mode // Don't enable hardware acceleration when the application is in compatibility mode if (false && mTranslator != null) return; if (mTranslator != null) return; // Try to enable hardware acceleration if requested // Try to enable hardware acceleration if requested final boolean hardwareAccelerated = final boolean hardwareAccelerated = (attrs.flags & WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED) != 0; (attrs.flags & WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED) != 0; if (true || hardwareAccelerated) { if (hardwareAccelerated) { if (!HardwareRenderer.isAvailable()) { if (!HardwareRenderer.isAvailable()) { return; return; } } Loading Loading
core/java/android/view/ViewRootImpl.java +2 −2 Original line number Original line Diff line number Diff line Loading @@ -678,13 +678,13 @@ public final class ViewRootImpl implements ViewParent, mAttachInfo.mHardwareAccelerationRequested = false; mAttachInfo.mHardwareAccelerationRequested = false; // Don't enable hardware acceleration when the application is in compatibility mode // Don't enable hardware acceleration when the application is in compatibility mode if (false && mTranslator != null) return; if (mTranslator != null) return; // Try to enable hardware acceleration if requested // Try to enable hardware acceleration if requested final boolean hardwareAccelerated = final boolean hardwareAccelerated = (attrs.flags & WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED) != 0; (attrs.flags & WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED) != 0; if (true || hardwareAccelerated) { if (hardwareAccelerated) { if (!HardwareRenderer.isAvailable()) { if (!HardwareRenderer.isAvailable()) { return; return; } } Loading