diff options
author | Dan Egnor <egnor@google.com> | 2009-06-26 13:20:02 -0700 |
---|---|---|
committer | Dan Egnor <egnor@google.com> | 2009-06-26 13:25:27 -0700 |
commit | 156411df4627336b246db78cddca8248ed615b67 (patch) | |
tree | e0aab41ac43c870e5c464b297418034a50e47d93 /cmds | |
parent | 040441fa992bcfc11070d559bfceeb039667b382 (diff) | |
download | frameworks_base-156411df4627336b246db78cddca8248ed615b67.zip frameworks_base-156411df4627336b246db78cddca8248ed615b67.tar.gz frameworks_base-156411df4627336b246db78cddca8248ed615b67.tar.bz2 |
Use a long for restore token
Diffstat (limited to 'cmds')
-rw-r--r-- | cmds/bmgr/src/com/android/commands/bmgr/Bmgr.java | 4 |
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; |