Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/jellybean' into ics
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike C committed Dec 12, 2012
2 parents a0ec2b4 + 64aa1f4 commit d7460f8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1220,6 +1220,8 @@ public boolean navigateToHistory(History history) {
(NavigationViewInfoParcelable)realHistory.getItem();
int viewId = info.getId();
NavigationView view = getNavigationView(viewId);
// Selected items must not be restored from on history navigation
info.setSelectedFiles(view.getSelectedFiles());
view.onRestoreState(info);

} else if (realHistory.getItem() instanceof SearchInfoParcelable) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,7 @@ private void doSelectDeselectAllVisibleItems(boolean select) {
theme.getDrawable(
getContext(), "checkbox_deselected_drawable"); //$NON-NLS-1$
}
notifyDataSetChanged();

//Add or remove from the global selected items
FileSystemObject fso = getItem(i);
Expand Down
2 changes: 1 addition & 1 deletion src/com/cyanogenmod/filemanager/util/ExceptionUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ public void run() {
}

//Audit the exception
Log.e(context.getClass().getSimpleName(), "Error dectected", ex); //$NON-NLS-1$
Log.e(context.getClass().getSimpleName(), "Error detected", ex); //$NON-NLS-1$

//Build the alert
final int fMsgResId = msgResId;
Expand Down

0 comments on commit d7460f8

Please sign in to comment.