Skip to content

Commit

Permalink
Modify the compiled version to prevent dynamic permissions.
Browse files Browse the repository at this point in the history
Modify the compiled version to prevent dynamic permissions.
  • Loading branch information
LiqiNew committed May 27, 2018
1 parent 5b73d11 commit 6fb292a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nohttputils-r1/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ android {

defaultConfig {
minSdkVersion 11
targetSdkVersion 23
targetSdkVersion 22
versionCode 1
versionName "1"
}
Expand Down
4 changes: 4 additions & 0 deletions nohttputils-r1/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.liqi.nohttputils">

<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.INTERNET"/>

<application >
<service
android:name=".download.service.NohttpDownloadService"
Expand Down
2 changes: 1 addition & 1 deletion sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ android {
defaultConfig {
applicationId "com.liqi.nohttprxutils"
minSdkVersion 11
targetSdkVersion 23
targetSdkVersion 22
versionCode 2
versionName "1.1"
}
Expand Down

0 comments on commit 6fb292a

Please sign in to comment.