Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Fix false positive performance monitor detection on Go
Browse files Browse the repository at this point in the history
  • Loading branch information
bluemarvin committed Jul 22, 2019
1 parent 89d07db commit 74a2722
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,7 @@ private void handlePoorPerformance() {
mWindowWidget.showButtonPrompt(getString(R.string.performance_title), getString(R.string.performance_message), buttons, new GeckoSession.PromptDelegate.ButtonCallback() {
@Override
public void confirm(int button) {
if (button == 0) {
if (button == GeckoSession.PromptDelegate.BUTTON_TYPE_NEGATIVE) {
mPoorPerformanceWhiteList.add(originalUrl);
SessionStore.get().loadUri(originalUrl);
}
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/cpp/vrb

0 comments on commit 74a2722

Please sign in to comment.