Fix ObjectInputStream proxy de-serialization

Proxies were always being deserialized using the System
classloader. In Android apps the System classloader
is not correct: the app's classes (interfaces, etc.)
are loaded by the app classloader.

This was already a solved problem for normal classes
so the fix is trivial.

Bug: 13751920
Change-Id: Ia5accbbcb89e1b9bbafb27b5dbc0fc24650b0a1d
1 file changed