Never close Keyguard automatically.
Also make the bouncer less translucent, so it looks better when a user double-clicks on a notification (because it is now shown behind, so we need more background protection). Bug: 14059777 Change-Id: I2538b0e04ddc25c25a03c65c8a5bd7855720bbf2
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<View android:id="@+id/bouncer_background"
|
||||
android:background="#aa000000"
|
||||
android:background="#cc000000"
|
||||
android:clickable="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
|
||||
@@ -1668,6 +1668,9 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode,
|
||||
}
|
||||
|
||||
public void animateCollapsePanels(int flags) {
|
||||
if (mState == StatusBarState.KEYGUARD || mState == StatusBarState.SHADE_LOCKED) {
|
||||
return;
|
||||
}
|
||||
if (SPEW) {
|
||||
Log.d(TAG, "animateCollapse():"
|
||||
+ " mExpandedVisible=" + mExpandedVisible
|
||||
|
||||
@@ -108,7 +108,9 @@ public class StatusBarWindowView extends FrameLayout {
|
||||
boolean intercept = false;
|
||||
if (mNotificationPanel.isFullyExpanded()
|
||||
&& mStackScrollLayout.getVisibility() == View.VISIBLE
|
||||
&& mService.getBarState() != StatusBarState.KEYGUARD) {
|
||||
&& (mService.getBarState() == StatusBarState.SHADE
|
||||
|| (mService.getBarState() == StatusBarState.SHADE_LOCKED
|
||||
&& !mService.isBouncerShowing()))) {
|
||||
intercept = mExpandHelper.onInterceptTouchEvent(ev);
|
||||
} else if (mNotificationPanel.isFullyExpanded()
|
||||
&& mStackScrollLayout.getVisibility() == View.VISIBLE
|
||||
|
||||
Reference in New Issue
Block a user