Advertisement
Guest User

AbstractListActivity

a guest
Jun 7th, 2012
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.54 KB | None | 0 0
  1. package ch.futurecom.MeetingMaid.view;
  2.  
  3. import android.app.Activity;
  4. import android.os.Bundle;
  5. import android.os.StrictMode;
  6.  
  7. abstract public class AbstractListActivity extends Activity
  8. {
  9.     protected void onCreate(Bundle savedInstanceState)
  10.     {
  11.         super.onCreate(savedInstanceState);
  12.        
  13.         StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder().detectAll().penaltyLog().penaltyDeath().build());
  14.         StrictMode.setVmPolicy(new StrictMode.VmPolicy.Builder().detectAll().penaltyLog().penaltyDeath().build());
  15.        
  16.         getActionBar();
  17.     }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement