Add method to determine if launcher is in split selection state
* Available for both launcher and taskbar via ActivityContext Bug: 295981634 Change-Id: I8767deea0b2432da3047209037874c966b83c3b3
This commit is contained in:
1 parent
a6b74ffdfc
commit
1525cd7269
3 files changed
+11
-2
No files matched your search
@@ -145,6 +145,15 @@ public interface ActivityContext {
|
||||
// Overridden, intentionally empty
|
||||
}
|
||||
|
||||
/**
|
||||
* @return {@code true} if user has selected the first split app and is in the process of
|
||||
* selecting the second
|
||||
*/
|
||||
default boolean isSplitSelectionEnabled() {
|
||||
// Overridden
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* The root view to support drag-and-drop and popup support.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user