Revert "Add APIs which can get information of display and area"