mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
6d2fa18f6a
commit
e8c7d4eb5c
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user