commit | 87b5eb689b49cc121961e95f0a5c929ee8ad6618 | [log] [tgz] |
---|---|---|
author | Sunny Goyal <sunnygoyal@google.com> | Tue Jul 03 15:53:39 2018 -0700 |
committer | Sunny Goyal <sunnygoyal@google.com> | Wed Jul 11 14:35:51 2018 -0700 |
tree | 3c846baa0e5403b49acacda51bf452ca84b8f771 | |
parent | 17b7d3659451472302f200c5b27174e03c735520 [diff] [blame] |
Exposing some private methods to easily customize arrow popup Change-Id: I6f6dc0604a616f26c0879732a0237767ddbfdccc
diff --git a/src/com/android/launcher3/Launcher.java b/src/com/android/launcher3/Launcher.java index 9f16857..7ab9768 100644 --- a/src/com/android/launcher3/Launcher.java +++ b/src/com/android/launcher3/Launcher.java
@@ -2405,10 +2405,7 @@ } public static Launcher getLauncher(Context context) { - if (context instanceof Launcher) { - return (Launcher) context; - } - return ((Launcher) ((ContextWrapper) context).getBaseContext()); + return (Launcher) fromContext(context); } /**