165a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane/* 265a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane * Copyright (C) 2014 The Android Open Source Project 365a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane * 465a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane * Licensed under the Apache License, Version 2.0 (the "License"); 565a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane * you may not use this file except in compliance with the License. 665a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane * You may obtain a copy of the License at 765a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane * 865a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane * http://www.apache.org/licenses/LICENSE-2.0 965a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane * 1065a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane * Unless required by applicable law or agreed to in writing, software 1165a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane * distributed under the License is distributed on an "AS IS" BASIS, 1265a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1365a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane * See the License for the specific language governing permissions and 1465a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane * limitations under the License. 1565a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane */ 1665a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane 1765a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lanepackage com.android.tv.settings.device.privacy; 1865a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane 195ac6e20f50931d389bbbf9f7313c0deb7d95097bTony Mantlerimport android.annotation.Nullable; 205ac6e20f50931d389bbbf9f7313c0deb7d95097bTony Mantlerimport android.app.Activity; 2165a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Laneimport android.content.Intent; 2265a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Laneimport android.os.Bundle; 2365a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane 242a55a49f5a2d3f102c11f822c76f190a00249d50Tony Mantlerimport com.android.tv.settings.device.storage.ResetActivity; 2565a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane 2665a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane/** 2765a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane * Activity that allows enabling and disabling of backup and restore functions. 285ac6e20f50931d389bbbf9f7313c0deb7d95097bTony Mantler * TODO: actually implement backup and restore 2965a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane */ 305ac6e20f50931d389bbbf9f7313c0deb7d95097bTony Mantlerpublic class PrivacyActivity extends Activity { 3165a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane 3265a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane @Override 335ac6e20f50931d389bbbf9f7313c0deb7d95097bTony Mantler protected void onCreate(@Nullable Bundle savedInstanceState) { 3465a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane super.onCreate(savedInstanceState); 352a55a49f5a2d3f102c11f822c76f190a00249d50Tony Mantler final Intent intent = new Intent(this, ResetActivity.class); 365ac6e20f50931d389bbbf9f7313c0deb7d95097bTony Mantler startActivity(intent); 375ac6e20f50931d389bbbf9f7313c0deb7d95097bTony Mantler finish(); 3865a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane } 3965a5a7d84ad9b5324ae53eda526e39e513473af7Christopher Lane} 40