Remove unused debug logs
Removing debug logs for bugs that have already been closed. These logs are filling up the logcat buffer and impeding in other test investigations. Flag: not needed Test: Tapl tests Bug: 260260325 Change-Id: I4d69b904f2ea79d758cf6bef7d90d172f2eb2a91
This commit is contained in:
1 parent
47f2dd6a11
commit
fff7cef9f1
20 files changed
+5
-289
No files matched your search
@@ -25,14 +25,12 @@ import android.content.pm.PackageInstaller;
|
||||
import android.content.pm.PackageInstaller.SessionInfo;
|
||||
import android.os.Build;
|
||||
import android.os.UserHandle;
|
||||
import android.util.Log;
|
||||
import android.util.SparseArray;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.annotation.WorkerThread;
|
||||
|
||||
import com.android.launcher3.testing.shared.TestProtocol;
|
||||
import com.android.launcher3.util.PackageUserKey;
|
||||
|
||||
import java.lang.ref.WeakReference;
|
||||
@@ -70,19 +68,10 @@ public class InstallSessionTracker extends PackageInstaller.SessionCallback {
|
||||
public void onCreated(final int sessionId) {
|
||||
InstallSessionHelper helper = mWeakHelper.get();
|
||||
Callback callback = mWeakCallback.get();
|
||||
if (TestProtocol.sDebugTracing) {
|
||||
Log.d(TestProtocol.MISSING_PROMISE_ICON, "Session created sessionId=" + sessionId
|
||||
+ ", callback=" + callback
|
||||
+ ", helper=" + helper);
|
||||
}
|
||||
if (callback == null || helper == null) {
|
||||
return;
|
||||
}
|
||||
SessionInfo sessionInfo = pushSessionDisplayToLauncher(sessionId, helper, callback);
|
||||
if (TestProtocol.sDebugTracing) {
|
||||
Log.d(TestProtocol.MISSING_PROMISE_ICON, "Session created sessionId=" + sessionId
|
||||
+ ", sessionInfo=" + sessionInfo);
|
||||
}
|
||||
if (sessionInfo != null) {
|
||||
callback.onInstallSessionCreated(PackageInstallInfo.fromInstallingState(sessionInfo));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user