HI - We have 2 different Gadgets and both are belongs to same application. One Gadget belongs to A-B class and second Gadget belongs to C-D class. A-B class gadget has button and it is calling activity of same class. Our issue is, sometimes Button activity is not referring to A-B class. It is referring to C-D class and throwing error as rule not found exception. We have verified clipboard and identified "pyDisplayHarness" page is referring to different class based on which gadget loads first. If A-B class gadget loads first then primary page is referring to A-B. If C-D class gadget loads first then primary page refers to C-D class. It refers correctly if we load two gadgets with different thread. But our requirement is to load two gadgets with same thread.
If anyone experience this issue, please let us know the solution.