[Android] Fix typo in variable name
Jean-Baptiste Kempf
git at videolan.org
Tue Apr 2 11:19:19 CEST 2013
vlc-ports/android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Apr 2 11:18:57 2013 +0200| [35d25a7a1514b4a86ae3626c2c0efe390cd66a31] | committer: Jean-Baptiste Kempf
Fix typo in variable name
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=35d25a7a1514b4a86ae3626c2c0efe390cd66a31
---
vlc-android/src/org/videolan/vlc/gui/BrowserActivity.java | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/BrowserActivity.java b/vlc-android/src/org/videolan/vlc/gui/BrowserActivity.java
index b6b88da..1837da5 100644
--- a/vlc-android/src/org/videolan/vlc/gui/BrowserActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/BrowserActivity.java
@@ -58,7 +58,7 @@ public class BrowserActivity extends ListActivity {
private BrowserAdapter mAdapter;
private File mCurrentDir;
- private final Stack<ScrollState> mScollStates = new Stack<ScrollState>();
+ private final Stack<ScrollState> mScrollStates = new Stack<ScrollState>();
private String mRoots[];
private class ScrollState {
@@ -104,7 +104,7 @@ public class BrowserActivity extends ListActivity {
super.onDestroy();
unregisterReceiver(messageReceiver);
mAdapter.clear();
- mScollStates.clear();
+ mScrollStates.clear();
}
@Override
@@ -202,7 +202,7 @@ public class BrowserActivity extends ListActivity {
// store scroll state
int index = l.getFirstVisiblePosition();
int top = l.getChildAt(0).getTop();
- mScollStates.push(new ScrollState(index, top));
+ mScrollStates.push(new ScrollState(index, top));
openDir(file);
} else {
Util.toaster(this, R.string.nosubdirectory);
@@ -232,8 +232,8 @@ public class BrowserActivity extends ListActivity {
} else {
openDir(mCurrentDir.getParentFile());
// restore scroll state
- if (mScollStates.size() > 0) {
- ScrollState ss = mScollStates.pop();
+ if (mScrollStates.size() > 0) {
+ ScrollState ss = mScrollStates.pop();
getListView().setSelectionFromTop(ss.index, ss.top);
return true;
}
More information about the Android
mailing list