Home | History | Annotate | Download | only in settings
      1 /*
      2  * Copyright (C) 2008 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.settings;
     18 
     19 import android.os.Bundle;
     20 
     21 import com.android.settings.applications.AppOpsSummary;
     22 import com.android.settings.enterprise.EnterprisePrivacySettings;
     23 import com.android.settings.fingerprint.FingerprintEnrollIntroduction;
     24 import com.android.settings.fingerprint.FingerprintSettings;
     25 
     26 /**
     27  * Top-level Settings activity
     28  */
     29 public class Settings extends SettingsActivity {
     30 
     31     /*
     32     * Settings subclasses for launching independently.
     33     */
     34     public static class BluetoothSettingsActivity extends SettingsActivity { /* empty */ }
     35     public static class SimSettingsActivity extends SettingsActivity { /* empty */ }
     36     public static class TetherSettingsActivity extends SettingsActivity { /* empty */ }
     37     public static class VpnSettingsActivity extends SettingsActivity { /* empty */ }
     38     public static class DateTimeSettingsActivity extends SettingsActivity { /* empty */ }
     39     public static class PrivateVolumeForgetActivity extends SettingsActivity { /* empty */ }
     40     public static class PrivateVolumeSettingsActivity extends SettingsActivity { /* empty */ }
     41     public static class PublicVolumeSettingsActivity extends SettingsActivity { /* empty */ }
     42     public static class WifiSettingsActivity extends SettingsActivity { /* empty */ }
     43     public static class WifiP2pSettingsActivity extends SettingsActivity { /* empty */ }
     44     public static class AvailableVirtualKeyboardActivity extends SettingsActivity { /* empty */ }
     45     public static class KeyboardLayoutPickerActivity extends SettingsActivity { /* empty */ }
     46     public static class PhysicalKeyboardActivity extends SettingsActivity { /* empty */ }
     47     public static class InputMethodAndSubtypeEnablerActivity extends SettingsActivity { /* empty */ }
     48     public static class SpellCheckersSettingsActivity extends SettingsActivity { /* empty */ }
     49     public static class LocalePickerActivity extends SettingsActivity { /* empty */ }
     50     public static class LanguageAndInputSettingsActivity extends SettingsActivity { /* empty */ }
     51     public static class UserDictionarySettingsActivity extends SettingsActivity { /* empty */ }
     52     public static class DisplaySettingsActivity extends SettingsActivity { /* empty */ }
     53     public static class NightDisplaySettingsActivity extends SettingsActivity { /* empty */ }
     54     public static class DeviceInfoSettingsActivity extends SettingsActivity { /* empty */ }
     55     public static class ApplicationSettingsActivity extends SettingsActivity { /* empty */ }
     56     public static class ManageApplicationsActivity extends SettingsActivity { /* empty */ }
     57     public static class ManageAssistActivity extends SettingsActivity { /* empty */ }
     58     public static class AllApplicationsActivity extends SettingsActivity { /* empty */ }
     59     public static class HighPowerApplicationsActivity extends SettingsActivity { /* empty */ }
     60     public static class AppOpsSummaryActivity extends SettingsActivity {
     61         @Override
     62         public boolean isValidFragment(String className) {
     63             if (AppOpsSummary.class.getName().equals(className)) {
     64                 return true;
     65             }
     66             return super.isValidFragment(className);
     67             }
     68     }
     69     public static class BackgroundCheckSummaryActivity extends SettingsActivity { /* empty */ }
     70     public static class StorageUseActivity extends SettingsActivity { /* empty */ }
     71     public static class DevelopmentSettingsActivity extends SettingsActivity { /* empty */ }
     72     public static class AccessibilitySettingsActivity extends SettingsActivity { /* empty */ }
     73     public static class CaptioningSettingsActivity extends SettingsActivity { /* empty */ }
     74     public static class AccessibilityInversionSettingsActivity extends SettingsActivity { /* empty */ }
     75     public static class AccessibilityContrastSettingsActivity extends SettingsActivity { /* empty */ }
     76     public static class AccessibilityDaltonizerSettingsActivity extends SettingsActivity { /* empty */ }
     77     public static class SecuritySettingsActivity extends SettingsActivity { /* empty */ }
     78     public static class UsageAccessSettingsActivity extends SettingsActivity { /* empty */ }
     79     public static class LocationSettingsActivity extends SettingsActivity { /* empty */ }
     80     public static class PrivacySettingsActivity extends SettingsActivity { /* empty */ }
     81     public static class FactoryResetActivity extends SettingsActivity { /* empty */ }
     82     public static class RunningServicesActivity extends SettingsActivity { /* empty */ }
     83     public static class PowerUsageSummaryActivity extends SettingsActivity { /* empty */ }
     84     public static class BatterySaverSettingsActivity extends SettingsActivity { /* empty */ }
     85     public static class AccountSyncSettingsActivity extends SettingsActivity { /* empty */ }
     86     public static class AccountSyncSettingsInAddAccountActivity extends SettingsActivity { /* empty */ }
     87     public static class CryptKeeperSettingsActivity extends SettingsActivity { /* empty */ }
     88     public static class DeviceAdminSettingsActivity extends SettingsActivity { /* empty */ }
     89     public static class DataUsageSummaryActivity extends SettingsActivity { /* empty */ }
     90     public static class ConfigureWifiSettingsActivity extends SettingsActivity { /* empty */ }
     91     public static class SavedAccessPointsSettingsActivity extends SettingsActivity { /* empty */ }
     92     public static class TextToSpeechSettingsActivity extends SettingsActivity { /* empty */ }
     93     public static class AndroidBeamSettingsActivity extends SettingsActivity { /* empty */ }
     94     public static class WifiDisplaySettingsActivity extends SettingsActivity { /* empty */ }
     95     public static class DreamSettingsActivity extends SettingsActivity { /* empty */ }
     96     public static class NotificationStationActivity extends SettingsActivity { /* empty */ }
     97     public static class UserSettingsActivity extends SettingsActivity { /* empty */ }
     98     public static class NotificationAccessSettingsActivity extends SettingsActivity { /* empty */ }
     99     public static class VrListenersSettingsActivity extends SettingsActivity { /* empty */ }
    100     public static class PictureInPictureSettingsActivity extends SettingsActivity { /* empty */ }
    101     public static class AppPictureInPictureSettingsActivity extends SettingsActivity { /* empty */ }
    102     public static class ZenAccessSettingsActivity extends SettingsActivity { /* empty */ }
    103     public static class ConditionProviderSettingsActivity extends SettingsActivity { /* empty */ }
    104     public static class UsbSettingsActivity extends SettingsActivity { /* empty */ }
    105     public static class TrustedCredentialsSettingsActivity extends SettingsActivity { /* empty */ }
    106     public static class PaymentSettingsActivity extends SettingsActivity { /* empty */ }
    107     public static class PrintSettingsActivity extends SettingsActivity { /* empty */ }
    108     public static class PrintJobSettingsActivity extends SettingsActivity { /* empty */ }
    109     public static class ZenModeSettingsActivity extends SettingsActivity { /* empty */ }
    110     public static class ZenModePrioritySettingsActivity 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 ZenModeExternalRuleSettingsActivity extends SettingsActivity { /* empty */ }
    115     public static class ZenModeVisualInterruptionSettingsActivity extends SettingsActivity { /* empty */}
    116     public static class SoundSettingsActivity extends SettingsActivity { /* empty */ }
    117     public static class ConfigureNotificationSettingsActivity 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 ManageDomainUrlsActivity extends SettingsActivity { /* empty */ }
    122     public static class AutomaticStorageManagerSettingsActivity extends SettingsActivity { /* empty */ }
    123     public static class GamesStorageActivity extends SettingsActivity { /* empty */ }
    124     public static class MoviesStorageActivity extends SettingsActivity { /* empty */ }
    125 
    126     public static class TopLevelSettings extends SettingsActivity { /* empty */ }
    127     public static class ApnSettingsActivity extends SettingsActivity { /* empty */ }
    128     public static class WifiCallingSettingsActivity extends SettingsActivity { /* empty */ }
    129     public static class MemorySettingsActivity extends SettingsActivity { /* empty */ }
    130     public static class AppMemoryUsageActivity extends SettingsActivity { /* empty */ }
    131     public static class OverlaySettingsActivity extends SettingsActivity { /* empty */ }
    132     public static class WriteSettingsActivity extends SettingsActivity { /* empty */ }
    133     public static class AppDrawOverlaySettingsActivity extends SettingsActivity { /* empty */ }
    134     public static class AppWriteSettingsActivity extends SettingsActivity { /* empty */ }
    135     public static class AdvancedAppsActivity extends SettingsActivity { /* empty */ }
    136 
    137     public static class ManageExternalSourcesActivity extends SettingsActivity {
    138         /* empty */ }
    139     public static class ManageAppExternalSourcesActivity extends SettingsActivity { /* empty */ }
    140 
    141     public static class WifiCallingSuggestionActivity extends SettingsActivity { /* empty */ }
    142     public static class ZenModeAutomationSuggestionActivity extends SettingsActivity { /* empty */ }
    143     public static class FingerprintSuggestionActivity extends FingerprintSettings { /* empty */ }
    144     public static class FingerprintEnrollSuggestionActivity extends FingerprintEnrollIntroduction {
    145         /* empty */
    146     }
    147     public static class ScreenLockSuggestionActivity extends ChooseLockGeneric { /* empty */ }
    148     public static class WallpaperSettingsActivity extends SettingsActivity { /* empty */ }
    149     public static class ManagedProfileSettingsActivity extends SettingsActivity { /* empty */ }
    150     public static class DeletionHelperActivity extends SettingsActivity { /* empty */ }
    151 
    152     public static class ApnEditorActivity extends SettingsActivity { /* empty */ }
    153     public static class ChooseAccountActivity extends SettingsActivity { /* empty */ }
    154     public static class IccLockSettingsActivity extends SettingsActivity { /* empty */ }
    155     public static class ImeiInformationActivity extends SettingsActivity { /* empty */ }
    156     public static class SimStatusActivity extends SettingsActivity { /* empty */ }
    157     public static class StatusActivity extends SettingsActivity { /* empty */ }
    158     public static class TestingSettingsActivity extends SettingsActivity { /* empty */ }
    159     public static class WifiAPITestActivity extends SettingsActivity { /* empty */ }
    160     public static class WifiInfoActivity extends SettingsActivity { /* empty */ }
    161     public static class EnterprisePrivacySettingsActivity extends SettingsActivity {
    162         @Override
    163         public void onCreate(Bundle savedInstanceState) {
    164             super.onCreate(savedInstanceState);
    165             if (!EnterprisePrivacySettings.isPageEnabled(this)) {
    166                 finish();
    167             }
    168         }
    169     }
    170     public static class WebViewAppPickerActivity extends SettingsActivity { /* empty */ }
    171 
    172     // Top level categories for new IA
    173     public static class NetworkDashboardActivity extends SettingsActivity {}
    174     public static class ConnectedDeviceDashboardActivity extends SettingsActivity {}
    175     public static class AppAndNotificationDashboardActivity extends SettingsActivity {}
    176     public static class StorageDashboardActivity extends SettingsActivity {}
    177     public static class UserAndAccountDashboardActivity extends SettingsActivity {}
    178     public static class SystemDashboardActivity extends SettingsActivity {}
    179     public static class SupportDashboardActivity extends SettingsActivity {}
    180 
    181 }
    182