Merge "Introduce a flag to let app get global insets state" into sc-dev