OSDN Git Service

Closing folder in onSaveInstanceState
authorSunny Goyal <sunnygoyal@google.com>
Mon, 14 Mar 2016 21:08:12 +0000 (14:08 -0700)
committerSunny Goyal <sunnygoyal@google.com>
Tue, 15 Mar 2016 16:44:49 +0000 (09:44 -0700)
commit44d0b5355d2dd39f6d1b0349bc3685ec4573a04a
tree888fd19e997fde3cd6cdbc4c52c86f4f25247994
parent0da3bc6cfbd4de056e15100a0e2b2bc9e85a5d73
Closing folder in onSaveInstanceState

folderInfo.isOpened is part of static model, where is the open folder
state is part of the UI. This resets the static model, when the
UI is about to be reset
This also causes the folders to get closed when launcher gets hidden

Partial revert of: Ie1318b82b497957b99603b11ec338dd50d51b962

Bug: 275962912490049627624924
Change-Id: I30c2bb99a19fdd95a1b997d07066f80be812e2c0
src/com/android/launcher3/Launcher.java