导航菜单

页面标题

页面副标题

Delta Chat v1.58.3 - ScribbleActivity.java 源代码

正在查看: Delta Chat v1.58.3 应用的 ScribbleActivity.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package org.thoughtcrime.securesms.scribbles;

import android.os.Bundle;
import org.thoughtcrime.securesms.PassphraseRequiredActionBarActivity;
import org.thoughtcrime.securesms.R;
import org.thoughtcrime.securesms.util.DynamicNoActionBarTheme;

public class ScribbleActivity extends PassphraseRequiredActionBarActivity {
    public static final String CROP_AVATAR = "crop_avatar";
    public static final int SCRIBBLE_REQUEST_CODE = 31424;
    ImageEditorFragment imageEditorFragment;

    @Override
    protected boolean allowInLockedMode() {
        return getIntent().getBooleanExtra(CROP_AVATAR, false);
    }

    @Override
    protected void onPreCreate() {
        this.dynamicTheme = new DynamicNoActionBarTheme();
        super.onPreCreate();
    }

    @Override
    protected void onCreate(Bundle bundle, boolean z) {
        setContentView(R.layout.scribble_activity);
        this.imageEditorFragment = (ImageEditorFragment) initFragment(R.id.scribble_container, ImageEditorFragment.newInstance(getIntent().getData(), getIntent().getBooleanExtra(CROP_AVATAR, false)));
    }
}