Merge "Catch Throwable instead of Exception." into oc-dev am: fff08f9ad3
am: 699a587e1c
Change-Id: Ifb3df8ea58c5a5a25a03d01ed58a731557f0f8aa
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user