diff options
author | Xavier Ducrohet <xav@android.com> | 2012-03-07 17:05:58 -0800 |
---|---|---|
committer | Xavier Ducrohet <xav@android.com> | 2012-03-07 17:06:54 -0800 |
commit | 7d2737e54866f33553ee85c546dcea197bffd130 (patch) | |
tree | 839079ba53a0cf58e21b41d4783ce99ac6ad5474 /testapps/basicJar3 | |
parent | cc62a7f883c51fb8908bf936e894170d775385bc (diff) | |
download | sdk-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/basicJar3')
-rw-r--r-- | testapps/basicJar3/src/com/android/tests/basicjar3/BasicJar3.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testapps/basicJar3/src/com/android/tests/basicjar3/BasicJar3.java b/testapps/basicJar3/src/com/android/tests/basicjar3/BasicJar3.java index 60d021d..684b584 100644 --- a/testapps/basicJar3/src/com/android/tests/basicjar3/BasicJar3.java +++ b/testapps/basicJar3/src/com/android/tests/basicjar3/BasicJar3.java @@ -8,7 +8,7 @@ import java.io.InputStreamReader; public class BasicJar3 { public static String getContent() { - InputStream input = BasicJar3.class.getResourceAsStream("basicJar3.txt"); + InputStream input = BasicJar3.class.getResourceAsStream("/com/android/tests/basicjar3/basicJar3.txt"); if (input == null) { return "FAILED TO FIND basicJar3.txt"; } |