mirror of https://codeberg.org/gitnex/GitNex.git
Moving classes to helpers/
This commit is contained in:
parent
e1ccb4e404
commit
d2190ad189
|
@ -73,7 +73,7 @@
|
|||
<activity android:name=".activities.CreateOrganizationActivity" />
|
||||
<activity android:name=".activities.OpenRepoInBrowserActivity" />
|
||||
<activity android:name=".activities.FileDiffActivity" />
|
||||
<activity android:name=".ssl.MemorizingActivity" android:theme="@android:style/Theme.Material.NoActionBar.TranslucentDecor" />
|
||||
<activity android:name=".helpers.MemorizingActivity" android:theme="@android:style/Theme.Material.NoActionBar.TranslucentDecor" />
|
||||
</application>
|
||||
|
||||
</manifest>
|
|
@ -3,7 +3,7 @@ package org.mian.gitnex.clients;
|
|||
import android.content.Context;
|
||||
import android.util.Log;
|
||||
import androidx.annotation.NonNull;
|
||||
import org.mian.gitnex.ssl.MemorizingTrustManager;
|
||||
import org.mian.gitnex.helpers.MemorizingTrustManager;
|
||||
import org.mian.gitnex.util.AppUtil;
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
|
|
|
@ -3,7 +3,7 @@ package org.mian.gitnex.clients;
|
|||
import android.content.Context;
|
||||
import android.util.Log;
|
||||
import androidx.annotation.NonNull;
|
||||
import org.mian.gitnex.ssl.MemorizingTrustManager;
|
||||
import org.mian.gitnex.helpers.MemorizingTrustManager;
|
||||
import org.mian.gitnex.util.AppUtil;
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
|
|
|
@ -3,7 +3,7 @@ package org.mian.gitnex.clients;
|
|||
import android.content.Context;
|
||||
import android.util.Log;
|
||||
import org.mian.gitnex.interfaces.ApiInterface;
|
||||
import org.mian.gitnex.ssl.MemorizingTrustManager;
|
||||
import org.mian.gitnex.helpers.MemorizingTrustManager;
|
||||
import org.mian.gitnex.util.AppUtil;
|
||||
import java.io.File;
|
||||
import java.security.SecureRandom;
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
package org.mian.gitnex.helpers;
|
||||
|
||||
/**
|
||||
* Author Georg Lukas, modified by anonTree1417
|
||||
*/
|
||||
|
||||
class MTMDecision {
|
||||
final static int DECISION_INVALID = 0;
|
||||
final static int DECISION_ABORT = 1;
|
||||
final static int DECISION_ONCE = 2;
|
||||
final static int DECISION_ALWAYS = 3;
|
||||
|
||||
int state = DECISION_INVALID;
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
package org.mian.gitnex.ssl;
|
||||
package org.mian.gitnex.helpers;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.app.AlertDialog;
|
||||
|
@ -9,6 +9,7 @@ import org.mian.gitnex.R;
|
|||
/**
|
||||
* Author Georg Lukas, modified by anonTree1417
|
||||
*/
|
||||
|
||||
public class MemorizingActivity extends Activity {
|
||||
|
||||
@Override
|
|
@ -1,4 +1,4 @@
|
|||
package org.mian.gitnex.ssl;
|
||||
package org.mian.gitnex.helpers;
|
||||
|
||||
import android.annotation.TargetApi;
|
||||
import android.app.Activity;
|
|
@ -1,13 +0,0 @@
|
|||
package org.mian.gitnex.ssl;
|
||||
|
||||
/**
|
||||
* Author Georg Lukas, modified by anonTree1417
|
||||
*/
|
||||
class MTMDecision {
|
||||
public final static int DECISION_INVALID = 0;
|
||||
public final static int DECISION_ABORT = 1;
|
||||
public final static int DECISION_ONCE = 2;
|
||||
public final static int DECISION_ALWAYS = 3;
|
||||
|
||||
int state = DECISION_INVALID;
|
||||
}
|
Loading…
Reference in New Issue