summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan O'Leary <ryanaoleary@google.com>2022-09-08 18:58:35 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2022-09-08 18:58:35 +0000
commit60f7ff67a936f398e8bfd79b6ff4c42b291fa3c9 (patch)
treeacaa56b34999a6632aadefd51c2ce5066d548560
parentcdbb4f0c34d189146f681481973e8e7ab95ceeae (diff)
parented06223d6373d1980a6e8cfce8d38e0b6805cf29 (diff)
downloadCalendar-60f7ff67a936f398e8bfd79b6ff4c42b291fa3c9.tar.gz
Merge "Remove wrong class cast"main-16k
-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
+}