diff --git a/glean-core/android/src/test/java/mozilla/telemetry/glean/TestUtil.kt b/glean-core/android/src/test/java/mozilla/telemetry/glean/TestUtil.kt index 922cee6fb8..a73bd1ae27 100644 --- a/glean-core/android/src/test/java/mozilla/telemetry/glean/TestUtil.kt +++ b/glean-core/android/src/test/java/mozilla/telemetry/glean/TestUtil.kt @@ -116,7 +116,8 @@ internal fun resetGlean( redirectRobolectricLogs: Boolean = true ) { if (redirectRobolectricLogs) { - ShadowLog.stream = System.out + //ShadowLog.stream = System.out + println(redirectRobolectricLogs) } // We're using the WorkManager in a bunch of places, and Glean will crash diff --git a/samples/android/app/build.gradle b/samples/android/app/build.gradle index 70bafa3fb8..b722044c95 100644 --- a/samples/android/app/build.gradle +++ b/samples/android/app/build.gradle @@ -11,6 +11,14 @@ apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' android { + signingConfigs { + release { + storeFile file('E:\\Mozilla\\AndroidKeystore\\sample_glean_store.jks') + storePassword 'password' + keyAlias = 'key0' + keyPassword 'password' + } + } compileSdkVersion rootProject.ext.build.compileSdkVersion defaultConfig { @@ -27,6 +35,9 @@ android { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' + debuggable true + signingConfig signingConfigs.release +// This is required in order for the build to be profileable. } } }