blob: f19740649998e9dbefc12a3e6b9b76d65a344aa4 [file] [log] [blame]
Ben Murdoch097c5b22016-05-18 11:27:45 +01001// 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
5package org.chromium.incrementalinstall;
6
7import android.app.Instrumentation;
8import android.os.Bundle;
9
10/**
11 * Notifies BootstrapApplication of the call to Instrumentation.onCreate().
12 */
13public final class BootstrapInstrumentation extends Instrumentation {
14 private final BootstrapApplication mApp;
15
16 BootstrapInstrumentation(BootstrapApplication app) {
17 mApp = app;
18 }
19
20 @Override
21 public void onCreate(Bundle arguments) {
22 super.onCreate(arguments);
23 mApp.onInstrumentationCreate(arguments);
24 }
25}