Skip to content

Commit 960d881

Browse files
committed
voice assistant shortcuts
1 parent 88e84a5 commit 960d881

File tree

9 files changed

+85
-22
lines changed

9 files changed

+85
-22
lines changed

.idea/.gitignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

.idea/flutter_shortcuts.iml

Lines changed: 18 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/libraries/Dart_SDK.xml

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 0 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

Lines changed: 2 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/example_lib_main_dart.xml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.idea/vcs.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/workspace.xml

Lines changed: 54 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

android/src/main/java/com/divyanshushekhar/flutter_shortcuts/MethodCallImplementation.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
import android.app.Activity;
44
import android.content.Context;
55
import android.content.Intent;
6-
import android.content.pm.ShortcutInfo;
7-
import android.content.pm.ShortcutManager;
86
import android.content.res.AssetFileDescriptor;
97
import android.content.res.AssetManager;
108
import android.content.res.Resources;
@@ -40,7 +38,6 @@ public class MethodCallImplementation implements MethodChannel.MethodCallHandler
4038
private Activity activity;
4139

4240
private boolean debug;
43-
private boolean voiceAssistantVisibility;
4441

4542
void debugPrint(String message) {
4643
if(debug) {
@@ -110,7 +107,6 @@ public void onMethodCall(@NonNull MethodCall call, @NonNull MethodChannel.Result
110107
private void initialize(MethodCall call) {
111108
List<Map<String, String>> args = call.arguments();
112109
this.debug = Boolean.parseBoolean(args.get(0).get("debug"));
113-
this.voiceAssistantVisibility = Boolean.parseBoolean(args.get(0).get("voiceAssistantVisibility"));
114110
debugPrint("Flutter Shortcuts Initialized");
115111
}
116112

0 commit comments

Comments
 (0)