Home | History | Annotate | Download | only in applications
      1 package com.android.settings.applications;
      2 
      3 import android.app.Fragment;
      4 import android.content.Intent;
      5 import android.preference.PreferenceActivity;
      6 
      7 import com.android.settings.ChooseLockGeneric.ChooseLockGenericFragment;
      8 
      9 public class InstalledAppDetailsTop extends PreferenceActivity {
     10 
     11     @Override
     12     public Intent getIntent() {
     13         Intent modIntent = new Intent(super.getIntent());
     14         modIntent.putExtra(EXTRA_SHOW_FRAGMENT, InstalledAppDetails.class.getName());
     15         modIntent.putExtra(EXTRA_NO_HEADERS, true);
     16         return modIntent;
     17     }
     18 
     19     @Override
     20     protected boolean isValidFragment(String fragmentName) {
     21         if (InstalledAppDetails.class.getName().equals(fragmentName)) return true;
     22         return false;
     23     }
     24 
     25 }
     26