diff options
| author | Bananeweizen <bananeweizen@gmx.de> | 2014-11-23 17:19:18 +0100 |
|---|---|---|
| committer | Bananeweizen <bananeweizen@gmx.de> | 2014-11-23 17:22:43 +0100 |
| commit | 5ba497ef1487c76f4673fd9a7f3c62512b8cef6f (patch) | |
| tree | bd12d4ad36075b5d47747063c84e0937143811b4 /main/src/cgeo/geocaching/compatibility/AndroidLevel13.java | |
| parent | 121d4285d747ce2ec707ad3cb7a9166833699fb6 (diff) | |
| download | cgeo-5ba497ef1487c76f4673fd9a7f3c62512b8cef6f.zip cgeo-5ba497ef1487c76f4673fd9a7f3c62512b8cef6f.tar.gz cgeo-5ba497ef1487c76f4673fd9a7f3c62512b8cef6f.tar.bz2 | |
reduce visibility
All changes done with UCDetector. This can help in seeing which packages
are not yet self contained (e.g. all the remaining public constants in
GCConstants).
Diffstat (limited to 'main/src/cgeo/geocaching/compatibility/AndroidLevel13.java')
| -rw-r--r-- | main/src/cgeo/geocaching/compatibility/AndroidLevel13.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/compatibility/AndroidLevel13.java b/main/src/cgeo/geocaching/compatibility/AndroidLevel13.java index eb2be4b..946d20e 100644 --- a/main/src/cgeo/geocaching/compatibility/AndroidLevel13.java +++ b/main/src/cgeo/geocaching/compatibility/AndroidLevel13.java @@ -8,7 +8,7 @@ import android.graphics.Point; import android.view.WindowManager; @TargetApi(value = 13) -public class AndroidLevel13 implements AndroidLevel13Interface { +class AndroidLevel13 implements AndroidLevel13Interface { @Override public int getDisplayWidth() { @@ -17,7 +17,7 @@ public class AndroidLevel13 implements AndroidLevel13Interface { @Override public Point getDisplaySize() { - Point dimensions = new Point(); + final Point dimensions = new Point(); ((WindowManager) CgeoApplication.getInstance().getSystemService(Context.WINDOW_SERVICE)) .getDefaultDisplay().getSize(dimensions); return dimensions; |
