android/sdremote/src/org/libreoffice/impressremote/PairingActivity.java | 4 ++-- android/sdremote/src/org/libreoffice/impressremote/PresentationFragment.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
New commits: commit 1f831f5ac810f019b304e6d26c20fa54f8521828 Author: Andrzej J.R. Hunt <andr...@ahunt.org> Date: Fri Sep 7 11:43:04 2012 +0200 Use background color directly rather than Color.TRANSPARENT to support 2.3. It appears that Color.TRANSPARENT turns into black on Android < 4. Change-Id: I40312062726696777e218afc382d55b48ac6d42b diff --git a/android/sdremote/src/org/libreoffice/impressremote/PairingActivity.java b/android/sdremote/src/org/libreoffice/impressremote/PairingActivity.java index 0733473..cb65c5c 100644 --- a/android/sdremote/src/org/libreoffice/impressremote/PairingActivity.java +++ b/android/sdremote/src/org/libreoffice/impressremote/PairingActivity.java @@ -47,8 +47,8 @@ public class PairingActivity extends SherlockActivity { } @Override - protected void onPause() { - super.onPause(); + protected void onDestroy() { + super.onDestroy(); unbindService(mConnection); } diff --git a/android/sdremote/src/org/libreoffice/impressremote/PresentationFragment.java b/android/sdremote/src/org/libreoffice/impressremote/PresentationFragment.java index 2d5dfac..2304e43 100644 --- a/android/sdremote/src/org/libreoffice/impressremote/PresentationFragment.java +++ b/android/sdremote/src/org/libreoffice/impressremote/PresentationFragment.java @@ -295,7 +295,7 @@ public class PresentationFragment extends SherlockFragment { * borderWidth, aBitmap.getHeight() + 2 * borderWidth, aBitmap.getConfig()); Canvas canvas = new Canvas(aOut); - canvas.drawColor(Color.TRANSPARENT); + canvas.drawColor(getResources().getColor(R.color.light_grey)); canvas.drawRect(aRect, p); canvas.drawBitmap(aBitmap, null, aRect, null); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits