diff options
| author | dianlujitao <dianlujitao@lineageos.org> | 2017-09-20 16:00:26 +0800 |
|---|---|---|
| committer | Rashed Abdel-Tawab <rashed@linux.com> | 2017-09-30 22:27:37 -0400 |
| commit | 4bd5204bf4ff80f1ed1b2bf378314fb257a80039 (patch) | |
| tree | ad0f638b4dc453ef7d00b1e4cea9fafb0b4e8c14 | |
| parent | 4153259e4936f33684aae8e688a4fa0d172827c2 (diff) | |
| download | android_hardware_lineage_livedisplay-lineage-15.0.tar.gz android_hardware_lineage_livedisplay-lineage-15.0.tar.bz2 android_hardware_lineage_livedisplay-lineage-15.0.zip | |
livedisplay: Add msm8998 and sdm660 as SDM targetslineage-15.0
Change-Id: Ib695bb993bff098e6606519a4c91216911f1c917
| -rw-r--r-- | Android.mk | 1 | ||||
| -rw-r--r-- | src/LiveDisplay.cpp | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,6 @@ LIVEDISPLAY_TARGETS := msm8916 msm8974 msm8992 msm8994 LIVEDISPLAY_TARGETS += msm8996 msm8937 msm8953 msm8952 +LIVEDISPLAY_TARGETS += msm8998 sdm660 ifeq ($(call is-board-platform-in-list, $(LIVEDISPLAY_TARGETS)),true) diff --git a/src/LiveDisplay.cpp b/src/LiveDisplay.cpp index d186098..f44d2b1 100644 --- a/src/LiveDisplay.cpp +++ b/src/LiveDisplay.cpp @@ -39,7 +39,8 @@ LiveDisplay::LiveDisplay() : mConnected(false), mBackend(NULL) { !strcmp(board, "msm8974") || !strcmp(board, "msm8994")) { mBackend = new LegacyMM(); } else if (!strcmp(board, "msm8996") || !strcmp(board, "msm8937") || - !strcmp(board, "msm8953") || !strcmp(board, "msm8952")) { + !strcmp(board, "msm8953") || !strcmp(board, "msm8952") || + !strcmp(board, "msm8998") || !strcmp(board, "sdm660")) { mBackend = new SDM(); } else { mBackend = NULL; |
