summaryrefslogtreecommitdiffstats
path: root/packages/Keyguard/Android.mk
diff options
context:
space:
mode:
authorJim Miller <jaggies@google.com>2013-02-28 03:35:57 -0800
committerJim Miller <jaggies@google.com>2013-02-28 13:40:49 -0800
commit195b551761773912196a10e6d84109027d470eb8 (patch)
tree7d8013ee182ccf8aa6cb107d8f1696137e7e21e6 /packages/Keyguard/Android.mk
parent1430193df4ea1b7e6a72c9a299dff3edcb880b0f (diff)
downloadframeworks_base-195b551761773912196a10e6d84109027d470eb8.zip
frameworks_base-195b551761773912196a10e6d84109027d470eb8.tar.gz
frameworks_base-195b551761773912196a10e6d84109027d470eb8.tar.bz2
Fix dependency between keyguard/dexopt/AccessibilityManagerService.
This fixes a bug on userdebug builds where dexopt hadn't completed before the service is needed. The resulting crash prevented dexopt from completing, resulting in a reboot loop and perpetual issue starting the service. The solution is to hold off on creating keyguard until the system is ready. It also moves the creation of the AccessibilityManagerService singleton back into the system process. Fixes bug 8287106 Change-Id: I96e15c084d38c255fd8f6bca6f21a0785b82ec74
Diffstat (limited to 'packages/Keyguard/Android.mk')
-rw-r--r--packages/Keyguard/Android.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/packages/Keyguard/Android.mk b/packages/Keyguard/Android.mk
index f8827f6..2f8edad 100644
--- a/packages/Keyguard/Android.mk
+++ b/packages/Keyguard/Android.mk
@@ -1,4 +1,4 @@
-# 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.
@@ -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))