nicolas2k / google-glass-api

Automatically exported from code.google.com/p/google-glass-api
1 stars 0 forks source link

LiveCard Action corrupted after reenter immersion and publish new LiveCard #433

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Launch GDK into Immersion (Activity)
2. Publish LiveCard with PublishMode.REVEAL
3. Through pending intent menu, intent back into top layer activity, stop 
LiveCard service and unpublished LiveCard
4. Re-publish LiveCard again and this time when you tap on the LiveCard, it 
will shows its parents activity

What is the expected output? What do you see instead?
I expect to see the pending intent that I assigned for the LiveCard instead of 
the parent activity that starts the service

What version of the product are you using? On what operating system?
GDK SDK 15, google glass?

Please provide any additional information below.
I have write a small example to simulate the situation. Feel free to contact me 
at so.jacky311.dev@gmail.com for any detail

Original issue reported on code.google.com by so.jacky...@gmail.com on 7 Mar 2014 at 11:25

GoogleCodeExporter commented 8 years ago
It was my mistake.

I had "mLiveCard.getSurfaceHolder().getSurface().release();" instead of 
"mLiveCard.getSurfaceHolder().removeCallback(mDrawer);"

Original comment by so.jacky...@gmail.com on 12 Mar 2014 at 8:09

GoogleCodeExporter commented 8 years ago

Original comment by ala...@google.com on 16 Apr 2014 at 4:59