Loading packages/Keyguard/Android.mk +8 −1 Original line number Diff line number Diff line # Copyright (C) 2010 The Android Open Source Project # Copyright (C) 2013 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. Loading @@ -18,7 +18,14 @@ include $(CLEAR_VARS) LOCAL_SRC_FILES := $(call all-subdir-java-files) $(call all-subdir-Iaidl-files) LOCAL_JAVA_LIBRARIES := services LOCAL_PACKAGE_NAME := Keyguard LOCAL_CERTIFICATE := platform LOCAL_PROGUARD_FLAG_FILES := proguard.flags include $(BUILD_PACKAGE) include $(call all-makefiles-under,$(LOCAL_PATH)) packages/Keyguard/proguard.flags 0 → 100644 +2 −0 Original line number Diff line number Diff line -keep public class com.android.keyguard.KeyguardService packages/Keyguard/src/com/android/keyguard/KeyguardService.java +0 −4 Original line number Diff line number Diff line Loading @@ -106,10 +106,6 @@ public class KeyguardService extends Service { return mKeyguardViewMediator.isDismissable(); } public void onSystemReady() { // Tell the accessibility layer that this process will // run as the current user, i.e. run across users. AccessibilityManager.createAsSharedAcrossUsers(KeyguardService.this); mKeyguardViewMediator.onSystemReady(); } public void doKeyguardTimeout(Bundle options) { Loading policy/src/com/android/internal/policy/impl/PhoneWindowManager.java +4 −10 Original line number Diff line number Diff line Loading @@ -85,6 +85,7 @@ import android.view.WindowManager; import android.view.WindowManagerGlobal; import android.view.WindowManagerPolicy; import android.view.accessibility.AccessibilityEvent; import android.view.accessibility.AccessibilityManager; import android.view.animation.Animation; import android.view.animation.AnimationUtils; Loading Loading @@ -820,9 +821,6 @@ public class PhoneWindowManager implements WindowManagerPolicy { mWindowManager = windowManager; mWindowManagerFuncs = windowManagerFuncs; mHeadless = "1".equals(SystemProperties.get("ro.config.headless", "0")); if (!mHeadless) { startKeyguard(context); } mHandler = new PolicyHandler(); mOrientationListener = new MyOrientationListener(mContext, mHandler); try { Loading Loading @@ -915,10 +913,6 @@ public class PhoneWindowManager implements WindowManagerPolicy { } } private void startKeyguard(Context context) { mKeyguardDelegate = new KeyguardServiceDelegate(context, null); } @Override public void setInitialDisplaySize(Display display, int width, int height, int density) { if (display.getDisplayId() != Display.DEFAULT_DISPLAY) { Loading Loading @@ -4172,7 +4166,7 @@ public class PhoneWindowManager implements WindowManagerPolicy { } public void dismissKeyguardLw() { if (mKeyguardDelegate.isShowing()) { if (mKeyguardDelegate != null && mKeyguardDelegate.isShowing()) { mHandler.post(new Runnable() { public void run() { if (mKeyguardDelegate.isDismissable()) { Loading Loading @@ -4421,8 +4415,8 @@ public class PhoneWindowManager implements WindowManagerPolicy { /** {@inheritDoc} */ public void systemReady() { if (mKeyguardDelegate != null) { // tell the keyguard if (!mHeadless) { mKeyguardDelegate = new KeyguardServiceDelegate(mContext, null); mKeyguardDelegate.onSystemReady(); } synchronized (mLock) { Loading Loading
packages/Keyguard/Android.mk +8 −1 Original line number Diff line number Diff line # Copyright (C) 2010 The Android Open Source Project # Copyright (C) 2013 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. Loading @@ -18,7 +18,14 @@ include $(CLEAR_VARS) LOCAL_SRC_FILES := $(call all-subdir-java-files) $(call all-subdir-Iaidl-files) LOCAL_JAVA_LIBRARIES := services LOCAL_PACKAGE_NAME := Keyguard LOCAL_CERTIFICATE := platform LOCAL_PROGUARD_FLAG_FILES := proguard.flags include $(BUILD_PACKAGE) include $(call all-makefiles-under,$(LOCAL_PATH))
packages/Keyguard/proguard.flags 0 → 100644 +2 −0 Original line number Diff line number Diff line -keep public class com.android.keyguard.KeyguardService
packages/Keyguard/src/com/android/keyguard/KeyguardService.java +0 −4 Original line number Diff line number Diff line Loading @@ -106,10 +106,6 @@ public class KeyguardService extends Service { return mKeyguardViewMediator.isDismissable(); } public void onSystemReady() { // Tell the accessibility layer that this process will // run as the current user, i.e. run across users. AccessibilityManager.createAsSharedAcrossUsers(KeyguardService.this); mKeyguardViewMediator.onSystemReady(); } public void doKeyguardTimeout(Bundle options) { Loading
policy/src/com/android/internal/policy/impl/PhoneWindowManager.java +4 −10 Original line number Diff line number Diff line Loading @@ -85,6 +85,7 @@ import android.view.WindowManager; import android.view.WindowManagerGlobal; import android.view.WindowManagerPolicy; import android.view.accessibility.AccessibilityEvent; import android.view.accessibility.AccessibilityManager; import android.view.animation.Animation; import android.view.animation.AnimationUtils; Loading Loading @@ -820,9 +821,6 @@ public class PhoneWindowManager implements WindowManagerPolicy { mWindowManager = windowManager; mWindowManagerFuncs = windowManagerFuncs; mHeadless = "1".equals(SystemProperties.get("ro.config.headless", "0")); if (!mHeadless) { startKeyguard(context); } mHandler = new PolicyHandler(); mOrientationListener = new MyOrientationListener(mContext, mHandler); try { Loading Loading @@ -915,10 +913,6 @@ public class PhoneWindowManager implements WindowManagerPolicy { } } private void startKeyguard(Context context) { mKeyguardDelegate = new KeyguardServiceDelegate(context, null); } @Override public void setInitialDisplaySize(Display display, int width, int height, int density) { if (display.getDisplayId() != Display.DEFAULT_DISPLAY) { Loading Loading @@ -4172,7 +4166,7 @@ public class PhoneWindowManager implements WindowManagerPolicy { } public void dismissKeyguardLw() { if (mKeyguardDelegate.isShowing()) { if (mKeyguardDelegate != null && mKeyguardDelegate.isShowing()) { mHandler.post(new Runnable() { public void run() { if (mKeyguardDelegate.isDismissable()) { Loading Loading @@ -4421,8 +4415,8 @@ public class PhoneWindowManager implements WindowManagerPolicy { /** {@inheritDoc} */ public void systemReady() { if (mKeyguardDelegate != null) { // tell the keyguard if (!mHeadless) { mKeyguardDelegate = new KeyguardServiceDelegate(mContext, null); mKeyguardDelegate.onSystemReady(); } synchronized (mLock) { Loading