summaryrefslogtreecommitdiffstats
path: root/tests/VoiceInteraction/src/com/android/test
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2014-07-16 17:31:10 -0700
committerDianne Hackborn <hackbod@google.com>2014-07-16 22:50:31 -0700
commitfee756ff91ab4d8f0e09ddb050d22d88ebb66ae7 (patch)
treed1ff654f57e10bcd3b0a26690113aef7f1643eb4 /tests/VoiceInteraction/src/com/android/test
parent2883ba69751de69811a38f086ecbe4c2032ca87d (diff)
downloadframeworks_base-fee756ff91ab4d8f0e09ddb050d22d88ebb66ae7.zip
frameworks_base-fee756ff91ab4d8f0e09ddb050d22d88ebb66ae7.tar.gz
frameworks_base-fee756ff91ab4d8f0e09ddb050d22d88ebb66ae7.tar.bz2
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
Diffstat (limited to 'tests/VoiceInteraction/src/com/android/test')
-rw-r--r--tests/VoiceInteraction/src/com/android/test/voiceinteraction/MainInteractionService.java4
1 files changed, 2 insertions, 2 deletions
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: "