Better activity resolution tests; AFD exceptions.
When calling Intent.resolveActivity(), test the various modes separately. Instead of hard-coding ResolverActivity, require that whatever is returned will be able to update preferred activities. AFD.createOutputStream() now throws IOException to match the createInputStream() behavior. This is a checked exception instead of a RuntimeException, so we're reducing the severity. Bug: 10309677, 10667113 Change-Id: If47a5c71bc5ec5a5070aef5979e2fba948ed29bb
Loading
Please sign in to comment