Commit Graph

7 Commits

Author SHA1 Message Date
Fan Zhang
f7802eacfd Sort imports
Having consistent import order will reduce chance of merge
conflict between internal and external master

Test: rebuild
Change-Id: I9acb311ec05f72f0a37f08b0d26785841fe91de5
2018-08-28 15:16:58 -07:00
Aurimas Liutikas
fd52c1433c Migrated SystemUI & SettingsLib to androidx
Test: make SystemUI SettingsLib
Bug:76692459
Change-Id: I248fdf4042a0a97bc6349091da21c936c2d37c95
2018-04-20 12:48:23 -07:00
jeffreyhuang
d32e79feb3 Use uname instead of proc/version
- Update the displayed kernel version to use uname instead

Change-Id: Ie5078645ef88dfdcdbe648ea2e017b20f2579b0c
Fixes: 67006899
Test: Manual with settings app
2017-11-10 15:04:52 -08:00
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