Moving developer settings to xml overrides instead of code swap

Bug: 330920490
Test: Verified on device
Flag: None
Change-Id: Ibba96a57c8eb7347399ab32577a0e395ae886e91
This commit is contained in:
Sunny Goyal
2024-04-10 01:08:59 -07:00
parent 8a46c86e2c
commit 2eeee631aa
5 changed files with 212 additions and 359 deletions

View File

@@ -1,29 +0,0 @@
/*
* Copyright (C) 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.android.launcher3.uioverrides;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.android.launcher3.model.data.WorkspaceItemInfo;
/** A util class that inflates a predicted app icon */
public class PredictedAppIconInflater {
public static View inflate(LayoutInflater inflater, ViewGroup parent, WorkspaceItemInfo info) {
return null;
}
}

View File

@@ -1,27 +0,0 @@
/*
* Copyright (C) 2023 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.android.launcher3.uioverrides.flags;
import androidx.preference.PreferenceCategory;
import androidx.preference.PreferenceFragmentCompat;
/**
* Place holder class for developer options.
*/
public class DeveloperOptionsUI {
public DeveloperOptionsUI(PreferenceFragmentCompat fragment, PreferenceCategory flags) { }
}