From 5e47dd08271f99029441502d06c5d674f4546687 Mon Sep 17 00:00:00 2001 From: Steven Schoen Date: Sun, 13 Jul 2014 12:06:18 -0400 Subject: [PATCH] Fixed setting permissions on system font --- Emoji Switcher/build.gradle | 4 ++-- .../com/stevenschoen/emojiswitcher/EmojiSwitcherUtils.java | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Emoji Switcher/build.gradle b/Emoji Switcher/build.gradle index 357ce21..e7e6dc4 100644 --- a/Emoji Switcher/build.gradle +++ b/Emoji Switcher/build.gradle @@ -7,8 +7,8 @@ android { defaultConfig { minSdkVersion 19 targetSdkVersion 19 - versionCode 5 - versionName "1.3" + versionCode 6 + versionName "1.4" } compileOptions { diff --git a/Emoji Switcher/src/main/java/com/stevenschoen/emojiswitcher/EmojiSwitcherUtils.java b/Emoji Switcher/src/main/java/com/stevenschoen/emojiswitcher/EmojiSwitcherUtils.java index 3b4d543..373a1af 100644 --- a/Emoji Switcher/src/main/java/com/stevenschoen/emojiswitcher/EmojiSwitcherUtils.java +++ b/Emoji Switcher/src/main/java/com/stevenschoen/emojiswitcher/EmojiSwitcherUtils.java @@ -69,7 +69,6 @@ protected Void doInBackground(Object... params) { shell = RootTools.getShell(true); CommandCapture commandPermission = new CommandCapture(0, "chmod 644 " + "/system/fonts/" + systemEmojiSetFileName); shell.add(commandPermission); - shell.close(); } catch (TimeoutException e) { activity.runOnUiThread(new Runnable() { @Override