summaryrefslogtreecommitdiff
path: root/test/MultiDexModifiedSecondary/Main.java
diff options
context:
space:
mode:
authorRichard Uhler <ruhler@google.com>2015-05-14 13:21:13 -0700
committerRichard Uhler <ruhler@google.com>2015-05-18 08:03:15 -0700
commita5a1c13a74225a1db3c54dc108fcd161b867bb00 (patch)
treeb43e46d05a7f2af48e5401eb52a7d80e821826eb /test/MultiDexModifiedSecondary/Main.java
parent3b0ee6f06b6643e2a601283e779ba5d574fe1fda (diff)
Test and fix bug checking status of secondary multidex files.
We were accidentally returning 'false' instead of 'true' to indicate a native multidex file with an up-to-date primary dex file checksum but out-of-date secondary dex file checksum is out of date. Bug: 21022815 Change-Id: I43d360ca9251d0df38ad7f8289f6ef339c0a3280
Diffstat (limited to 'test/MultiDexModifiedSecondary/Main.java')
-rw-r--r--test/MultiDexModifiedSecondary/Main.java22
1 files changed, 22 insertions, 0 deletions
diff --git a/test/MultiDexModifiedSecondary/Main.java b/test/MultiDexModifiedSecondary/Main.java
new file mode 100644
index 0000000000..659dba9af6
--- /dev/null
+++ b/test/MultiDexModifiedSecondary/Main.java
@@ -0,0 +1,22 @@
+/*
+ * Copyright (C) 2014 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+class Main {
+ public static void main(String args[]) {
+ Second second = new Second();
+ System.out.println(second.getSecond());
+ }
+}