update libs
This commit is contained in:
parent
27bc399c87
commit
a02261bb27
4 changed files with 5 additions and 5 deletions
|
|
@ -43,5 +43,5 @@ android {
|
|||
dependencies {
|
||||
compile fileTree(dir: 'libs', include: ['*.jar'])
|
||||
testCompile 'junit:junit:4.12'
|
||||
compile 'com.github.axet:android-audio-library:0.0.9' // compile project(':android-audio-library')
|
||||
compile 'com.github.axet:android-audio-library:0.0.10' // compile project(':android-audio-library')
|
||||
}
|
||||
|
|
|
|||
|
|
@ -223,7 +223,7 @@ public class MainActivity extends AppCompatActivity {
|
|||
public static final String[] PERMISSIONS = new String[]{READ_EXTERNAL_STORAGE, Manifest.permission.WRITE_EXTERNAL_STORAGE};
|
||||
|
||||
boolean permitted(String[] ss) {
|
||||
if (Build.VERSION.SDK_INT < 15)
|
||||
if (Build.VERSION.SDK_INT < 16)
|
||||
return true;
|
||||
for (String s : ss) {
|
||||
if (ContextCompat.checkSelfPermission(this, s) != PackageManager.PERMISSION_GRANTED) {
|
||||
|
|
@ -234,7 +234,7 @@ public class MainActivity extends AppCompatActivity {
|
|||
}
|
||||
|
||||
boolean permitted() {
|
||||
if (Build.VERSION.SDK_INT < 15)
|
||||
if (Build.VERSION.SDK_INT < 16)
|
||||
return true;
|
||||
for (String s : PERMISSIONS) {
|
||||
if (ContextCompat.checkSelfPermission(this, s) != PackageManager.PERMISSION_GRANTED) {
|
||||
|
|
|
|||
|
|
@ -239,7 +239,7 @@ public class SettingsActivity extends AppCompatPreferenceActivity implements Sha
|
|||
public static final String[] PERMISSIONS = new String[]{Manifest.permission.READ_EXTERNAL_STORAGE, Manifest.permission.WRITE_EXTERNAL_STORAGE};
|
||||
|
||||
public static boolean permitted(Context context, String[] ss) {
|
||||
if (Build.VERSION.SDK_INT < 15)
|
||||
if (Build.VERSION.SDK_INT < 16)
|
||||
return true;
|
||||
for (String s : ss) {
|
||||
if (ContextCompat.checkSelfPermission(context, s) != PackageManager.PERMISSION_GRANTED) {
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
include ':app', ':android-library', ':jebml', ':android-audio-library', ':android-vorbis', ':android-vorbis:libvorbis'
|
||||
include ':app', ':android-library', ':jebml', ':android-audio-library', ':android-vorbis', ':android-vorbis:libvorbis', ':android-vorbis:libogg'
|
||||
Loading…
Add table
Add a link
Reference in a new issue