move on to v0.13.3
also: - reduce snack bar error visibility time - fix metadata error
This commit is contained in:
parent
fcb67f5119
commit
ff21430b43
2 changed files with 4 additions and 4 deletions
|
@ -8,8 +8,8 @@ android {
|
||||||
applicationId "org.schabi.newpipe"
|
applicationId "org.schabi.newpipe"
|
||||||
minSdkVersion 15
|
minSdkVersion 15
|
||||||
targetSdkVersion 27
|
targetSdkVersion 27
|
||||||
versionCode 61
|
versionCode 62
|
||||||
versionName "0.13.2"
|
versionName "0.13.3"
|
||||||
|
|
||||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||||
vectorDrawables.useSupportLibrary = true
|
vectorDrawables.useSupportLibrary = true
|
||||||
|
@ -54,7 +54,7 @@ dependencies {
|
||||||
exclude module: 'support-annotations'
|
exclude module: 'support-annotations'
|
||||||
}
|
}
|
||||||
|
|
||||||
implementation 'com.github.TeamNewPipe:NewPipeExtractor:77a74b8'
|
implementation 'com.github.TeamNewPipe:NewPipeExtractor:bf1c771'
|
||||||
|
|
||||||
testImplementation 'junit:junit:4.12'
|
testImplementation 'junit:junit:4.12'
|
||||||
testImplementation 'org.mockito:mockito-core:1.10.19'
|
testImplementation 'org.mockito:mockito-core:1.10.19'
|
||||||
|
|
|
@ -96,7 +96,7 @@ public class ErrorActivity extends AppCompatActivity {
|
||||||
public static void reportError(final Context context, final List<Throwable> el,
|
public static void reportError(final Context context, final List<Throwable> el,
|
||||||
final Class returnActivity, View rootView, final ErrorInfo errorInfo) {
|
final Class returnActivity, View rootView, final ErrorInfo errorInfo) {
|
||||||
if (rootView != null) {
|
if (rootView != null) {
|
||||||
Snackbar.make(rootView, R.string.error_snackbar_message, 15 * 1000)
|
Snackbar.make(rootView, R.string.error_snackbar_message, 3 * 1000)
|
||||||
.setActionTextColor(Color.YELLOW)
|
.setActionTextColor(Color.YELLOW)
|
||||||
.setAction(R.string.error_snackbar_action, v ->
|
.setAction(R.string.error_snackbar_action, v ->
|
||||||
startErrorActivity(returnActivity, context, errorInfo, el)).show();
|
startErrorActivity(returnActivity, context, errorInfo, el)).show();
|
||||||
|
|
Loading…
Reference in a new issue