1 // Copyright 2012 Google Inc. All Rights Reserved.
2 
3 package com.android.cts.verifier.camera.fov;
4 
5 import com.android.cts.verifier.R;
6 import android.os.Bundle;
7 
8 import androidx.fragment.app.FragmentActivity;
9 
10 /**
11  * Preferences for the LightCycle calibration app.
12  *
13  */
14 public class CalibrationPreferenceActivity extends FragmentActivity {
15   public static final String OPTION_MARKER_DISTANCE = "markerDistance";
16   public static final String OPTION_TARGET_DISTANCE = "targetDistanceCm";
17 
18   @Override
onCreate(Bundle savedInstanceState)19   protected void onCreate(Bundle savedInstanceState) {
20     super.onCreate(savedInstanceState);
21     setTheme(R.style.Theme_AppCompat);
22     getSupportFragmentManager().beginTransaction().add(android.R.id.content,
23             new CalibrationPreferenceFragment()).commit();
24   }
25 }
26