mirror of
https://github.com/gsantner/dandelion
synced 2024-11-25 05:42:10 +01:00
Removed onPause and onResume in oder to fix issue with image upload
This commit is contained in:
parent
3eb5b2c867
commit
179fb3e741
1 changed files with 0 additions and 16 deletions
|
@ -48,7 +48,6 @@ public class StreamFragment extends WebViewFragment {
|
|||
public static final String TAG = "com.github.dfa.diaspora_android.StreamFragment";
|
||||
|
||||
private DiasporaUrlHelper urls;
|
||||
private Bundle webViewState;
|
||||
|
||||
private ValueCallback<Uri[]> imageUploadFilePathCallbackNew;
|
||||
private ValueCallback<Uri> imageUploadFilePathCallbackOld;
|
||||
|
@ -268,21 +267,6 @@ public class StreamFragment extends WebViewFragment {
|
|||
return super.onOptionsItemSelected(item);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onPause() {
|
||||
super.onPause();
|
||||
webViewState = new Bundle();
|
||||
webView.saveState(webViewState);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onResume() {
|
||||
super.onResume();
|
||||
if(webViewState != null) {
|
||||
webView.restoreState(webViewState);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public ContextMenuWebView getWebView() {
|
||||
AppLog.d(this, "getWebView: "+(this.webView != null));
|
||||
|
|
Loading…
Reference in a new issue