package com.intel.market.thirdparty;

import android.annotation.SuppressLint;
import android.os.StrictMode;

public class Policy {

	@SuppressLint("NewApi")
	public static void applyStrictPolicy()
	{

			StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder()
										.detectDiskReads()
										.detectNetwork()
										.detectDiskWrites()
										.penaltyLog()
										.build());

			StrictMode.setVmPolicy(new StrictMode.VmPolicy.Builder()
									.detectActivityLeaks()
									.detectLeakedSqlLiteObjects()
									.penaltyLog()
									.penaltyDeath()
									.build());
	}

	@SuppressLint("NewApi")
	public static void applyEasyPolicy()
	{
	    StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().permitAll().build();
		StrictMode.setThreadPolicy(policy);
	}




}

@@ -9,31 +9,36 @@
 com.
-intel.market.thirdparty
+example.wilson.myapplication
 ;%0A%0Ai
@@ -270,129 +270,20 @@
 er()
-%0A%09%09%09%09%09%09%09%09%09%09.detectDiskReads()%0A%09%09%09%09%09%09%09%09%09%09.detectNetwork()%0A%09%09%09%09%09%09%09%09%09%09.detectDiskWrites()%0A%09%09%09%09%09%09%09%09%09%09.penaltyLog()%0A%09%09%09%09%09%09%09%09%09%09
+.detectAll()
 .bui
@@ -359,71 +359,34 @@
 %09%09%09%09
-%09%09%09%09.detectActivityLeaks()%0A%09%09%09%09%09%09%09%09%09.detectLeakedSqlLiteObjects
+                .detectAll
 ()%0A%09

modify Policy.java