Skip to content
This repository has been archived by the owner on Aug 3, 2022. It is now read-only.

Commit

Permalink
Add new broadcasts to handle packages installed on sdcard
Browse files Browse the repository at this point in the history
  • Loading branch information
Suchi Amalapurapu committed Mar 10, 2010
1 parent 960e679 commit 4ee33c8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/com/android/voicedialer/VoiceDialerReceiver.java
Expand Up @@ -44,7 +44,9 @@ public void onReceive(Context context, Intent intent) {
// force recompilation if apps change, for 'OPEN' command
else if (Intent.ACTION_PACKAGE_ADDED.equals(action) ||
Intent.ACTION_PACKAGE_CHANGED.equals(action) ||
Intent.ACTION_PACKAGE_REMOVED.equals(action)) {
Intent.ACTION_PACKAGE_REMOVED.equals(action) ||
Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE.equals(action) ||
Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE.equals(action)) {
CommandRecognizerEngine.deleteCachedGrammarFiles(context);
}

Expand Down

0 comments on commit 4ee33c8

Please sign in to comment.