Merge "Add APIs to notify and restart activity in size compatibility mode"