OSDN Git Service
(root)
/
android-x86
/
packages-apps-Launcher3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
232f6a3
)
Close all open views when binding the Launcher.
author
Jon Miranda
<jonmiranda@google.com>
Tue, 21 Feb 2017 20:37:51 +0000
(12:37 -0800)
committer
Jon Miranda
<jonmiranda@google.com>
Tue, 21 Feb 2017 20:37:51 +0000
(12:37 -0800)
This fixes a bug where a work profile remains opened even
after the work profile is removed from the device. This can
occur when the work profile is removed with the Folder still opened.
Bug:
35627777
Change-Id: I8d5b4bd9931cad2316b6b8786501d6b3780b7aca
src/com/android/launcher3/Launcher.java
patch
|
blob
|
history
diff --git
a/src/com/android/launcher3/Launcher.java
b/src/com/android/launcher3/Launcher.java
index
14b9c82
..
624ea4a
100644
(file)
--- a/
src/com/android/launcher3/Launcher.java
+++ b/
src/com/android/launcher3/Launcher.java
@@
-3209,6
+3209,9
@@
public class Launcher extends BaseActivity
if (LauncherAppState.PROFILE_STARTUP) {
Trace.beginSection("Starting page bind");
}
+
+ AbstractFloatingView.closeAllOpenViews(this);
+
setWorkspaceLoading(true);
// Clear the workspace because it's going to be rebound