diff options
author | Kenny Root <kroot@google.com> | 2010-09-30 14:11:39 -0700 |
---|---|---|
committer | Kenny Root <kroot@google.com> | 2010-09-30 17:25:05 -0700 |
commit | 735de3b38abbd6564082a819377673ee593744a6 (patch) | |
tree | ec309587616c5abbc49df83d7d21b6a3b3e9dfbd /packages/DefaultContainerService | |
parent | 27358a69b33eaa268ee75ef778ec824c8085adcc (diff) | |
download | frameworks_base-735de3b38abbd6564082a819377673ee593744a6.zip frameworks_base-735de3b38abbd6564082a819377673ee593744a6.tar.gz frameworks_base-735de3b38abbd6564082a819377673ee593744a6.tar.bz2 |
Hash keys with MD5; track IBinders not IInterface
Using a plaintext password doesn't work unless it's a certain length, so
just hash the plaintext password with MD5 to make it the right length
for the twofish encryption.
Tracking the IInterface doesn't make much sense since it's different
each time, so track the IBinder instead. That way we can unlinkToDeath
the binder when the last thing it's holding onto goes away.
Change-Id: Id828d25b4d74f27e9d8b4bfb3909c964469cc473
Diffstat (limited to 'packages/DefaultContainerService')
-rw-r--r-- | packages/DefaultContainerService/src/com/android/defcontainer/DefaultContainerService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/DefaultContainerService/src/com/android/defcontainer/DefaultContainerService.java b/packages/DefaultContainerService/src/com/android/defcontainer/DefaultContainerService.java index eb86277..ce10f5b 100644 --- a/packages/DefaultContainerService/src/com/android/defcontainer/DefaultContainerService.java +++ b/packages/DefaultContainerService/src/com/android/defcontainer/DefaultContainerService.java @@ -159,7 +159,7 @@ public class DefaultContainerService extends IntentService { try { return ObbScanner.getObbInfo(filename); } catch (IOException e) { - Log.d(TAG, "Couldn't get OBB info", e); + Log.d(TAG, "Couldn't get OBB info for " + filename); return null; } } |