Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 993c337e authored by Romain Hunault's avatar Romain Hunault
Browse files

Add display version inside build info

parent 1b1a2e33
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);