Chromium Code Reviews| Index: sky/shell/apk/src/org/domokit/sky/shell/SkyShellApplication.java |
| diff --git a/shell/android/apk/src/org/chromium/mojo/shell/MojoShellApplication.java b/sky/shell/apk/src/org/domokit/sky/shell/SkyShellApplication.java |
| similarity index 63% |
| copy from shell/android/apk/src/org/chromium/mojo/shell/MojoShellApplication.java |
| copy to sky/shell/apk/src/org/domokit/sky/shell/SkyShellApplication.java |
| index 1beac9ce8270e0fd53f0855d1dfd00d6a82f8a32..e0e4c25b3d645e6485feaaf2a1923cd73d684036 100644 |
| --- a/shell/android/apk/src/org/chromium/mojo/shell/MojoShellApplication.java |
| +++ b/sky/shell/apk/src/org/domokit/sky/shell/SkyShellApplication.java |
| @@ -1,8 +1,8 @@ |
| -// Copyright 2013 The Chromium Authors. All rights reserved. |
| +// Copyright 2015 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -package org.chromium.mojo.shell; |
| +package org.domokit.sky.shell; |
| import android.util.Log; |
| @@ -15,27 +15,18 @@ import org.chromium.base.library_loader.ProcessInitException; |
| * MojoShell implementation of {@link android.app.Application}, managing application-level global |
| * state and initializations. |
| */ |
| -public class MojoShellApplication extends BaseChromiumApplication { |
| - private static final String TAG = "MojoShellApplication"; |
| - private static final String PRIVATE_DATA_DIRECTORY_SUFFIX = "mojo_shell"; |
| +public class SkyShellApplication extends BaseChromiumApplication { |
| + private static final String TAG = "SkyShellApplication"; |
| + private static final String PRIVATE_DATA_DIRECTORY_SUFFIX = "sky_shell"; |
| @Override |
| public void onCreate() { |
| super.onCreate(); |
| - clearTemporaryFiles(); |
| initializeJavaUtils(); |
| initializeNative(); |
| } |
| /** |
| - * Deletes the temporary files and directories created in the previous run of the application. |
| - * This is important regardless of cleanups on exit, as the previous run could have crashed. |
| - */ |
| - private void clearTemporaryFiles() { |
| - AndroidHandler.clearTemporaryFiles(this); |
| - } |
| - |
| - /** |
| * Initializes Java-side utils. |
| */ |
| private void initializeJavaUtils() { |
| @@ -49,7 +40,7 @@ public class MojoShellApplication extends BaseChromiumApplication { |
| try { |
| LibraryLoader.ensureInitialized(); |
| } catch (ProcessInitException e) { |
| - Log.e(TAG, "libmojo_shell initialization failed.", e); |
| + Log.e(TAG, "libsky_shell initialization failed.", e); |
|
eseidel
2015/01/30 21:57:56
Is it lib?
abarth-chromium
2015/01/30 22:02:28
Yes! It actually is.
|
| throw new RuntimeException(e); |
| } |
| } |