I have filed this bug with Google.  It only happens with Android 4.2.2. 
 Android 4.1.2 works as expected.

App launcher shortcuts and widgets disappear after changing launcher 
activity
https://code.google.com/p/android/issues/detail?id=54720

On Tuesday, April 23, 2013 4:56:43 PM UTC-4, AndreiP wrote:
>
> Alright. We renamed the main acitvity back to what it was and it's mostly 
> fixed itself. We left the new design icon in there and only on Nexus 10 
> 4.2.2 we still see the old icon for some time after update but at least 
> there is an icon and we can live with that. All other Nexus devices update 
> as expected now. 
> By the way thank you RichardC for the article. Just read it. Indeed we 
> broke the rule 
> "If the name of a main activity of your application is changed, any 
> shortcuts the user made to it will no longer work. A shortcut is an Intent 
> that directly specifies the ComponentName it should run.".  In this case 
> the OS Launcher being the user.
> Case closed.
>
> On Tuesday, April 23, 2013 8:03:48 AM UTC-7, RichardC wrote:
>>
>> Read the "Things That Cannot Change" article by Dianne Hackborn - I think 
>> you may have broken some of the assumptions:
>>
>> http://android-developers.blogspot.co.uk/2011/06/things-that-cannot-change.html
>>
>>
>> On Tuesday, April 23, 2013 7:52:50 AM UTC+1, Andrei Ponomarenko wrote:
>>>
>>> The problem happens only on 4.2.x devices. After the upgrade of our app 
>>> the app launcher icon is invisible. It flashes for a split second during 
>>> the upgrade (adb install -r NewVersion.apk) but then removed.
>>> If I force stop the Launcher it appears. It also appears on it's own 
>>> after a long time - a few hours. Obviously it is not acceptable for user 
>>> installations. Fresh installation doesn't have this problem.
>>> What could have possibly caused it - we have renamed the main activity 
>>> of our product and changed the icon, but we are not sure is this really the 
>>> reason. Like I mentioned it wasn't the problem at all until 4.2.2 came 
>>> along. Any suggestion on what can be done in the project to make the new 
>>> icon show up right away is very welcome. 
>>> Regards,
>>> Andrei
>>>
>>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to