Add the log for SidecarFragment
The system miss the SidecarFragment result, so the settings did not
active the esim.
Bug: 302505660
Test: NA
Change-Id: I746812220fed001eddc7d4aeeaf7aa0b04b86692
diff --git a/src/com/android/settings/network/SwitchSlotSidecar.java b/src/com/android/settings/network/SwitchSlotSidecar.java
index 7005452..72ece04 100644
--- a/src/com/android/settings/network/SwitchSlotSidecar.java
+++ b/src/com/android/settings/network/SwitchSlotSidecar.java
@@ -130,11 +130,13 @@
} catch (UiccSlotsException e) {
result.exception = e;
}
+ Log.i(TAG, "return command.");
return result;
}
@Override
protected void onPostExecute(Result result) {
+ Log.i(TAG, "onPostExecute: get result");
if (result.exception == null) {
setState(State.SUCCESS, Substate.UNUSED);
} else {