1 /*
2  * Copyright (C) 2013 The Android Open Source Project
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 package com.android.cts.verifier.widget;
18 
19 import com.android.cts.verifier.PassFailButtons;
20 import com.android.cts.verifier.R;
21 
22 import com.android.compatibility.common.util.CddTest;
23 
24 import android.content.Context;
25 import android.hardware.Sensor;
26 import android.hardware.SensorEventListener;
27 import android.hardware.SensorManager;
28 import android.opengl.GLSurfaceView;
29 import android.os.Bundle;
30 
31 /**
32  * CTS Verifier case for verifying basic widget framework functionality.
33  */
34 @CddTest(requirement="3.8.2/C-1-2,C-1-3")
35 public class WidgetTestActivity extends PassFailButtons.Activity {
36 
37     @Override
onCreate(Bundle savedInstanceState)38     protected void onCreate(Bundle savedInstanceState) {
39         super.onCreate(savedInstanceState);
40 
41         setContentView(R.layout.pass_fail_widget);
42         setPassFailButtonClickListeners();
43         setInfoResources(R.string.widget_framework_test, R.string.widget_framework_test_info, -1);
44     }
45 
46     @Override
onPause()47     protected void onPause() {
48         super.onPause();
49     }
50 
51     @Override
onResume()52     protected void onResume() {
53         super.onResume();
54     }
55 }
56