Commit 2aef7b8f authored by Jeff Sharkey's avatar Jeff Sharkey Committed by The Android Automerger
Browse files

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
parent 15e98cc5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment