summaryrefslogtreecommitdiffstats
path: root/third_party/libwebrtc/build/android/incremental_install/java/org/chromium/incrementalinstall/BootstrapInstrumentation.java
blob: f19740649998e9dbefc12a3e6b9b76d65a344aa4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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);
    }
}