So just to be very clear... this was discussed at the Sprint, and as pointed out by Antti in comment #19, krillin's behavior is an anomaly. Mako doesn't support hot-swap.
As supporting hot-swap has the possibility of impacting many other system components ( urfkill, indicator-*, location-here-provider, dialer/messaging apps, network-manager, ... ), we ( the cross functional network/telephony team ) decided *not* to support hot-swap for RTM which is why this bug was created in the first place.
Currently on mako we can detect SIM insert and removal, and thus can prompt the user for both events to restart.
On krillin, our existing code only detects SIM removals.
The code to enable krillin to detect SIM removal is effectively the same thing as enabling hot-swap support in ofono. This support can be toggled in ofono by the defining the environment variable OFONO_RIL_HOT_SIM_SWAP. Note - during the sprint we also confirmed that Android on krillin does fully support hot-swap.
So, we decided not to work on the removal case for RTM, but to instead review full hot-swap support with product management and then release as an OTA update for krillin. The majority of the work required is ensuring that we have a good enough testing story to shake out any regressions found in other components.
So just to be very clear... this was discussed at the Sprint, and as pointed out by Antti in comment #19, krillin's behavior is an anomaly. Mako doesn't support hot-swap.
As supporting hot-swap has the possibility of impacting many other system components ( urfkill, indicator-*, location- here-provider, dialer/messaging apps, network-manager, ... ), we ( the cross functional network/telephony team ) decided *not* to support hot-swap for RTM which is why this bug was created in the first place.
Currently on mako we can detect SIM insert and removal, and thus can prompt the user for both events to restart.
On krillin, our existing code only detects SIM removals.
The code to enable krillin to detect SIM removal is effectively the same thing as enabling hot-swap support in ofono. This support can be toggled in ofono by the defining the environment variable OFONO_RIL_ HOT_SIM_ SWAP. Note - during the sprint we also confirmed that Android on krillin does fully support hot-swap.
So, we decided not to work on the removal case for RTM, but to instead review full hot-swap support with product management and then release as an OTA update for krillin. The majority of the work required is ensuring that we have a good enough testing story to shake out any regressions found in other components.