aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAng Li <angli@google.com>2019-01-28 17:41:17 -0800
committerGitHub <noreply@github.com>2019-01-28 17:41:17 -0800
commit62f5ef20b55af02c80b5e71fc884d9244f1a3ff7 (patch)
tree24616891308075672b0771e22331ceae80c74723 /src
parent35e1bfad098f65db344d4d6fd7abb5830d8aa7a2 (diff)
downloadmobly-bundled-snippets-62f5ef20b55af02c80b5e71fc884d9244f1a3ff7.tar.gz
Remove an unused inner class. (#106)
* Remove an unused inner class. * Restore the correct application path.
Diffstat (limited to 'src')
-rw-r--r--src/main/AndroidManifest.xml2
-rw-r--r--src/main/java/com/google/android/mobly/snippet/bundled/FileSnippet.java9
2 files changed, 1 insertions, 10 deletions
diff --git a/src/main/AndroidManifest.xml b/src/main/AndroidManifest.xml
index 3310f4c..3d4537d 100644
--- a/src/main/AndroidManifest.xml
+++ b/src/main/AndroidManifest.xml
@@ -28,7 +28,7 @@
<uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
<uses-permission android:name="android.permission.SEND_SMS" />
<application android:allowBackup="false"
- android:name="androidx.multidex.MultiDexApplication">
+ android:name="android.support.multidex.MultiDexApplication">
<meta-data
android:name="mobly-snippets"
android:value="com.google.android.mobly.snippet.bundled.AccountSnippet,
diff --git a/src/main/java/com/google/android/mobly/snippet/bundled/FileSnippet.java b/src/main/java/com/google/android/mobly/snippet/bundled/FileSnippet.java
index a1e9d83..b6d6ca5 100644
--- a/src/main/java/com/google/android/mobly/snippet/bundled/FileSnippet.java
+++ b/src/main/java/com/google/android/mobly/snippet/bundled/FileSnippet.java
@@ -37,15 +37,6 @@ public class FileSnippet implements Snippet {
mContext = InstrumentationRegistry.getInstrumentation().getContext();
}
- private static class FileSnippetException extends Exception {
-
- private static final long serialVersionUID = 8081L;
-
- public FileSnippetException(String msg) {
- super(msg);
- }
- }
-
@Rpc(description = "Compute MD5 hash on a content URI. Return the MD5 has has a hex string.")
public String fileMd5Hash(String uri) throws IOException, NoSuchAlgorithmException {
Uri uri_ = Uri.parse(uri);