diff options
author | Mert Tumer <merttumer@outlook.com> | 2018-07-06 08:58:56 -0700 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2018-07-12 15:55:03 +0200 |
commit | f5db384409e85a4e98773265be68adad6fe65866 (patch) | |
tree | 71e3ef7c6db4ecb74c1dc45b099c7cc5b9bb5e2a /android | |
parent | 3f3154b265a8ddf32df336caf50594d1f832b1bb (diff) |
tdf#118585 Fix exception when closing Android Viewer
Change-Id: I9d87168dce4b5c6e503d41366aa35d5dadf89dae
Reviewed-on: https://gerrit.libreoffice.org/57081
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'android')
-rw-r--r-- | android/source/src/java/org/libreoffice/ui/LibreOfficeUIActivity.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/android/source/src/java/org/libreoffice/ui/LibreOfficeUIActivity.java b/android/source/src/java/org/libreoffice/ui/LibreOfficeUIActivity.java index 0202e0797b63..e8809973777f 100644 --- a/android/source/src/java/org/libreoffice/ui/LibreOfficeUIActivity.java +++ b/android/source/src/java/org/libreoffice/ui/LibreOfficeUIActivity.java @@ -958,6 +958,7 @@ public class LibreOfficeUIActivity extends AppCompatActivity implements Settings @Override protected void onDestroy() { super.onDestroy(); + unregisterReceiver(mUSBReceiver); Log.d(LOGTAG, "onDestroy"); } |