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
32 lines
953 B
Makefile
32 lines
953 B
Makefile
# 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.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
#
|
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
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))
|