OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 package org.chromium.blimp; |
| 6 |
| 7 import android.app.Application; |
| 8 |
| 9 import org.chromium.base.PathUtils; |
| 10 import org.chromium.base.ResourceExtractor; |
| 11 |
| 12 /** |
| 13 * The {@link Application} for the Blimp client. |
| 14 */ |
| 15 public class BlimpApplication extends Application { |
| 16 private static final String[] MANDATORY_PAK_FILES = new String[] {}; |
| 17 |
| 18 private static final String PRIVATE_DATA_DIRECTORY_SUFFIX = "blimp"; |
| 19 |
| 20 @Override |
| 21 public void onCreate() { |
| 22 super.onCreate(); |
| 23 ResourceExtractor.setMandatoryPaksToExtract(MANDATORY_PAK_FILES); |
| 24 PathUtils.setPrivateDataDirectorySuffix(PRIVATE_DATA_DIRECTORY_SUFFIX, t
his); |
| 25 } |
| 26 } |
OLD | NEW |