|
1 | 1 | package org.scid.android;
|
2 | 2 |
|
3 | 3 | import android.Manifest;
|
4 |
| -import android.app.Activity; |
5 | 4 | import android.app.AlertDialog;
|
6 | 5 | import android.app.Dialog;
|
7 | 6 | import android.content.ActivityNotFoundException;
|
|
19 | 18 | import android.preference.PreferenceManager;
|
20 | 19 | import android.support.v4.app.ActivityCompat;
|
21 | 20 | import android.support.v4.content.ContextCompat;
|
| 21 | +import android.support.v7.app.AppCompatActivity; |
22 | 22 | import android.text.ClipboardManager;
|
23 | 23 | import android.text.Html;
|
24 | 24 | import android.text.InputType;
|
|
65 | 65 | import java.util.Timer;
|
66 | 66 | import java.util.TimerTask;
|
67 | 67 |
|
68 |
| -public class ScidAndroidActivity extends Activity implements GUIInterface, |
| 68 | +public class ScidAndroidActivity extends AppCompatActivity implements GUIInterface, |
69 | 69 | IClipboardChangedListener, IDownloadCallback {
|
70 | 70 |
|
71 | 71 | private static final String ANALYSIS_ENGINE = "analysisEngine";
|
@@ -126,10 +126,6 @@ public void onSharedPreferenceChanged(
|
126 | 126 | initUI(Integer.valueOf(android.os.Build.VERSION.SDK) < 11);
|
127 | 127 | if (Integer.valueOf(android.os.Build.VERSION.SDK) >= 11) {
|
128 | 128 | VersionHelper.registerClipChangedListener(this);
|
129 |
| - if (!ScreenTools.isLargeScreenLayout(this)) { |
130 |
| - // remove Icon from ActionBar if it's a phone and >= Honeycomb |
131 |
| - VersionHelper.removeIconFromActionbar(this); |
132 |
| - } |
133 | 129 | }
|
134 | 130 |
|
135 | 131 | gameTextListener = new PgnScreenText(pgnOptions);
|
|
0 commit comments