blob: 4336fdca55a1d15b439ff733226256f0ee955c13 [file] [log] [blame]
/*
* Copyright (C) 2016 The CyanogenMod Project
* 2017-2024 The LineageOS 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 org.lineageos.setupwizard;
import android.os.Bundle;
import org.lineageos.setupwizard.util.SetupWizardUtils;
public class SimMissingActivity extends BaseSetupWizardActivity {
public static final String TAG = SimMissingActivity.class.getSimpleName();
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
getGlifLayout().setDescriptionText(getString(R.string.sim_missing_summary));
if (!SetupWizardUtils.simMissing(this)) {
finishAction(RESULT_OK);
}
}
@Override
protected int getLayoutResId() {
return R.layout.sim_missing_page;
}
@Override
protected int getTitleResId() {
return R.string.setup_sim_missing;
}
@Override
protected int getIconResId() {
return R.drawable.ic_sim;
}
}