From fee756ff91ab4d8f0e09ddb050d22d88ebb66ae7 Mon Sep 17 00:00:00 2001 From: Dianne Hackborn Date: Wed, 16 Jul 2014 17:31:10 -0700 Subject: Implement issue #16330060: Inform ActivityManager about WebView... ...state changes. Add a new API to tell the activity manager about a new dependency one process has on another package. Start using it already for when apps is Context.createPackageContext() to load code from another app. Also do some work on getting the monitoring of proc/uid states in shape so it can be used by unundled code, along with an AppImportanceMonitor class for doing so. Some small fixes and additions to VoiceInteractionService. Improve handling of unaccounted/overcounted battery use so that they aren't shown to the user unless they are significant. Change-Id: I22dd79a73f4e70103d3f8964494aebc8a31f971c --- .../src/com/android/test/voiceinteraction/MainInteractionService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/VoiceInteraction/src') diff --git a/tests/VoiceInteraction/src/com/android/test/voiceinteraction/MainInteractionService.java b/tests/VoiceInteraction/src/com/android/test/voiceinteraction/MainInteractionService.java index db43be3..ab2e8ac 100644 --- a/tests/VoiceInteraction/src/com/android/test/voiceinteraction/MainInteractionService.java +++ b/tests/VoiceInteraction/src/com/android/test/voiceinteraction/MainInteractionService.java @@ -27,8 +27,8 @@ public class MainInteractionService extends VoiceInteractionService { static final String TAG = "MainInteractionService"; @Override - public void onCreate() { - super.onCreate(); + public void onReady() { + super.onReady(); Log.i(TAG, "Creating " + this); Log.i(TAG, "Keyphrase enrollment error? " + getKeyphraseEnrollmentInfo().getParseError()); Log.i(TAG, "Keyphrase enrollment meta-data: " -- cgit v1.1