Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
boooooommmmmm committed Sep 23, 2018
1 parent 6084938 commit 7b50ad0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ private List<String> getInstalledAppsList() {
installedAppsNameMap.put(packageShortName, packageFullName);
// Log.d("Sven", "Source dir : " + packageInfo.sourceDir);
// Log.d("Sven", "Launch Activity :" + pm.getLaunchIntentForPackage(packageInfo.packageName));
// Log.d("Sven", "mainActivity.packageFullName: " + packageFullName);
// Log.d("Sven", "mainActivity.packageShortName: " + packageShortName);
Log.d("Sven", "mainActivity.packageFullName: " + packageFullName);
Log.d("Sven", "mainActivity.packageShortName: " + packageShortName);
}

return appList;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ public String handleSpecificAppName(List<String> recoginezedTextList) {
Log.d("Sven", "Utilize.handleSpecificAppName.recoginezedTextList: " + text);
if (text.matches("calendar")) return "com.android.calendar";
if (text.matches("calculator")) return "com.android.calculator2";
if (text.matches("contacts")) return "com.android.contacts";
if (text.matches("contact")) return "com.android.contacts";
if (text.matches("message")) return "com.android.messaging";
if (text.matches("Bluetooth")) return "com.android.bluetooth";
if (text.matches("setting")) return "com.android.settings";
}
return "";
}
Expand Down

0 comments on commit 7b50ad0

Please sign in to comment.