summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWink Saville <wink@google.com>2012-06-13 06:59:41 -0700
committerWink Saville <wink@google.com>2012-07-02 15:49:23 -0700
commitc9c190c2e5a047a3ce9c6e2da5485cafa164f2a9 (patch)
tree8db9ab0bf0809911f883e5a146b68ec8eb072760
parent3e0d206155efe1ecb1b5da9c7ed4a068ba07c8d9 (diff)
downloadVoiceDialer-c9c190c2e5a047a3ce9c6e2da5485cafa164f2a9.tar.gz
Use TelephonyIntents
Change-Id: Icdc392722db2b2adf294ea277b7c174e7323ea75
-rw-r--r--src/com/android/voicedialer/VoiceDialerReceiver.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/android/voicedialer/VoiceDialerReceiver.java b/src/com/android/voicedialer/VoiceDialerReceiver.java
index 7ba1177..e6bfd1c 100644
--- a/src/com/android/voicedialer/VoiceDialerReceiver.java
+++ b/src/com/android/voicedialer/VoiceDialerReceiver.java
@@ -20,7 +20,7 @@ package com.android.voicedialer;
import android.content.Context;
import android.content.Intent;
import android.content.BroadcastReceiver;
-import android.provider.Telephony.Intents;
+import com.android.internal.telephony.TelephonyIntents;
import android.util.Log;
import android.widget.Toast;
@@ -50,13 +50,13 @@ public class VoiceDialerReceiver extends BroadcastReceiver {
}
// Voice Dialer Logging Enabled, *#*#8351#*#*
- else if (Intents.SECRET_CODE_ACTION.equals(action) && "8351".equals(host)) {
+ else if (TelephonyIntents.SECRET_CODE_ACTION.equals(action) && "8351".equals(host)) {
RecognizerLogger.enable(context);
Toast.makeText(context, R.string.logging_enabled, Toast.LENGTH_LONG).show();
}
// Voice Dialer Logging Disabled, *#*#8350#*#*
- else if (Intents.SECRET_CODE_ACTION.equals(action) && "8350".equals(host)) {
+ else if (TelephonyIntents.SECRET_CODE_ACTION.equals(action) && "8350".equals(host)) {
RecognizerLogger.disable(context);
Toast.makeText(context, R.string.logging_disabled, Toast.LENGTH_LONG).show();
}