summaryrefslogtreecommitdiffstats
path: root/cmds/bmgr
diff options
context:
space:
mode:
authorDan Egnor <egnor@google.com>2009-06-26 13:20:02 -0700
committerDan Egnor <egnor@google.com>2009-06-26 13:25:27 -0700
commit156411df4627336b246db78cddca8248ed615b67 (patch)
treee0aab41ac43c870e5c464b297418034a50e47d93 /cmds/bmgr
parent040441fa992bcfc11070d559bfceeb039667b382 (diff)
downloadframeworks_base-156411df4627336b246db78cddca8248ed615b67.zip
frameworks_base-156411df4627336b246db78cddca8248ed615b67.tar.gz
frameworks_base-156411df4627336b246db78cddca8248ed615b67.tar.bz2
Use a long for restore token
Diffstat (limited to 'cmds/bmgr')
-rw-r--r--cmds/bmgr/src/com/android/commands/bmgr/Bmgr.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmds/bmgr/src/com/android/commands/bmgr/Bmgr.java b/cmds/bmgr/src/com/android/commands/bmgr/Bmgr.java
index 68caa26..c299bff 100644
--- a/cmds/bmgr/src/com/android/commands/bmgr/Bmgr.java
+++ b/cmds/bmgr/src/com/android/commands/bmgr/Bmgr.java
@@ -205,9 +205,9 @@ public final class Bmgr {
}
private void doRestore() {
- int token;
+ long token;
try {
- token = Integer.parseInt(nextArg());
+ token = Long.parseLong(nextArg());
} catch (NumberFormatException e) {
showUsage();
return;