Adding developer option to boot with 16K compatible kernel. Adding resources, layouts and dialog classes for 16k option. This needs to integrated with update engine to make OTA switch happen. Test: m Settings && adb install -r $ANDROID_PRODUCT_OUT/system_ext/priv-app/Settings/Settings.apk Bug: 295035851 Bug: 294614538 Change-Id: I3a24fed059eee99407e3486a7254285e0e4a251c
27 lines
986 B
Java
27 lines
986 B
Java
/*
|
|
* Copyright (C) 2024 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.settings.development;
|
|
|
|
/** Interface for Enable16kbPagesDialogHost callbacks. */
|
|
public interface Enable16kbPagesDialogHost {
|
|
/** Callback when the user presses ok the warning dialog. */
|
|
void on16kPagesDialogConfirmed();
|
|
|
|
/** Callback when the user cancels or dismisses the warning dialog. */
|
|
void on16kPagesDialogDismissed();
|
|
}
|