Fix inappropriate display for inf value of RAM and Storage.

Change-Id: Ie00fa5231648ddef359e42e7195836be10f77996
Closes-Bug: #1261462
Merge "Fix inappropriate display for inf value of RAM and Storage."