mirror of
https://github.com/openharmony/ace_ace_engine.git
synced 2026-07-21 09:55:23 -04:00
mediaquery add tablet type
Signed-off-by: huzeqi <huzeqi@huawei.com> Change-Id: I30b7037b6d2fd86beddbefa68a1b503d537f4a23
This commit is contained in:
@@ -33,6 +33,8 @@ std::string MediaQueryInfo::GetDeviceType()
|
||||
return "car";
|
||||
case DeviceType::WATCH:
|
||||
return "wearable";
|
||||
case DeviceType::TABLET:
|
||||
return "tablet";
|
||||
default:
|
||||
return "phone";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user