Merge "Need to close the windowshade on ACTION_CLOSE_SYSTEM_DIALOGS and ACTION_SCREEN_OFF." into gingerbread

This commit is contained in:
Joe Onorato
2010-08-26 13:54:13 -07:00
committed by Android (Google) Code Review

View File

@@ -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();