Skip to content
Snippets Groups Projects
Commit e945ca2a authored by Andreas Schildbach's avatar Andreas Schildbach
Browse files

MainActivity: Fix usage of deprecated WorkManager API.

parent 807fbd8c
Branches
Tags
No related merge requests found
...@@ -104,7 +104,7 @@ class MainActivity : AppCompatActivity() { ...@@ -104,7 +104,7 @@ class MainActivity : AppCompatActivity() {
.commit() .commit()
} }
val workManager = WorkManager.getInstance() val workManager = WorkManager.getInstance(this)
if (!bluetoothAdapter.bondedDevices.isEmpty() if (!bluetoothAdapter.bondedDevices.isEmpty()
) { ) {
val setClockRequest = val setClockRequest =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment