aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/android/org
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/android/org')
-rw-r--r--backends/platform/android/org/scummvm/scummvm/ScummVM.java1
-rw-r--r--backends/platform/android/org/scummvm/scummvm/ScummVMActivity.java22
2 files changed, 0 insertions, 23 deletions
diff --git a/backends/platform/android/org/scummvm/scummvm/ScummVM.java b/backends/platform/android/org/scummvm/scummvm/ScummVM.java
index 37fe76ebda..2784623449 100644
--- a/backends/platform/android/org/scummvm/scummvm/ScummVM.java
+++ b/backends/platform/android/org/scummvm/scummvm/ScummVM.java
@@ -45,7 +45,6 @@ public abstract class ScummVM implements SurfaceHolder.Callback, Runnable {
// pause the engine and all native threads
final public native void setPause(boolean pause);
- final public native void enableZoning(boolean enable);
// Feed an event to ScummVM. Safe to call from other threads.
final public native void pushEvent(int type, int arg1, int arg2, int arg3,
int arg4, int arg5, int arg6);
diff --git a/backends/platform/android/org/scummvm/scummvm/ScummVMActivity.java b/backends/platform/android/org/scummvm/scummvm/ScummVMActivity.java
index 7bb0fe8057..f353ceab27 100644
--- a/backends/platform/android/org/scummvm/scummvm/ScummVMActivity.java
+++ b/backends/platform/android/org/scummvm/scummvm/ScummVMActivity.java
@@ -53,30 +53,8 @@ public class ScummVMActivity extends Activity {
};
private class MyScummVM extends ScummVM {
- private boolean usingSmallScreen() {
- // Multiple screen sizes came in with Android 1.6. Have
- // to use reflection in order to continue supporting 1.5
- // devices :(
- DisplayMetrics metrics = new DisplayMetrics();
- getWindowManager().getDefaultDisplay().getMetrics(metrics);
-
- try {
- // This 'density' term is very confusing.
- int DENSITY_LOW = metrics.getClass().getField("DENSITY_LOW").getInt(null);
- int densityDpi = metrics.getClass().getField("densityDpi").getInt(metrics);
- return densityDpi <= DENSITY_LOW;
- } catch (Exception e) {
- return false;
- }
- }
-
public MyScummVM(SurfaceHolder holder) {
super(ScummVMActivity.this.getAssets(), holder);
-
- // Enable ScummVM zoning on 'small' screens.
- // FIXME make this optional for the user
- // disabled for now since it crops too much
- //enableZoning(usingSmallScreen());
}
@Override