diff options
| author | Richard Uhler <ruhler@google.com> | 2015-05-14 13:21:13 -0700 |
|---|---|---|
| committer | Richard Uhler <ruhler@google.com> | 2015-05-18 08:30:33 -0700 |
| commit | 67ff7d1fd7bcaf4b6b73ecdab6011c8636562b58 (patch) | |
| tree | e94fdefc21f1b6673fcdee95e9f3f61b680df8cf /test/MultiDexModifiedSecondary/Second.java | |
| parent | 2f9d1379fdebcdeeac52eaeff25ad5697c6b6ffb (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
(cherry picked from commit a5a1c13a74225a1db3c54dc108fcd161b867bb00)
Change-Id: I0cc56d2d49858a4af91ca8b05aa8bd3c17bb44be
Diffstat (limited to 'test/MultiDexModifiedSecondary/Second.java')
| -rw-r--r-- | test/MultiDexModifiedSecondary/Second.java | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/test/MultiDexModifiedSecondary/Second.java b/test/MultiDexModifiedSecondary/Second.java new file mode 100644 index 00000000000..3555a7ff368 --- /dev/null +++ b/test/MultiDexModifiedSecondary/Second.java @@ -0,0 +1,25 @@ +/* + * 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 Second { + public String getThird() { + return "I Third That."; + } + + public String getSecond() { + return "I Second That."; + } +} |
