mirror of
https://github.com/leanote/leanote-android.git
synced 2025-10-14 14:10:56 +00:00
fix pass null to callback.onDestroy()
This commit is contained in:
@@ -48,12 +48,12 @@ public class ActionModeHandler<T> {
|
||||
|
||||
@Override
|
||||
public void onDestroyActionMode(ActionMode mode) {
|
||||
mActionMode = null;
|
||||
mPendingItems = null;
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
|
||||
mContext.getWindow().setStatusBarColor(mContext.getResources().getColor(R.color.colorPrimary));
|
||||
}
|
||||
mCallback.onDestroy(mPendingItems);
|
||||
mActionMode = null;
|
||||
mPendingItems = null;
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user