Commit Graph

4 Commits

Author SHA1 Message Date
Yongqin Liu
fa89b60167 DeviceInfoUtils.java: support to show kernel version compiled with clang
The kernel version displayed in settings is only shown correctly
when built with gcc, this change adds support for a kernel built
with clang.

Test: manually on hikey with following command:
adb shell am instrument -w -e class com.android.settings.DeviceInfoSettingsTest com.android.settings.tests.unit/android.support.test.runner.AndroidJUnitRunner

Change-Id: I9b7991681cb5abdf44e7d1d1bff84c7c866be2ed
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2017-08-24 19:19:09 +08:00
Nick Desaulniers
7091e2fdc0 DeviceInfoUtils: support clang kernel version
Test: view settings
Bug: 32455817
Change-Id: Iaaf8021fa743c74c8052b6a3352ef15b40cc4974
2016-10-31 11:35:08 -07:00
Fan Zhang
75ee8d18f1 Move phone number formatting logic into DeviceInfoUtils.
Bug: 28419411
Change-Id: Ib9a0ad60d44e4e24fdb6484d5bb582f4f796f8b3
2016-07-06 15:30:57 -07:00
Tony Mantler
e92cf6d739 Move some methods to DeviceInfoUtils in SettingsLib
Change-Id: I646c89c2803e4386a4b24f10ec186871768e7239
2015-11-16 09:44:52 -08:00