Skip to content

Commit

Permalink
Removed some code that caused a disappearing microphone button for a …
Browse files Browse the repository at this point in the history
…user
  • Loading branch information
Danation committed Sep 10, 2015
1 parent b2bf2bc commit abaee60
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 16 deletions.
Binary file added ReleaseAPK/SwypeTweaks_1_5_1.apk
Binary file not shown.
4 changes: 2 additions & 2 deletions Source/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.danation.xposed.swypetweaks"
android:versionCode="11"
android:versionName="1.5" >
android:versionCode="12"
android:versionName="1.5.1" >

<uses-sdk
android:minSdkVersion="15"
Expand Down
14 changes: 0 additions & 14 deletions Source/src/com/danation/xposed/swypetweaks/SwypeTweaks.java
Original file line number Diff line number Diff line change
Expand Up @@ -87,20 +87,6 @@ private void replaceDragon(LoadPackageParam lpparam)
{
final ClassLoader loader = lpparam.classLoader;

try { //this method might not be in all versions of Swype
XposedHelpers.findAndHookMethod("com.nuance.swype.input.IMEApplication", loader, "getSpeechProvider", new XC_MethodReplacement()
{
@Override
protected Object replaceHookedMethod(MethodHookParam param) throws Throwable
{
return 1;
}
});
}
catch (Exception ex) {
log(ex);
}

XposedHelpers.findAndHookMethod("com.nuance.swype.input.InputView", loader, "startSpeech", new XC_MethodReplacement()
{

Expand Down

0 comments on commit abaee60

Please sign in to comment.