From 485c3a16cef38136a821e79a5fe37df4e1779d28 Mon Sep 17 00:00:00 2001 From: Christian Sonntag Date: Thu, 4 Mar 2010 14:59:04 -0800 Subject: fix hex parsing of bmgr --- cmds/bmgr/src/com/android/commands/bmgr/Bmgr.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmds/bmgr/src') diff --git a/cmds/bmgr/src/com/android/commands/bmgr/Bmgr.java b/cmds/bmgr/src/com/android/commands/bmgr/Bmgr.java index 7e9fd61..67c658d 100644 --- a/cmds/bmgr/src/com/android/commands/bmgr/Bmgr.java +++ b/cmds/bmgr/src/com/android/commands/bmgr/Bmgr.java @@ -311,7 +311,7 @@ public final class Bmgr { doRestorePackage(arg); } else { try { - long token = Long.parseLong(nextArg(), 16); + long token = Long.parseLong(arg, 16); doRestoreAll(token); } catch (NumberFormatException e) { showUsage(); -- cgit v1.1