From cf9d19e030830fd808d59f1c97edf65e66f675d6 Mon Sep 17 00:00:00 2001 From: Daniel Nishi Date: Mon, 23 Jan 2017 14:33:42 -0800 Subject: First pass at adding the cache quota suggestions. This currently integrates with installd, but not with any framework API to expose this information to apps. The first pass, as per the design doc, adds a service which polls for large changes in the file system free space. If enough spaces changes, it begins a recalculation of the cache quotas and pipes the information down to installd. This calculation is done in the updateable ExtServices. Further enhancements in later patches include integrating this to listen to package install and removal events, caching the last computed quota values into an XML file on disk to load on boot, and exposing the information to apps. Bug: 33965858 Test: ExtServices unit test Change-Id: Ie39f228b73532cb6ce2f98529f7c5df0839202ae --- packages/ExtServices/Android.mk | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'packages/ExtServices/Android.mk') diff --git a/packages/ExtServices/Android.mk b/packages/ExtServices/Android.mk index e8a40078ef0f..d0c2b9f4e0a5 100644 --- a/packages/ExtServices/Android.mk +++ b/packages/ExtServices/Android.mk @@ -34,7 +34,8 @@ LOCAL_PRIVILEGED_MODULE := true include $(BUILD_PACKAGE) - - - +# Use the following include to make our test apk. +ifeq ($(strip $(LOCAL_PACKAGE_OVERRIDES)),) +include $(call all-makefiles-under, $(LOCAL_PATH)) +endif -- cgit v1.2.3-59-g8ed1b