Skip to content

Commit

Permalink
Customize FragmentActivity to extend MapActivity
Browse files Browse the repository at this point in the history
  • Loading branch information
petedoyle committed Sep 18, 2012
1 parent 41fe632 commit c8e2716
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions support/v4/src/java/android/support/v4/app/FragmentActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

package android.support.v4.app;

import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.content.res.Configuration;
Expand All @@ -39,6 +38,8 @@
import java.util.ArrayList;
import java.util.HashMap;

import com.google.android.maps.MapActivity;

/**
* Base class for activities that want to use the support-based
* {@link android.support.v4.app.Fragment} and
Expand Down Expand Up @@ -66,7 +67,7 @@
* state, this may be a snapshot slightly before what the user last saw.</p>
* </ul>
*/
public class FragmentActivity extends Activity {
public class FragmentActivity extends MapActivity {
private static final String TAG = "FragmentActivity";

private static final String FRAGMENTS_TAG = "android:support:fragments";
Expand Down Expand Up @@ -749,4 +750,9 @@ LoaderManagerImpl getLoaderManager(int index, boolean started, boolean create) {
}
return lm;
}

@Override
protected boolean isRouteDisplayed() {
return false;
}
}

0 comments on commit c8e2716

Please sign in to comment.