summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan O'Leary <ryanaoleary@google.com>2022-09-08 19:18:57 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2022-09-08 19:18:57 +0000
commitd8f9d264d82c05b336578008048ea6fcd8921296 (patch)
treeacaa56b34999a6632aadefd51c2ce5066d548560
parentcdbb4f0c34d189146f681481973e8e7ab95ceeae (diff)
parent60f7ff67a936f398e8bfd79b6ff4c42b291fa3c9 (diff)
downloadCalendar-d8f9d264d82c05b336578008048ea6fcd8921296.tar.gz
Merge "Remove wrong class cast" am: 60f7ff67a9
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Calendar/+/2209077 Change-Id: Icf16890c310b2ecc8d8d8cfe5b891388d12fe980 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--src/com/android/calendar/AllInOneActivity.kt3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/android/calendar/AllInOneActivity.kt b/src/com/android/calendar/AllInOneActivity.kt
index 550bc548..b3b45fc1 100644
--- a/src/com/android/calendar/AllInOneActivity.kt
+++ b/src/com/android/calendar/AllInOneActivity.kt
@@ -293,7 +293,6 @@ class AllInOneActivity : Activity(), EventHandler, OnSharedPreferenceChangeListe
mControlsParams = LayoutParams(mControlsAnimateWidth, 0)
}
mControlsParams?.addRule(RelativeLayout.ALIGN_PARENT_RIGHT)
- as RelativeLayout.LayoutParams
} else {
// Make sure width is in between allowed min and max width values
mControlsAnimateWidth = Math.max(
@@ -1062,4 +1061,4 @@ class AllInOneActivity : Activity(), EventHandler, OnSharedPreferenceChangeListe
private var mIsMultipane = false
private var mIsTabletConfig = false
}
-} \ No newline at end of file
+}