Merge "Catch Throwable instead of Exception." into oc-dev am: fff08f9ad3

am: 699a587e1c

Change-Id: Ifb3df8ea58c5a5a25a03d01ed58a731557f0f8aa
This commit is contained in:
Sudheer Shanka
2017-06-16 00:26:00 +00:00
committed by android-build-merger

View File

@@ -812,7 +812,7 @@ abstract class AbstractRestrictBackgroundNetworkTestCase extends Instrumentation
executeSilentShellCommand("am set-inactive " + TEST_APP2_PKG + " " + enabled );
try {
assertAppIdle(enabled); // Sanity check
} catch (Exception e) {
} catch (Throwable e) {
final String afterStats = getUsageStatsDump();
Log.d(TAG, "UsageStats before:\n" + beforeStats);
Log.d(TAG, "UsageStats after:\n" + afterStats);