package net.letime.lecjoa;

import java.lang.System;

@kotlin.Metadata(mv = {1, 1, 10}, bv = {1, 0, 2}, k = 1, d1 = {"\u0000|\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0011\n\u0000\n\u0002\u0010\u0015\n\u0002\b\t\u0018\u00002\u00020\u00012\u00020\u0002:\u0002<=B\u0005\u00a2\u0006\u0002\u0010\u0003J\b\u0010\u0014\u001a\u00020\u0015H\u0002J\u0010\u0010\u0016\u001a\u00020\u00152\u0006\u0010\u0017\u001a\u00020\u0018H\u0002J\b\u0010\u0019\u001a\u00020\u0015H\u0002J\u0010\u0010\u001a\u001a\u00020\u001b2\u0006\u0010\u001c\u001a\u00020\u0011H\u0002J\b\u0010\u001d\u001a\u00020\u0011H\u0002J\b\u0010\u001e\u001a\u00020\u0015H\u0002J\b\u0010\u001f\u001a\u00020\u0015H\u0002J\"\u0010 \u001a\u00020\u00152\u0006\u0010!\u001a\u00020\"2\u0006\u0010#\u001a\u00020\"2\b\u0010$\u001a\u0004\u0018\u00010%H\u0014J\u0012\u0010&\u001a\u00020\u00152\b\u0010\'\u001a\u0004\u0018\u00010(H\u0014J\u0010\u0010)\u001a\u00020\u00052\u0006\u0010*\u001a\u00020+H\u0016J\u0010\u0010,\u001a\u00020\u00152\u0006\u0010-\u001a\u00020\u0007H\u0002J\u0010\u0010.\u001a\u00020\u00052\u0006\u0010/\u001a\u000200H\u0016J+\u00101\u001a\u00020\u00152\u0006\u0010!\u001a\u00020\"2\f\u00102\u001a\b\u0012\u0004\u0012\u00020\u0011032\u0006\u00104\u001a\u000205H\u0016\u00a2\u0006\u0002\u00106J\b\u00107\u001a\u00020\u0015H\u0002J\b\u00108\u001a\u00020\u0015H\u0002J\u0010\u00109\u001a\u00020\u00152\u0006\u0010:\u001a\u00020(H\u0014J\b\u0010;\u001a\u00020\u0015H\u0002R\u000e\u0010\u0004\u001a\u00020\u0005X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0006\u001a\u00020\u0007X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u000e\u0010\b\u001a\u00020\u0005X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u000e\u0010\t\u001a\u00020\u0005X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u001e\u0010\n\u001a\u00020\u000b8\u0006@\u0006X\u0087.\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\f\u0010\r\"\u0004\b\u000e\u0010\u000fR\u0010\u0010\u0010\u001a\u0004\u0018\u00010\u0011X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0012\u001a\u00020\u0005X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u0010\u0010\u0013\u001a\u0004\u0018\u00010\u0011X\u0082\u000e\u00a2\u0006\u0002\n\u0000\u00a8\u0006>"}, d2 = {"Lnet/letime/lecjoa/EditProfileActivity;", "Lnet/letime/lecjoa/BaseActivity;", "Lnet/letime/lecjoa/di/Injectable;", "()V", "avatarChanged", "", "currentlyPicking", "Lnet/letime/lecjoa/EditProfileActivity$PickType;", "headerChanged", "isSaving", "mastodonApi", "Lnet/letime/lecjoa/network/MastodonApi;", "getMastodonApi", "()Lnet/letime/lecjoa/network/MastodonApi;", "setMastodonApi", "(Lnet/letime/lecjoa/network/MastodonApi;)V", "oldDisplayName", "", "oldLocked", "oldNote", "beginMediaPicking", "", "beginResize", "uri", "Landroid/net/Uri;", "endMediaPicking", "getCacheFileForName", "Ljava/io/File;", "filename", "getFileName", "initiateMediaPicking", "onAccountVerifyCredentialsFailed", "onActivityResult", "requestCode", "", "resultCode", "data", "Landroid/content/Intent;", "onCreate", "savedInstanceState", "Landroid/os/Bundle;", "onCreateOptionsMenu", "menu", "Landroid/view/Menu;", "onMediaPick", "pickType", "onOptionsItemSelected", "item", "Landroid/view/MenuItem;", "onRequestPermissionsResult", "permissions", "", "grantResults", "", "(I[Ljava/lang/String;[I)V", "onResizeFailure", "onSaveFailure", "onSaveInstanceState", "outState", "save", "PickType", "ResizeImageTask", "app_debug"})
public final class EditProfileActivity extends net.letime.lecjoa.BaseActivity implements net.letime.lecjoa.di.Injectable {
    private java.lang.String oldDisplayName;
    private java.lang.String oldNote;
    private boolean oldLocked;
    private boolean isSaving;
    private net.letime.lecjoa.EditProfileActivity.PickType currentlyPicking;
    private boolean avatarChanged;
    private boolean headerChanged;
    @org.jetbrains.annotations.NotNull()
    @javax.inject.Inject()
    public net.letime.lecjoa.network.MastodonApi mastodonApi;
    private java.util.HashMap _$_findViewCache;
    
    @org.jetbrains.annotations.NotNull()
    public final net.letime.lecjoa.network.MastodonApi getMastodonApi() {
        return null;
    }
    
    public final void setMastodonApi(@org.jetbrains.annotations.NotNull()
    net.letime.lecjoa.network.MastodonApi p0) {
    }
    
    @java.lang.Override()
    protected void onCreate(@org.jetbrains.annotations.Nullable()
    android.os.Bundle savedInstanceState) {
    }
    
    @java.lang.Override()
    protected void onSaveInstanceState(@org.jetbrains.annotations.NotNull()
    android.os.Bundle outState) {
    }
    
    private final void onAccountVerifyCredentialsFailed() {
    }
    
    private final void onMediaPick(net.letime.lecjoa.EditProfileActivity.PickType pickType) {
    }
    
    @java.lang.Override()
    public void onRequestPermissionsResult(int requestCode, @org.jetbrains.annotations.NotNull()
    java.lang.String[] permissions, @org.jetbrains.annotations.NotNull()
    int[] grantResults) {
    }
    
    private final void initiateMediaPicking() {
    }
    
    @java.lang.Override()
    public boolean onCreateOptionsMenu(@org.jetbrains.annotations.NotNull()
    android.view.Menu menu) {
        return false;
    }
    
    @java.lang.Override()
    public boolean onOptionsItemSelected(@org.jetbrains.annotations.NotNull()
    android.view.MenuItem item) {
        return false;
    }
    
    private final void save() {
    }
    
    private final void onSaveFailure() {
    }
    
    private final void beginMediaPicking() {
    }
    
    private final void endMediaPicking() {
    }
    
    @java.lang.Override()
    protected void onActivityResult(int requestCode, int resultCode, @org.jetbrains.annotations.Nullable()
    android.content.Intent data) {
    }
    
    private final void beginResize(android.net.Uri uri) {
    }
    
    private final void onResizeFailure() {
    }
    
    private final java.io.File getCacheFileForName(java.lang.String filename) {
        return null;
    }
    
    private final java.lang.String getFileName() {
        return null;
    }
    
    public EditProfileActivity() {
        super();
    }
    
    @kotlin.Metadata(mv = {1, 1, 10}, bv = {1, 0, 2}, k = 1, d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0002\b\u0005\b\u0082\u0001\u0018\u00002\b\u0012\u0004\u0012\u00020\u00000\u0001B\u0007\b\u0002\u00a2\u0006\u0002\u0010\u0002j\u0002\b\u0003j\u0002\b\u0004j\u0002\b\u0005\u00a8\u0006\u0006"}, d2 = {"Lnet/letime/lecjoa/EditProfileActivity$PickType;", "", "(Ljava/lang/String;I)V", "NOTHING", "AVATAR", "HEADER", "app_debug"})
    static enum PickType {
        /*public static final*/ NOTHING /* = new NOTHING() */,
        /*public static final*/ AVATAR /* = new AVATAR() */,
        /*public static final*/ HEADER /* = new HEADER() */;
        
        PickType() {
        }
    }
    
    @kotlin.Metadata(mv = {1, 1, 10}, bv = {1, 0, 2}, k = 1, d1 = {"\u0000J\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0011\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0002\b\u0006\b\u0002\u0018\u00002\u0014\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u0003\u0012\u0004\u0012\u00020\u00040\u0001:\u0001\u001bB-\u0012\u0006\u0010\u0005\u001a\u00020\u0006\u0012\u0006\u0010\u0007\u001a\u00020\b\u0012\u0006\u0010\t\u001a\u00020\b\u0012\u0006\u0010\n\u001a\u00020\u000b\u0012\u0006\u0010\f\u001a\u00020\r\u00a2\u0006\u0002\u0010\u000eJ#\u0010\u0011\u001a\u0004\u0018\u00010\u00042\u0012\u0010\u0012\u001a\n\u0012\u0006\b\u0001\u0012\u00020\u00020\u0013\"\u00020\u0002H\u0014\u00a2\u0006\u0002\u0010\u0014J\u0010\u0010\u0015\u001a\u00020\u00162\u0006\u0010\u0017\u001a\u00020\u0004H\u0014J\u0016\u0010\u0018\u001a\u00020\u00042\u0006\u0010\u0019\u001a\u00020\u00102\u0006\u0010\u001a\u001a\u00020\u000bR\u000e\u0010\n\u001a\u00020\u000bX\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0005\u001a\u00020\u0006X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010\f\u001a\u00020\rX\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010\t\u001a\u00020\bX\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0007\u001a\u00020\bX\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u0010\u0010\u000f\u001a\u0004\u0018\u00010\u0010X\u0082\u000e\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u001c"}, d2 = {"Lnet/letime/lecjoa/EditProfileActivity$ResizeImageTask;", "Landroid/os/AsyncTask;", "Landroid/net/Uri;", "Ljava/lang/Void;", "", "contentResolver", "Landroid/content/ContentResolver;", "resizeWidth", "", "resizeHeight", "cacheFile", "Ljava/io/File;", "listener", "Lnet/letime/lecjoa/EditProfileActivity$ResizeImageTask$Listener;", "(Landroid/content/ContentResolver;IILjava/io/File;Lnet/letime/lecjoa/EditProfileActivity$ResizeImageTask$Listener;)V", "resultBitmap", "Landroid/graphics/Bitmap;", "doInBackground", "uris", "", "([Landroid/net/Uri;)Ljava/lang/Boolean;", "onPostExecute", "", "successful", "saveBitmapToFile", "bitmap", "file", "Listener", "app_debug"})
    static final class ResizeImageTask extends android.os.AsyncTask<android.net.Uri, java.lang.Void, java.lang.Boolean> {
        private android.graphics.Bitmap resultBitmap;
        private final android.content.ContentResolver contentResolver = null;
        private final int resizeWidth = 0;
        private final int resizeHeight = 0;
        private final java.io.File cacheFile = null;
        private final net.letime.lecjoa.EditProfileActivity.ResizeImageTask.Listener listener = null;
        
        @org.jetbrains.annotations.Nullable()
        @java.lang.Override()
        protected java.lang.Boolean doInBackground(@org.jetbrains.annotations.NotNull()
        android.net.Uri... uris) {
            return null;
        }
        
        @java.lang.Override()
        protected void onPostExecute(boolean successful) {
        }
        
        public final boolean saveBitmapToFile(@org.jetbrains.annotations.NotNull()
        android.graphics.Bitmap bitmap, @org.jetbrains.annotations.NotNull()
        java.io.File file) {
            return false;
        }
        
        public ResizeImageTask(@org.jetbrains.annotations.NotNull()
        android.content.ContentResolver contentResolver, int resizeWidth, int resizeHeight, @org.jetbrains.annotations.NotNull()
        java.io.File cacheFile, @org.jetbrains.annotations.NotNull()
        net.letime.lecjoa.EditProfileActivity.ResizeImageTask.Listener listener) {
            super();
        }
        
        @kotlin.Metadata(mv = {1, 1, 10}, bv = {1, 0, 2}, k = 1, d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\b`\u0018\u00002\u00020\u0001J\b\u0010\u0002\u001a\u00020\u0003H&J\u0012\u0010\u0004\u001a\u00020\u00032\b\u0010\u0005\u001a\u0004\u0018\u00010\u0006H&\u00a8\u0006\u0007"}, d2 = {"Lnet/letime/lecjoa/EditProfileActivity$ResizeImageTask$Listener;", "", "onFailure", "", "onSuccess", "resizedImage", "Landroid/graphics/Bitmap;", "app_debug"})
        public static abstract interface Listener {
            
            public abstract void onSuccess(@org.jetbrains.annotations.Nullable()
            android.graphics.Bitmap resizedImage);
            
            public abstract void onFailure();
        }
    }
}