mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 10:49:06 +01:00
"Implicit intents with startService are not safe" - use an explicit one.
This commit is contained in:
@@ -69,8 +69,8 @@ public class BriarActivity extends RoboFragmentActivity {
|
||||
}
|
||||
|
||||
private void startAndBindService() {
|
||||
startService(new Intent(BriarService.class.getName()));
|
||||
bound = bindService(new Intent(BriarService.class.getName()),
|
||||
startService(new Intent(this, BriarService.class));
|
||||
bound = bindService(new Intent(this, BriarService.class),
|
||||
serviceConnection, 0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user