OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 package org.chromium.webapk.lib.client; | 5 package org.chromium.webapk.lib.client; |
6 | 6 |
7 import android.os.Build; | 7 import android.os.Build; |
8 import android.util.Log; | 8 import android.util.Log; |
9 | 9 |
10 import dalvik.system.DexClassLoader; | 10 import dalvik.system.DexClassLoader; |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 try { | 180 try { |
181 return (String) getCurrentInstructionSetMethod.invoke(null); | 181 return (String) getCurrentInstructionSetMethod.invoke(null); |
182 } catch (IllegalAccessException | InvocationTargetException e) { | 182 } catch (IllegalAccessException | InvocationTargetException e) { |
183 Log.w(TAG, "Failed to call dalvik.system.VMRuntime#getCurrentIns
tructionSet", e); | 183 Log.w(TAG, "Failed to call dalvik.system.VMRuntime#getCurrentIns
tructionSet", e); |
184 throw new NoSuchMethodException( | 184 throw new NoSuchMethodException( |
185 "dalvik.system.VMRuntime#getCurrentInstructionSet could
not be found."); | 185 "dalvik.system.VMRuntime#getCurrentInstructionSet could
not be found."); |
186 } | 186 } |
187 } | 187 } |
188 } | 188 } |
189 } | 189 } |
OLD | NEW |