1 /* 2 * Copyright (C) 2019 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.car.developeroptions; 18 19 import android.os.Bundle; 20 21 import com.android.car.developeroptions.enterprise.EnterprisePrivacySettings; 22 23 /** 24 * Top-level Settings activity 25 */ 26 public class Settings extends SettingsActivity { 27 28 /* 29 * Settings subclasses for launching independently. 30 */ 31 public static class AssistGestureSettingsActivity extends SettingsActivity { /* empty */} 32 public static class BluetoothSettingsActivity extends SettingsActivity { /* empty */ } 33 public static class CreateShortcutActivity extends SettingsActivity { /* empty */ } 34 public static class FaceSettingsActivity extends SettingsActivity { /* empty */ } 35 public static class SimSettingsActivity extends SettingsActivity { /* empty */ } 36 public static class TetherSettingsActivity extends SettingsActivity { /* empty */ } 37 public static class WifiTetherSettingsActivity extends SettingsActivity { /* empty */ } 38 public static class VpnSettingsActivity extends SettingsActivity { /* empty */ } 39 public static class DateTimeSettingsActivity extends SettingsActivity { /* empty */ } 40 public static class PrivateVolumeForgetActivity extends SettingsActivity { /* empty */ } 41 public static class PrivateVolumeSettingsActivity extends SettingsActivity { /* empty */ } 42 public static class PublicVolumeSettingsActivity extends SettingsActivity { /* empty */ } 43 public static class WifiSettingsActivity extends SettingsActivity { /* empty */ } 44 public static class WifiP2pSettingsActivity extends SettingsActivity { /* empty */ } 45 public static class AvailableVirtualKeyboardActivity extends SettingsActivity { /* empty */ } 46 public static class KeyboardLayoutPickerActivity extends SettingsActivity { /* empty */ } 47 public static class PhysicalKeyboardActivity extends SettingsActivity { /* empty */ } 48 public static class InputMethodAndSubtypeEnablerActivity extends SettingsActivity { /* empty */ } 49 public static class SpellCheckersSettingsActivity extends SettingsActivity { /* empty */ } 50 public static class LocalePickerActivity extends SettingsActivity { /* empty */ } 51 public static class LanguageAndInputSettingsActivity extends SettingsActivity { /* empty */ } 52 public static class UserDictionarySettingsActivity extends SettingsActivity { /* empty */ } 53 public static class DisplaySettingsActivity extends SettingsActivity { /* empty */ } 54 public static class NightDisplaySettingsActivity extends SettingsActivity { /* empty */ } 55 public static class NightDisplaySuggestionActivity extends NightDisplaySettingsActivity { /* empty */ } 56 public static class MyDeviceInfoActivity extends SettingsActivity { /* empty */ } 57 public static class ApplicationSettingsActivity extends SettingsActivity { /* empty */ } 58 public static class ManageApplicationsActivity extends SettingsActivity { /* empty */ } 59 public static class ManageAssistActivity extends SettingsActivity { /* empty */ } 60 public static class HighPowerApplicationsActivity extends SettingsActivity { /* empty */ } 61 public static class BackgroundCheckSummaryActivity extends SettingsActivity { /* empty */ } 62 public static class StorageUseActivity extends SettingsActivity { /* empty */ } 63 public static class DevelopmentSettingsDashboardActivity extends SettingsActivity { /* empty */ } 64 public static class AccessibilitySettingsActivity extends SettingsActivity { /* empty */ } 65 public static class AccessibilityDetailsSettingsActivity extends SettingsActivity { /* empty */ } 66 public static class CaptioningSettingsActivity extends SettingsActivity { /* empty */ } 67 public static class AccessibilityInversionSettingsActivity extends SettingsActivity { /* empty */ } 68 public static class AccessibilityContrastSettingsActivity extends SettingsActivity { /* empty */ } 69 public static class AccessibilityDaltonizerSettingsActivity extends SettingsActivity { /* empty */ } 70 public static class SecurityDashboardActivity extends SettingsActivity { /* empty */ } 71 public static class UsageAccessSettingsActivity extends SettingsActivity { /* empty */ } 72 public static class AppUsageAccessSettingsActivity extends SettingsActivity { /* empty */ } 73 public static class LocationSettingsActivity extends SettingsActivity { /* empty */ } 74 public static class ScanningSettingsActivity extends SettingsActivity { /* empty */ } 75 public static class PrivacyDashboardActivity extends SettingsActivity { /* empty */ } 76 public static class PrivacySettingsActivity extends SettingsActivity { /* empty */ } 77 public static class FactoryResetActivity extends SettingsActivity { /* empty */ } 78 public static class RunningServicesActivity extends SettingsActivity { /* empty */ } 79 public static class BatterySaverSettingsActivity extends SettingsActivity { /* empty */ } 80 public static class BatterySaverScheduleSettingsActivity extends SettingsActivity { /* empty */ } 81 public static class AccountSyncSettingsActivity extends SettingsActivity { /* empty */ } 82 public static class AccountSyncSettingsInAddAccountActivity extends SettingsActivity { /* empty */ } 83 public static class CryptKeeperSettingsActivity extends SettingsActivity { /* empty */ } 84 public static class DeviceAdminSettingsActivity extends SettingsActivity { /* empty */ } 85 public static class DataUsageSummaryActivity extends SettingsActivity { /* empty */ } 86 public static class MobileDataUsageListActivity extends SettingsActivity { /* empty */ } 87 public static class ConfigureWifiSettingsActivity extends SettingsActivity { /* empty */ } 88 public static class SavedAccessPointsSettingsActivity extends SettingsActivity { /* empty */ } 89 public static class TextToSpeechSettingsActivity extends SettingsActivity { /* empty */ } 90 public static class AndroidBeamSettingsActivity extends SettingsActivity { /* empty */ } 91 public static class WifiDisplaySettingsActivity extends SettingsActivity { /* empty */ } 92 public static class DreamSettingsActivity extends SettingsActivity { /* empty */ } 93 public static class NotificationStationActivity extends SettingsActivity { /* empty */ } 94 public static class UserSettingsActivity extends SettingsActivity { /* empty */ } 95 public static class NotificationAccessSettingsActivity extends SettingsActivity { /* empty */ } 96 public static class VrListenersSettingsActivity extends SettingsActivity { /* empty */ } 97 public static class PictureInPictureSettingsActivity extends SettingsActivity { /* empty */ } 98 public static class AppPictureInPictureSettingsActivity extends SettingsActivity { /* empty */ } 99 public static class ZenAccessSettingsActivity extends SettingsActivity { /* empty */ } 100 public static class ZenAccessDetailSettingsActivity extends SettingsActivity {} 101 public static class ConditionProviderSettingsActivity extends SettingsActivity { /* empty */ } 102 public static class UsbSettingsActivity extends SettingsActivity { /* empty */ } 103 public static class UsbDetailsActivity extends SettingsActivity { /* empty */ } 104 public static class TrustedCredentialsSettingsActivity extends SettingsActivity { /* empty */ } 105 public static class PaymentSettingsActivity extends SettingsActivity { /* empty */ } 106 public static class PrintSettingsActivity extends SettingsActivity { /* empty */ } 107 public static class PrintJobSettingsActivity extends SettingsActivity { /* empty */ } 108 public static class ZenModeSettingsActivity extends SettingsActivity { /* empty */ } 109 public static class ZenModeBehaviorSettingsActivity extends SettingsActivity { /* empty */ } 110 public static class ZenModeBlockedEffectsSettingsActivity extends SettingsActivity { /* empty */ } 111 public static class ZenModeAutomationSettingsActivity extends SettingsActivity { /* empty */ } 112 public static class ZenModeScheduleRuleSettingsActivity extends SettingsActivity { /* empty */ } 113 public static class ZenModeEventRuleSettingsActivity extends SettingsActivity { /* empty */ } 114 public static class SoundSettingsActivity extends SettingsActivity { /* empty */ } 115 public static class ConfigureNotificationSettingsActivity extends SettingsActivity { /* empty */ } 116 public static class AppBubbleNotificationSettingsActivity extends SettingsActivity { /* empty */ } 117 public static class NotificationAssistantSettingsActivity extends SettingsActivity{ /* empty */ } 118 public static class NotificationAppListActivity extends SettingsActivity { /* empty */ } 119 public static class AppNotificationSettingsActivity extends SettingsActivity { /* empty */ } 120 public static class ChannelNotificationSettingsActivity extends SettingsActivity { /* empty */ } 121 public static class ChannelGroupNotificationSettingsActivity extends SettingsActivity { /* empty */ } 122 public static class ManageDomainUrlsActivity extends SettingsActivity { /* empty */ } 123 public static class AutomaticStorageManagerSettingsActivity extends SettingsActivity { /* empty */ } 124 public static class GamesStorageActivity extends SettingsActivity { /* empty */ } 125 public static class MoviesStorageActivity extends SettingsActivity { /* empty */ } 126 public static class PhotosStorageActivity extends SettingsActivity { 127 /* empty */ 128 } 129 130 public static class ApnSettingsActivity extends SettingsActivity { /* empty */ } 131 public static class WifiCallingSettingsActivity extends SettingsActivity { /* empty */ } 132 public static class MemorySettingsActivity extends SettingsActivity { /* empty */ } 133 public static class AppMemoryUsageActivity extends SettingsActivity { /* empty */ } 134 public static class OverlaySettingsActivity extends SettingsActivity { /* empty */ } 135 public static class WriteSettingsActivity extends SettingsActivity { /* empty */ } 136 public static class ChangeWifiStateActivity extends SettingsActivity { /* empty */ } 137 public static class AppDrawOverlaySettingsActivity extends SettingsActivity { /* empty */ } 138 public static class AppWriteSettingsActivity extends SettingsActivity { /* empty */ } 139 140 public static class ManageExternalSourcesActivity extends SettingsActivity {/* empty */ } 141 public static class ManageAppExternalSourcesActivity extends SettingsActivity { /* empty */ } 142 public static class WallpaperSettingsActivity extends SettingsActivity { /* empty */ } 143 public static class ManagedProfileSettingsActivity extends SettingsActivity { /* empty */ } 144 public static class DeletionHelperActivity extends SettingsActivity { /* empty */ } 145 146 public static class ApnEditorActivity extends SettingsActivity { /* empty */ } 147 public static class ChooseAccountActivity extends SettingsActivity { /* empty */ } 148 public static class IccLockSettingsActivity extends SettingsActivity { /* empty */ } 149 public static class TestingSettingsActivity extends SettingsActivity { /* empty */ } 150 public static class WifiAPITestActivity extends SettingsActivity { /* empty */ } 151 public static class WifiInfoActivity extends SettingsActivity { /* empty */ } 152 public static class EnterprisePrivacySettingsActivity extends SettingsActivity { 153 @Override onCreate(Bundle savedInstanceState)154 public void onCreate(Bundle savedInstanceState) { 155 super.onCreate(savedInstanceState); 156 if (!EnterprisePrivacySettings.isPageEnabled(this)) { 157 finish(); 158 } 159 } 160 } 161 public static class WebViewAppPickerActivity extends SettingsActivity { /* empty */ } 162 public static class AdvancedConnectedDeviceActivity extends SettingsActivity { /* empty */ } 163 public static class BluetoothDeviceDetailActivity extends SettingsActivity { /* empty */ } 164 public static class WifiCallingDisclaimerActivity extends SettingsActivity { /* empty */ } 165 public static class MobileNetworkListActivity extends SettingsActivity {} 166 167 // Top level categories for new IA 168 public static class NetworkDashboardActivity extends SettingsActivity {} 169 public static class ConnectedDeviceDashboardActivity extends SettingsActivity {} 170 public static class PowerUsageSummaryActivity extends SettingsActivity { /* empty */ } 171 public static class AppAndNotificationDashboardActivity extends SettingsActivity {} 172 public static class StorageDashboardActivity extends SettingsActivity {} 173 public static class AccountDashboardActivity extends SettingsActivity {} 174 public static class SystemDashboardActivity extends SettingsActivity {} 175 176 } 177