Files
packages_apps_PixelParts/src/org/evolution/pixelparts/autohbm/AutoHbmActivity.java
AnierinB 7ce53cb8e4 PixelParts: Version 2.0
- Move all features to the appropriate locations in Settings rather than
having an entire activity/fragment for assorted features.
- Set pixel torch as UNAVAILABLE onTorchModeUnavailable.
- Display accurate message if get*StringResourceId fails.
- Include overlay to disable ROM side cycle_count preference.
- Remove Jitter benchmark (we have it ROM side).
- Remove Direct HBM.
- Remove ShakeUtils and LeonidsLib.
- Remove about activity/fragment.
- Various misc changes and cleanups.

Signed-off-by: AnierinB <anierin@evolution-x.org>
2024-01-13 15:00:57 -08:00

25 lines
664 B
Java

/*
* Copyright (C) 2023-2024 The Evolution X Project
* SPDX-License-Identifier: Apache-2.0
*/
package org.evolution.pixelparts.autohbm;
import android.os.Bundle;
import com.android.settingslib.collapsingtoolbar.CollapsingToolbarBaseActivity;
import com.android.settingslib.widget.R;
public class AutoHbmActivity extends CollapsingToolbarBaseActivity {
private static final String TAG = "AutoHbm";
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
getFragmentManager().beginTransaction().replace(R.id.content_frame,
new AutoHbmFragment(), TAG).commit();
}
}