Replicant 6.0 build-process and testing-images for the i9300 » SysUI-Update-dismiss-callbacks-for-external-keyguard.patch
packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java | ||
---|---|---|
1184 | 1184 |
private KeyguardExternalView.KeyguardExternalViewCallbacks mExternalKeyguardViewCallbacks = |
1185 | 1185 |
new KeyguardExternalView.KeyguardExternalViewCallbacks() { |
1186 | 1186 |
@Override |
1187 |
public void dismiss() {
|
|
1187 |
public boolean requestDismiss() {
|
|
1188 | 1188 |
if (hasExternalKeyguardView()) { |
1189 | 1189 |
mStatusBar.setBarState(StatusBarState.KEYGUARD); |
1190 | 1190 |
mStatusBar.showBouncer(); |
1191 |
return true; |
|
1191 | 1192 |
} |
1193 |
return false; |
|
1192 | 1194 |
} |
1193 | 1195 | |
1194 | 1196 |
@Override |
1195 |
public void dismissAndStartActivity(Intent intent) {
|
|
1197 |
public boolean requestDismissAndStartActivity(Intent intent) {
|
|
1196 | 1198 |
if (hasExternalKeyguardView()) { |
1197 | 1199 |
mStatusBar.setBarState(StatusBarState.KEYGUARD); |
1198 | 1200 |
mStatusBar.startActivity(intent, true); |
1201 |
return true; |
|
1199 | 1202 |
} |
1203 |
return false; |
|
1200 | 1204 |
} |
1201 | 1205 | |
1202 | 1206 |
@Override |