Bug 1220309 - Have GeckoApp extend AppCompatActivity. r=sebastian

We're using the Theme.AppCompat styles so we have to extend AppCompatActivity.
It is a subclass of the previous class GeckoApp extended so we shouldn't run
into an ClassCastExceptions.

I tested the home panels, tabs tray, hyperlink long-press context menus,
door hangers, the 3-dot menu, and browser search to make sure there was no
change in UI appearance.
This commit is contained in:
Michael Comella 2015-10-30 12:14:00 -07:00
parent 6d2fa18f6a
commit e8c7d4eb5c

View File

@ -6,9 +6,9 @@ package org.mozilla.gecko;
import android.content.ComponentName;
import android.content.Intent;
import android.support.v4.app.FragmentActivity;
import android.support.v7.app.AppCompatActivity;
public class GeckoActivity extends FragmentActivity implements GeckoActivityStatus {
public class GeckoActivity extends AppCompatActivity implements GeckoActivityStatus {
// has this activity recently started another Gecko activity?
private boolean mGeckoActivityOpened;