mirror of
https://github.com/apache/cordova-android.git
synced 2026-05-11 00:00:05 +08:00
stopped the page reloading when the G1 keyboard is flipped out.
This commit is contained in:
@@ -23,6 +23,7 @@ package com.nitobi.phonegap;
|
||||
*/
|
||||
|
||||
import android.app.Activity;
|
||||
import android.content.res.Configuration;
|
||||
import android.os.Bundle;
|
||||
import android.os.Handler;
|
||||
import android.util.Log;
|
||||
@@ -64,8 +65,12 @@ public class DroidGap extends Activity {
|
||||
appView.loadUrl("file:///android_asset/index.html");
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public void onConfigurationChanged(Configuration newConfig) {
|
||||
//don't reload the current page when the orientation is changed
|
||||
super.onConfigurationChanged(newConfig);
|
||||
}
|
||||
|
||||
private void bindBrowser(WebView appView)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user