From 83919c087db93dd871226b4419ccc59057e91f72 Mon Sep 17 00:00:00 2001 From: Jake McGinty Date: Mon, 20 Jul 2015 16:00:16 -0700 Subject: [PATCH] update controls properly on orientation change fixes #3697 closes #3732 // FREEBIE --- .../securesms/components/camera/QuickAttachmentDrawer.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/org/thoughtcrime/securesms/components/camera/QuickAttachmentDrawer.java b/src/org/thoughtcrime/securesms/components/camera/QuickAttachmentDrawer.java index 60c24b3f51..9931d2c70a 100644 --- a/src/org/thoughtcrime/securesms/components/camera/QuickAttachmentDrawer.java +++ b/src/org/thoughtcrime/securesms/components/camera/QuickAttachmentDrawer.java @@ -105,12 +105,11 @@ public class QuickAttachmentDrawer extends ViewGroup { final boolean rotationChanged = this.rotation != rotation; this.rotation = rotation; if (rotationChanged) { - Log.w(TAG, String.format("onNewOrientation(old %d, new %d)", this.rotation, rotation)); if (isOpen()) { quickCamera.onPause(); - setDrawerStateAndAnimate(drawerState); } updateControlsView(); + setDrawerStateAndAnimate(drawerState); } }