Merge changes Id512ba6b,Ib57a4a93 into main

* changes:
  Add start activity method override method
  Add permission control methods override