The main menu must not be set as a pending activity instance

The instance of StkMenuActivity must be set as a pending activity
instance only if the instance is for the secondary menu. If the instance
for the main menu is mistakenly set, it will unexpectedly be finished in
cleanUpInstanceStackBySlot() when the current session ends.

Bug: 31295030
Change-Id: Idebe3a4a4d8ebe6ce1d94bca5a2ffb7d414ff16c
1 file changed