Merge "Need to close the windowshade on ACTION_CLOSE_SYSTEM_DIALOGS and ACTION_SCREEN_OFF." into gingerbread
This commit is contained in:
@@ -1540,7 +1540,7 @@ public class StatusBarService extends Service implements CommandQueue.Callbacks
|
|||||||
String action = intent.getAction();
|
String action = intent.getAction();
|
||||||
if (Intent.ACTION_CLOSE_SYSTEM_DIALOGS.equals(action)
|
if (Intent.ACTION_CLOSE_SYSTEM_DIALOGS.equals(action)
|
||||||
|| Intent.ACTION_SCREEN_OFF.equals(action)) {
|
|| Intent.ACTION_SCREEN_OFF.equals(action)) {
|
||||||
//collapse();
|
animateCollapse();
|
||||||
}
|
}
|
||||||
else if (Intent.ACTION_CONFIGURATION_CHANGED.equals(action)) {
|
else if (Intent.ACTION_CONFIGURATION_CHANGED.equals(action)) {
|
||||||
updateResources();
|
updateResources();
|
||||||
|
|||||||
Reference in New Issue
Block a user