Skip to content
Commit 700fc55a authored by Yongqin Liu's avatar Yongqin Liu Committed by Nick Desaulniers
Browse files

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

Fixes: 32547905
Test: manual inspection of clang and gcc build kernel Settings.
Change-Id: I9b7991681cb5abdf44e7d1d1bff84c7c866be2ed
Signed-off-by: default avatarYongqin Liu <yongqin.liu@linaro.org>
parent 61492c85
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment