mirror of
https://github.com/TeamNewPipe/NewPipe/
synced 2024-12-25 08:31:29 +01:00
Update filepicker to the newest version and Fix for #343
This commit is contained in:
parent
40b08a593f
commit
3da032b7ee
@ -43,6 +43,6 @@ dependencies {
|
|||||||
compile 'com.github.nirhart:parallaxscroll:1.0'
|
compile 'com.github.nirhart:parallaxscroll:1.0'
|
||||||
compile 'com.google.android.exoplayer:exoplayer:r1.5.5'
|
compile 'com.google.android.exoplayer:exoplayer:r1.5.5'
|
||||||
compile 'com.google.code.gson:gson:2.4'
|
compile 'com.google.code.gson:gson:2.4'
|
||||||
compile 'com.nononsenseapps:filepicker:2.0.5'
|
compile 'com.nononsenseapps:filepicker:3.0.0'
|
||||||
testCompile 'junit:junit:4.12'
|
testCompile 'junit:junit:4.12'
|
||||||
}
|
}
|
||||||
|
@ -141,7 +141,7 @@
|
|||||||
android:name="com.nononsenseapps.filepicker.FilePickerActivity"
|
android:name="com.nononsenseapps.filepicker.FilePickerActivity"
|
||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
android:theme="@style/FilePickerTheme"
|
android:theme="@style/FilePickerTheme"
|
||||||
android:launchMode="singleTask">
|
android:launchMode="singleTop">
|
||||||
</activity>
|
</activity>
|
||||||
|
|
||||||
</application>
|
</application>
|
||||||
|
@ -1,13 +1,8 @@
|
|||||||
package org.schabi.newpipe;
|
package org.schabi.newpipe;
|
||||||
|
|
||||||
import android.app.Activity;
|
|
||||||
import android.content.ClipData;
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
import android.content.SharedPreferences;
|
|
||||||
import android.content.res.Configuration;
|
import android.content.res.Configuration;
|
||||||
import android.net.Uri;
|
|
||||||
import android.os.Build;
|
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import android.preference.PreferenceActivity;
|
import android.preference.PreferenceActivity;
|
||||||
import android.support.annotation.LayoutRes;
|
import android.support.annotation.LayoutRes;
|
||||||
|
@ -50,7 +50,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<!-- You can also inherit from NNF_BaseTheme.Light -->
|
<!-- You can also inherit from NNF_BaseTheme.Light -->
|
||||||
<style name="FilePickerTheme" parent="Theme.AppCompat.Light.NoActionBar">
|
<style name="FilePickerTheme" parent="NNF_BaseTheme.Light">
|
||||||
<!-- Set these to match your theme -->
|
<!-- Set these to match your theme -->
|
||||||
<item name="colorPrimary">@color/light_youtube_primary_color</item>
|
<item name="colorPrimary">@color/light_youtube_primary_color</item>
|
||||||
<item name="colorPrimaryDark">@color/light_youtube_dark_color</item>
|
<item name="colorPrimaryDark">@color/light_youtube_dark_color</item>
|
||||||
|
Loading…
Reference in New Issue
Block a user