Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0035e383 authored by Jorim Jaggi's avatar Jorim Jaggi
Browse files

Make sure to use right thread to change icon

Not sure why this ever worked.

Change-Id: Ib044236856522fb9d9e737c885d5e9223e5f3fe3
parent 41a324eb
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -465,10 +465,15 @@ public class NavigationBarView extends LinearLayout {
                }

                @Override
                public void onDockedStackExistsChanged(boolean exists) throws RemoteException {
                public void onDockedStackExistsChanged(final boolean exists) throws RemoteException {
                    mHandler.post(new Runnable() {
                        @Override
                        public void run() {
                            updateRecentsIcon(exists);
                        }
                    });
                }
            });
        } catch (RemoteException e) {
            Log.e(TAG, "Failed registering docked stack exists listener", e);
        }