Permalink
Browse files

CHANGE_WIFI_STATE permission

  • Loading branch information...
1 parent a04d524 commit b42c6d2b1c4617598ca5b3f1d6ec08d44c119de7 @geometer geometer committed Jan 18, 2012
View
@@ -6,7 +6,6 @@
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
- <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
<uses-permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE" />
<application android:name="org.geometerplus.zlibrary.ui.android.library.ZLAndroidApplication" android:icon="@drawable/fbreader" android:label="FBReader">
<activity android:name=".library.BugReportActivity" android:label="FBReader crash" android:configChanges="orientation|keyboardHidden" android:process=":crash" />
@@ -6,7 +6,6 @@
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
- <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
<uses-permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE" />
<application android:name="org.geometerplus.zlibrary.ui.android.library.ZLAndroidApplication" android:icon="@drawable/fbreader" android:label="FBReader">
<activity android:name=".library.BugReportActivity" android:label="FBReader crash" android:configChanges="orientation|keyboardHidden" android:process=":crash" />
View
@@ -1,5 +1,6 @@
===== 1.3.4 (??? ??, 2012) =====
* About section in the preferences dialog
+* CHANGE_WIFI_STATE permission is not required more
===== 1.3.3 (Jan 18, 2012) =====
* Proguard -dontoptimize option, looks like these optimizations are buggy :(
@@ -83,6 +83,7 @@ public void onClick(View view) {
errorView.setVisibility(View.VISIBLE);
errorView.setText(myResource.getResource("turnWiFiOn").getValue());
+ /*
final Button turnOnButton = (Button)buttonView.findViewById(R.id.ok_button);
turnOnButton.setText(buttonResource.getResource("turnOn").getValue());
turnOnButton.setOnClickListener(new View.OnClickListener() {
@@ -91,6 +92,9 @@ public void onClick(View view) {
finish();
}
});
+ */
+ buttonView.findViewById(R.id.ok_button).setVisibility(View.GONE);
+ cancelButton.setText(buttonResource.getResource("ok").getValue());
myLock = null;
} else {

0 comments on commit b42c6d2

Please sign in to comment.