Permalink
Browse files

Merge commit 'c9c190c2' into mit

* commit 'c9c190c2':
  Use TelephonyIntents
  • Loading branch information...
2 parents eebfc84 + c9c190c commit 037988e8f1e3ddba62a584292f42bc956bc7c597 Wink Saville committed Jul 12, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/com/android/voicedialer/VoiceDialerReceiver.java
@@ -20,7 +20,7 @@
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 @@ else if (Intent.ACTION_PACKAGE_ADDED.equals(action) ||
}
// 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();
}

0 comments on commit 037988e

Please sign in to comment.