add siging comfigs
This commit is contained in:
parent
d422f68e41
commit
0ace707a5b
4 changed files with 19 additions and 15 deletions
1
apk
Symbolic link
1
apk
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
app/build/outputs/apk/
|
||||
|
|
@ -11,10 +11,19 @@ android {
|
|||
versionCode 1
|
||||
versionName "1.0"
|
||||
}
|
||||
signingConfigs {
|
||||
release {
|
||||
storeFile file(RELEASE_STORE_FILE)
|
||||
storePassword RELEASE_STORE_PASSWORD
|
||||
keyAlias RELEASE_KEY_ALIAS
|
||||
keyPassword RELEASE_KEY_PASSWORD
|
||||
}
|
||||
}
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled false
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||
signingConfig signingConfigs.release
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,8 +14,7 @@
|
|||
android:icon="@mipmap/ic_launcher"
|
||||
android:label="@string/app_name"
|
||||
android:supportsRtl="true"
|
||||
android:theme="@style/AppTheme"
|
||||
tools:replace="android:theme">
|
||||
android:theme="@style/AppTheme">
|
||||
<activity
|
||||
android:name=".activities.SettingsActivity"
|
||||
android:label="@string/app_name" />
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ import android.graphics.Point;
|
|||
import android.graphics.Rect;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.os.Environment;
|
||||
import android.preference.EditTextPreference;
|
||||
import android.util.DisplayMetrics;
|
||||
import android.util.TypedValue;
|
||||
import android.view.Display;
|
||||
|
|
@ -263,6 +264,7 @@ public class OpenFileDialog extends AlertDialog.Builder {
|
|||
|
||||
@Override
|
||||
public void onClick(View view) {
|
||||
EditTextPreference edit = new EditTextPreference(getContext());
|
||||
AlertDialog.Builder builder = new AlertDialog.Builder(getContext());
|
||||
final EditText input = new EditText(getContext());
|
||||
builder.setView(input);
|
||||
|
|
@ -321,19 +323,12 @@ public class OpenFileDialog extends AlertDialog.Builder {
|
|||
}
|
||||
|
||||
private void RebuildFiles() {
|
||||
try {
|
||||
selectedIndex = -1;
|
||||
adapter.clear();
|
||||
adapter.addAll(getFiles(currentPath));
|
||||
adapter.sort(new SortFiles());
|
||||
adapter.notifyDataSetChanged();
|
||||
changeTitle();
|
||||
} catch (NullPointerException e) {
|
||||
String message = getContext().getResources().getString(android.R.string.unknownName);
|
||||
if (!accessDeniedMessage.equals(""))
|
||||
message = accessDeniedMessage;
|
||||
Toast.makeText(getContext(), message, Toast.LENGTH_SHORT).show();
|
||||
}
|
||||
selectedIndex = -1;
|
||||
adapter.clear();
|
||||
adapter.addAll(getFiles(currentPath));
|
||||
adapter.sort(new SortFiles());
|
||||
adapter.notifyDataSetChanged();
|
||||
changeTitle();
|
||||
}
|
||||
|
||||
private ListView createListView(Context context) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue