summaryrefslogtreecommitdiffstats
path: root/cmds/bmgr/src
diff options
context:
space:
mode:
authorChristian Sonntag <cxs@google.com>2010-03-04 14:59:04 -0800
committerChristian Sonntag <cxs@google.com>2010-03-04 14:59:04 -0800
commit485c3a16cef38136a821e79a5fe37df4e1779d28 (patch)
treeb8c6d546e9bb365c347ffc0f936a1f18e5ab2f3a /cmds/bmgr/src
parent4a3c3b23d0aa87a68088976b4f397be116cd2338 (diff)
downloadframeworks_base-485c3a16cef38136a821e79a5fe37df4e1779d28.zip
frameworks_base-485c3a16cef38136a821e79a5fe37df4e1779d28.tar.gz
frameworks_base-485c3a16cef38136a821e79a5fe37df4e1779d28.tar.bz2
fix hex parsing of bmgr
Diffstat (limited to 'cmds/bmgr/src')
-rw-r--r--cmds/bmgr/src/com/android/commands/bmgr/Bmgr.java2
1 files changed, 1 insertions, 1 deletions
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();