mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-31 17:32:51 +08:00
Very minor changes to the core classes
This commit is contained in:
parent
11794f58aa
commit
24d7521f8c
@ -65,6 +65,7 @@ public class DroidGap extends Activity {
|
||||
appView.getSettings().setJavaScriptEnabled(true);
|
||||
appView.getSettings().setJavaScriptCanOpenWindowsAutomatically(true);
|
||||
|
||||
|
||||
/* Bind the appView object to the gap class methods */
|
||||
bindBrowser(appView);
|
||||
|
||||
@ -131,6 +132,8 @@ public class DroidGap extends Activity {
|
||||
result.confirm();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
@ -26,6 +26,7 @@ import java.util.TimeZone;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.IntentFilter;
|
||||
import android.hardware.SensorManager;
|
||||
import android.net.Uri;
|
||||
import android.os.Vibrator;
|
||||
import android.telephony.TelephonyManager;
|
||||
@ -84,7 +85,6 @@ public class PhoneGap{
|
||||
|
||||
public String getUuid()
|
||||
{
|
||||
|
||||
TelephonyManager operator = (TelephonyManager) mCtx.getSystemService(Context.TELEPHONY_SERVICE);
|
||||
String uuid = operator.getDeviceId();
|
||||
return uuid;
|
||||
|
Loading…
Reference in New Issue
Block a user