Index: build/android/incremental_install/java/org/chromium/incrementalinstall/BootstrapInstrumentation.java |
diff --git a/build/android/incremental_install/java/org/chromium/incrementalinstall/BootstrapInstrumentation.java b/build/android/incremental_install/java/org/chromium/incrementalinstall/BootstrapInstrumentation.java |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f19740649998e9dbefc12a3e6b9b76d65a344aa4 |
--- /dev/null |
+++ b/build/android/incremental_install/java/org/chromium/incrementalinstall/BootstrapInstrumentation.java |
@@ -0,0 +1,25 @@ |
+// 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.incrementalinstall; |
+ |
+import android.app.Instrumentation; |
+import android.os.Bundle; |
+ |
+/** |
+ * Notifies BootstrapApplication of the call to Instrumentation.onCreate(). |
+ */ |
+public final class BootstrapInstrumentation extends Instrumentation { |
+ private final BootstrapApplication mApp; |
+ |
+ BootstrapInstrumentation(BootstrapApplication app) { |
+ mApp = app; |
+ } |
+ |
+ @Override |
+ public void onCreate(Bundle arguments) { |
+ super.onCreate(arguments); |
+ mApp.onInstrumentationCreate(arguments); |
+ } |
+} |