Skip to content

Commit

Permalink
Changed target SDK and relaxed strictmode
Browse files Browse the repository at this point in the history
  • Loading branch information
trajano committed Apr 6, 2015
1 parent a24a72f commit 6a9dc4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/main/AndroidManifest.xml
Expand Up @@ -6,7 +6,7 @@

<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="19" />
android:targetSdkVersion="21" />

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
Expand All @@ -21,7 +21,6 @@
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/net/trajano/gasprices/GasPricesActivity.java
Expand Up @@ -59,7 +59,7 @@ void citySelectSelected() {
void enableStrictMode() {
if (BuildConfig.DEBUG) {
StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder()
.detectDiskReads().detectDiskWrites().detectNetwork()
.detectDiskWrites().detectNetwork()
.penaltyLog().build());
StrictMode.setVmPolicy(new StrictMode.VmPolicy.Builder()
.detectLeakedSqlLiteObjects().detectLeakedClosableObjects()
Expand Down

0 comments on commit 6a9dc4b

Please sign in to comment.