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.common; | 5 package org.chromium.webapk.lib.common; |
6 | 6 |
7 import android.content.Context; | 7 import android.content.Context; |
8 import android.content.pm.ApplicationInfo; | 8 import android.content.pm.ApplicationInfo; |
9 import android.content.pm.PackageManager; | 9 import android.content.pm.PackageManager; |
10 import android.content.pm.PackageManager.NameNotFoundException; | 10 import android.content.pm.PackageManager.NameNotFoundException; |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 | 62 |
63 /** | 63 /** |
64 * Returns name of "Runtime Dex" asset in Chrome APK based on version. | 64 * Returns name of "Runtime Dex" asset in Chrome APK based on version. |
65 * @param version | 65 * @param version |
66 * @return Dex asset name. | 66 * @return Dex asset name. |
67 */ | 67 */ |
68 public static String getRuntimeDexName(int version) { | 68 public static String getRuntimeDexName(int version) { |
69 return "web_apk" + version + ".dex"; | 69 return "web_apk" + version + ".dex"; |
70 } | 70 } |
71 } | 71 } |
OLD | NEW |