From 993c337eebfdc520b7a02ce9e03023d0f755fb46 Mon Sep 17 00:00:00 2001 From: Romain Hunault Date: Thu, 16 Aug 2018 12:01:52 +0200 Subject: [PATCH] Add display version inside build info --- src/Helpers/Build.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Helpers/Build.php b/src/Helpers/Build.php index 851d7e4..2421d00 100644 --- a/src/Helpers/Build.php +++ b/src/Helpers/Build.php @@ -86,6 +86,7 @@ $this->apiLevel = $this->getBuildPropValue( 'ro.build.version.sdk' ) ?? ''; $this->model = $this->getBuildPropValue( 'ro.lineage.device' ) ?? $this->getBuildPropValue( 'ro.cm.device' ) ?? ( $tokens[1] == 'cm' ? $tokens[6] : $tokens[5] ); $this->version = $tokens[2]; + $this->displayVersion = $this->getBuildPropValue( 'ro.cm.display.version' ) ?? ''; $this->uid = hash( 'sha256', $this->timestamp.$this->model.$this->apiLevel, false ); $this->size = filesize($this->filePath); -- GitLab