*Issue: *
HOOK activity of customized setup wizard run twice. *Detail:* We had tried the sample code for customized setup wizard from ATV partner site( https://support.google.com/androidpartners_androidtv/answer/9165339?hl=en&ref_topic=7507141 ). Therefore, we found the HOOK activity will be triggered twice. After analyzing the code, we found it may be relative to “provisioned upgrade”. For example, regarding HookEndActivity, first time it was triggered by SetupWraith: SetupActivity.MainActivity. (check log here: 12-11 18:51:31.835 1508 1508 D SetupWraith: SetupActivity.MainActivity: startActivityForResult Intent { cmp=com.android.tvsetup.partnercustomizer/.HookEndActivity (has extras) } ) the second time it was triggered by SetupActivity.PostUpgradeActivity: startActivityForResult(check log here: 12-11 18:54:05.187 1508 1508 D SetupWraith: SetupActivity.PostUpgradeActivity: startActivityForResult Intent { cmp=com.android.tvsetup.partnercustomizer/.HookEndActivity (has extras) } ) Thus we suspect provisioned upgrade triggering the second run of customized setup wizard. *Solution:* Currently, we try skip the second run of customized setup wizard by judge the value of the intent extra value -"post_provisioned_upgrade" Please help confirm our suspect and solution. -- -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting --- You received this message because you are subscribed to the Google Groups "android-porting" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.