mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-02-05 12:42:34 -05:00
standardize SDK version test methods
I just took the most common method, using the SDK int value, and applied that throughout the code to have it consistent.
This commit is contained in:
@@ -172,7 +172,7 @@ public abstract class ProviderTestCase2MockContext<T extends ContentProvider> ex
|
||||
|
||||
@TargetApi(Build.VERSION_CODES.HONEYCOMB)
|
||||
private void shutdownProvider() {
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {
|
||||
if (Build.VERSION.SDK_INT >= 11) {
|
||||
mProvider.shutdown();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user