What is the behavior of TelephonyManager.getDeviceId() in Android L and older dual SIM devices? I know in API Level 23 (Android M) TelephonyManager.getDeviceId(int slotId) was added so that we can specify which SIM slot to retrieve the IMEI from, but what about in older devices? Will the IMEI from the first slot always be returned, or is it non-deterministic? I cannot find any official documentation on this.
Thanks!