Loading core/java/android/widget/Toast.java +6 −1 Original line number Original line Diff line number Diff line Loading @@ -120,7 +120,12 @@ public class Toast { */ */ public void cancel() { public void cancel() { mTN.hide(); mTN.hide(); // TODO this still needs to cancel the inflight notification if any try { getService().cancelToast(mContext.getPackageName(), mTN); } catch (RemoteException e) { // Empty } } } /** /** Loading Loading
core/java/android/widget/Toast.java +6 −1 Original line number Original line Diff line number Diff line Loading @@ -120,7 +120,12 @@ public class Toast { */ */ public void cancel() { public void cancel() { mTN.hide(); mTN.hide(); // TODO this still needs to cancel the inflight notification if any try { getService().cancelToast(mContext.getPackageName(), mTN); } catch (RemoteException e) { // Empty } } } /** /** Loading