aboutsummaryrefslogtreecommitdiffstats
path: root/testapps/basicJar
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2012-03-07 17:05:58 -0800
committerXavier Ducrohet <xav@android.com>2012-03-07 17:06:54 -0800
commit7d2737e54866f33553ee85c546dcea197bffd130 (patch)
tree839079ba53a0cf58e21b41d4783ce99ac6ad5474 /testapps/basicJar
parentcc62a7f883c51fb8908bf936e894170d775385bc (diff)
downloadsdk-7d2737e54866f33553ee85c546dcea197bffd130.zip
sdk-7d2737e54866f33553ee85c546dcea197bffd130.tar.gz
sdk-7d2737e54866f33553ee85c546dcea197bffd130.tar.bz2
Update test project to support proguard.
The code read java resources using relative path which breaks when the classes and their packages are renamed (the java resource isn't moved to the new package name.) Change-Id: I9b9d14288d8c16fd7342cd743251e5681bb0f1ef
Diffstat (limited to 'testapps/basicJar')
-rw-r--r--testapps/basicJar/src/com/android/tests/basicjar/BasicJar.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/testapps/basicJar/src/com/android/tests/basicjar/BasicJar.java b/testapps/basicJar/src/com/android/tests/basicjar/BasicJar.java
index fa8efa3..1046ce7 100644
--- a/testapps/basicJar/src/com/android/tests/basicjar/BasicJar.java
+++ b/testapps/basicJar/src/com/android/tests/basicjar/BasicJar.java
@@ -8,7 +8,7 @@ import java.io.InputStreamReader;
public class BasicJar {
public static String getContent() {
- InputStream input = BasicJar.class.getResourceAsStream("basicJar.txt");
+ InputStream input = BasicJar.class.getResourceAsStream("/com/android/tests/basicjar/basicJar.txt");
if (input == null) {
return "FAILED TO FIND basicJar.txt";
}