Merge "Remove PROTOTYPE_APP_CLOSE feature flag and associated code." into sc-v2-dev