From c8f812ae1060d2fd15f6e436833ba7d37bf9ae75 Mon Sep 17 00:00:00 2001 From: Mathew Inwood Date: Fri, 17 Aug 2018 14:26:58 +0100 Subject: [PATCH] Code reformatting for upcoming automated code changes. Adding annotations to individual fields cannot be easily done when there are two fields defined in a single statement. Put each definition in a statement of its own. See go/UnsupportedAppUsage for more context. Bug: 110868826 Test: m Change-Id: I34e163d0984fcb666c1ea8788791f5a7740c8892 --- core/java/android/transition/Scene.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/java/android/transition/Scene.java b/core/java/android/transition/Scene.java index 4267a658c8f96..44b6e1f3269c8 100644 --- a/core/java/android/transition/Scene.java +++ b/core/java/android/transition/Scene.java @@ -35,7 +35,8 @@ public final class Scene { private int mLayoutId = -1; private ViewGroup mSceneRoot; private View mLayout; // alternative to layoutId - Runnable mEnterAction, mExitAction; + Runnable mEnterAction; + Runnable mExitAction; /** * Returns a Scene described by the resource file associated with the given @@ -267,4 +268,4 @@ public final class Scene { boolean isCreatedFromLayoutResource() { return (mLayoutId > 0); } -} \ No newline at end of file +}