This repository was archived by the owner on Jul 22, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
app/src/common/shared/org/mozilla/vrbrowser/browser/engine Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ private void dumpAllState() {
189
189
190
190
private void dumpState (GeckoSession .NavigationDelegate aListener ) {
191
191
if (mState .mSession != null ) {
192
- aListener .onCanGoBack (mState .mSession , mState . mCanGoBack );
192
+ aListener .onCanGoBack (mState .mSession , canGoBack () );
193
193
aListener .onCanGoForward (mState .mSession , mState .mCanGoForward );
194
194
aListener .onLocationChange (mState .mSession , mState .mUri );
195
195
}
@@ -840,15 +840,15 @@ public void onLocationChange(@NonNull GeckoSession aSession, String aUri) {
840
840
}
841
841
842
842
@ Override
843
- public void onCanGoBack (@ NonNull GeckoSession aSession , boolean aCanGoBack ) {
843
+ public void onCanGoBack (@ NonNull GeckoSession aSession , boolean aGeckoSessionCanGoBack ) {
844
844
if (mState .mSession != aSession ) {
845
845
return ;
846
846
}
847
- Log .d (LOGTAG , "Session onCanGoBack: " + (aCanGoBack ? "true" : "false" ));
848
- mState .mCanGoBack = aCanGoBack ;
847
+ Log .d (LOGTAG , "Session onCanGoBack: " + (aGeckoSessionCanGoBack ? "true" : "false" ));
848
+ mState .mCanGoBack = aGeckoSessionCanGoBack ;
849
849
850
850
for (GeckoSession .NavigationDelegate listener : mNavigationListeners ) {
851
- listener .onCanGoBack (aSession , aCanGoBack );
851
+ listener .onCanGoBack (aSession , canGoBack () );
852
852
}
853
853
}
854
854
You can’t perform that action at this time.
0 commit comments