Cleanup for TAPL Debugging
Cleaning up leftover log statements. Flag: EXEMPT bugfix Bug: 324419890 Test: Manual Change-Id: I54145d07f0699f68c44aaa34e1692c8fe2f7b780
This commit is contained in:
1 parent
2eea74b623
commit
fc6cc4e409
2 files changed
-12
No files matched your search
@@ -20,7 +20,6 @@ import static android.platform.test.flag.junit.SetFlagsRule.DefaultInitValueType
|
||||
import static androidx.test.InstrumentationRegistry.getInstrumentation;
|
||||
|
||||
import static com.android.launcher3.testing.shared.TestProtocol.ICON_MISSING;
|
||||
import static com.android.launcher3.testing.shared.TestProtocol.WIDGET_CONFIG_NULL_EXTRA_INTENT;
|
||||
import static com.android.launcher3.util.Executors.MAIN_EXECUTOR;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
@@ -563,23 +562,13 @@ public abstract class AbstractLauncherUiTest<LAUNCHER_TYPE extends Launcher> {
|
||||
|
||||
@Override
|
||||
public void onReceive(Context context, Intent intent) {
|
||||
Log.d(WIDGET_CONFIG_NULL_EXTRA_INTENT, intent == null
|
||||
? "AbstractLauncherUiTest.onReceive(): inputted intent NULL"
|
||||
: "AbstractLauncherUiTest.onReceive(): inputted intent NOT NULL");
|
||||
mIntent = intent;
|
||||
latch.countDown();
|
||||
Log.d(WIDGET_CONFIG_NULL_EXTRA_INTENT,
|
||||
"AbstractLauncherUiTest.onReceive() Countdown Latch started");
|
||||
}
|
||||
|
||||
public Intent blockingGetIntent() throws InterruptedException {
|
||||
Log.d(WIDGET_CONFIG_NULL_EXTRA_INTENT,
|
||||
"AbstractLauncherUiTest.blockingGetIntent()");
|
||||
assertTrue("Timed Out", latch.await(DEFAULT_BROADCAST_TIMEOUT_SECS, TimeUnit.SECONDS));
|
||||
mTargetContext.unregisterReceiver(this);
|
||||
Log.d(WIDGET_CONFIG_NULL_EXTRA_INTENT, mIntent == null
|
||||
? "AbstractLauncherUiTest.onReceive(): mIntent NULL"
|
||||
: "AbstractLauncherUiTest.onReceive(): mIntent NOT NULL");
|
||||
return mIntent;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user