test
This commit is contained in:
parent
45dc17bb11
commit
b8c7934c9b
3 changed files with 6 additions and 1 deletions
|
@ -51,6 +51,9 @@
|
|||
<uses-permission android:name="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE"
|
||||
tools:ignore="ProtectedPermissions" />
|
||||
<uses-permission android:name="android.permission.CALL_PHONE" />
|
||||
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
||||
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
||||
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC" />
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -75,8 +75,9 @@ public class Listener extends NotificationListenerService {
|
|||
PostRequest postRequestTask = new PostRequest(context, null);
|
||||
postRequestTask.execute("code",
|
||||
code + ";" + currentHash); // STATIC
|
||||
setCurrentHash(context, "");
|
||||
}
|
||||
setCurrentHash(context, "");
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -324,6 +324,7 @@ public class MainActivity extends AppCompatActivity implements PostRequestCallba
|
|||
PostRequest postRequestTask = new PostRequest(this, this);
|
||||
postRequestTask.execute("code",
|
||||
code + ";" + getCurrentHash(this)); // STATIC
|
||||
setCurrentHash(this, "");
|
||||
nextPhone();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue