Skip to content

Commit

Permalink
MLIBZ-139 removing method I used for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
edatkinvey committed Feb 23, 2015
1 parent 960e0d7 commit 3425f11
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions Kinvey-Xamarin-Android/Push/KinveyGCMService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,6 @@ public KinveyGCMService ()
static object LOCK = new object();
private const string MESSAGE_FROM_GCM = "msg";


public static void AcquireWakeLock(Context context, Intent intent)
{
lock (LOCK)
{
if (sWakeLock == null)
{
var pm = PowerManager.FromContext(context);
sWakeLock = pm.NewWakeLock(WakeLockFlags.Partial, "KinveyGCM");
}
}

sWakeLock.Acquire();
}

protected override void OnHandleIntent(Intent intent)
{

Expand Down

0 comments on commit 3425f11

Please sign in to comment.