1caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabot/* 2caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabot * Copyright (C) 2011 The Android Open Source Project 3caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabot * 4caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabot * Licensed under the Apache License, Version 2.0 (the "License"); 5caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabot * you may not use this file except in compliance with the License. 6caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabot * You may obtain a copy of the License at 7caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabot * 8caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabot * http://www.apache.org/licenses/LICENSE-2.0 9caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabot * 10caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabot * Unless required by applicable law or agreed to in writing, software 11caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabot * distributed under the License is distributed on an "AS IS" BASIS, 12caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabot * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabot * See the License for the specific language governing permissions and 14caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabot * limitations under the License. 15caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabot */ 16caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabotpackage com.android.systemui.screenshot; 17caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabot 18caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabotimport com.android.systemui.tests.R; 19caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabot 20caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabotimport android.app.Activity; 21caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabotimport android.os.Bundle; 22caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabot 23caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabot/** 24caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabot * A stub activity used in {@link ScreenshotTest}. 25caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabot */ 26caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabotpublic class ScreenshotStubActivity extends Activity { 27caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabot 28caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabot @Override 29caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabot public void onCreate(Bundle savedInstanceState) { 30caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabot super.onCreate(savedInstanceState); 31caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabot setContentView(R.layout.main); 32caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabot } 33caf30a18b52471ebfbc6ae5e853c9a0b9d44905bBrett Chabot} 34