summaryrefslogtreecommitdiff
path: root/android/sdl_android
diff options
context:
space:
mode:
authorJoey Grover <joeygrover@gmail.com>2020-06-26 13:46:54 -0400
committerJoey Grover <joeygrover@gmail.com>2020-06-26 13:46:54 -0400
commit11a8e7e6552054cf9618a3f21176e8f20bdbbdc5 (patch)
treeb4671aa767abb2c82b499bc8c8884e3c208c0c9d /android/sdl_android
parenta410e24bc4aae3c748e3bb795465b3920f7a0287 (diff)
downloadsdl_android-11a8e7e6552054cf9618a3f21176e8f20bdbbdc5.tar.gz
Add synchronized lock to sdlmanager.dispose
Diffstat (limited to 'android/sdl_android')
-rw-r--r--android/sdl_android/src/main/java/com/smartdevicelink/managers/SdlManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/sdl_android/src/main/java/com/smartdevicelink/managers/SdlManager.java b/android/sdl_android/src/main/java/com/smartdevicelink/managers/SdlManager.java
index 89f2edc4e..b993724ba 100644
--- a/android/sdl_android/src/main/java/com/smartdevicelink/managers/SdlManager.java
+++ b/android/sdl_android/src/main/java/com/smartdevicelink/managers/SdlManager.java
@@ -216,7 +216,7 @@ public class SdlManager extends BaseSdlManager {
*/
@SuppressLint("NewApi")
@Override
- public void dispose() {
+ public synchronized void dispose() {
if (this.permissionManager != null) {
this.permissionManager.dispose();
}