Skip to content

Commit

Permalink
Clean up instances of Android platform until it's opensourced
Browse files Browse the repository at this point in the history
RELNOTES=n/a

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=193965040
  • Loading branch information
ronshapiro committed Apr 24, 2018
1 parent 019f11b commit 3794de6
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@
public final class PlatformProviderGenerator {
private static final String[] PLATFORM_CLASSES =
new String[] {
// Note: Order matters. The Android platform should come first, as it may coexist with
// GooglePlatform in certain cases.
"Lcom/google/common/flogger/backend/android/AndroidPlatform;",
"Lcom/google/common/flogger/backend/system/DefaultPlatform;",
};

Expand Down
1 change: 0 additions & 1 deletion api/proguard.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# Don't warn about the platforms not being found - they aren't available
# everywhere, by design. Platforms are loaded dynamically at runtime.
-dontwarn com.google.common.flogger.backend.android.AndroidPlatform
-dontwarn com.google.common.flogger.backend.system.DefaultPlatform
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ public abstract class Platform {
// used.
private static final String[] AVAILABLE_PLATFORMS =
new String[] {
// Look for Android first as reflection is slow on Android, so don't test others first.
ANDROID_PLATFORM,
// The fallback/default platform gives a workable, logging backend.
DEFAULT_PLATFORM
};
Expand Down

0 comments on commit 3794de6

Please sign in to comment.