Loading src/Helpers/Build.php +1 −0 Original line number Diff line number Diff line Loading @@ -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); Loading Loading
src/Helpers/Build.php +1 −0 Original line number Diff line number Diff line Loading @@ -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); Loading