Currently, device scale factor for wearable profile is calculated
similar to that for mobile profile. But in case of wearable profile,
device scale factor should be "1.0".
Reference: https://review.tizen.org/gerrit/#/c/200822/
Change-Id: I43dd3a79aaed61834138f0a6f5604c5ccd6961de
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
(cherry picked from commit
8ac80870195691dbc4bae901db444358564015a6)
}
double DeviceDisplayInfoEfl::ComputeDIPScale(int dpi) const {
- if (IsMobileProfile() || IsWearableProfile()) {
+ if (IsMobileProfile()) {
double dip_scale = static_cast<double>(GetDensityRange(dpi));
DCHECK(dip_scale);
dip_scale /= kBaselineDPIDensity;