Merge "Initialize Global Actions Panel when one is available" into qt-dev

This commit is contained in:
TreeHugger Robot
2019-04-24 00:51:06 +00:00
committed by Android (Google) Code Review

View File

@@ -1588,6 +1588,7 @@ public class GlobalActionsDialog implements DialogInterface.OnDismissListener,
mBackgroundDrawable = mContext.getDrawable(
com.android.systemui.R.drawable.global_action_panel_scrim);
mScrimAlpha = 1f;
initializePanel();
}
mGlobalActionsLayout.setSnapToEdge(true);
getWindow().setBackgroundDrawable(mBackgroundDrawable);