Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added more permissions

  • Loading branch information...
commit 576e8b026f19159d2e6252884d0a149c68695a9d 1 parent 5422d0f
Dan Ziemba authored
Showing with 3 additions and 1 deletion.
  1. +3 −0  AndroidManifest.xml
  2. +0 −1  src/com/cse694/LoginActivity.java
3  AndroidManifest.xml
View
@@ -6,6 +6,9 @@
<uses-sdk android:minSdkVersion="10" />
<uses-permission android:name="android.permission.INTERNET"/>
+ <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
+ <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
+ <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<application
android:icon="@drawable/ic_launcher"
1  src/com/cse694/LoginActivity.java
View
@@ -94,7 +94,6 @@ private void checkLoginInfo() {
public static Boolean isLoggedIn(Context context) {
SharedPreferences settings = context.getSharedPreferences(LOGIN_STORE, MODE_PRIVATE);
- Log.i("Buzzer",settings.getAll().toString());
return settings.getBoolean("loggedin", false);
}
Please sign in to comment.
Something went wrong with that request. Please try again.