File tree 2 files changed +2
-2
lines changed
java/softwaremobility/darkgeat/sunshine
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 8
8
<uses-permission android : name =" android.permission.ACCESS_NETWORK_STATE" />
9
9
<uses-permission android : name =" android.permission.VIBRATE" />
10
10
<uses-permission android : name =" android.permission.INTERNET" />
11
+
11
12
<uses-permission android : name =" com.google.android.c2dm.permission.RECEIVE" />
12
13
<permission android : name =" softwaremobility.darkgeat.sunshine.permission.C2D_MESSAGE"
13
14
android : protectionLevel =" signature" />
14
15
<uses-permission android : name =" softwaremobility.darkgeat.sunshine.permission.C2D_MESSAGE" />
15
16
16
-
17
17
<application
18
18
android : allowBackup =" true"
19
19
android : icon =" @mipmap/ic_launcher"
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ protected void onCreate(Bundle savedInstanceState) {
59
59
mGcm = GoogleCloudMessaging .getInstance (this );
60
60
String regId = getRegistrationId (this );
61
61
62
- if (SENDER_ID .equals (getString (R .string .projectIdNumber ))) {
62
+ if (! SENDER_ID .equals (getString (R .string .projectIdNumber ))) {
63
63
new AlertDialog .Builder (this )
64
64
.setTitle ("Needs Sender ID" )
65
65
.setMessage ("GCM will not function in Sunshine until you replace your Sender ID with a Sender ID from the Google Developers Console." )
You can’t perform that action at this time.
0 commit comments