Function: android-read-build-time

android-read-build-time is a byte-compiled function defined in version.el.gz.

Signature

(android-read-build-time)

Documentation

Obtain the time at which Emacs was built.

Use the data stored in the special file /assets/build_info. Value is nil upon failure, else the time in the same format as returned by current-time.

Source Code

;; Defined in /usr/src/emacs/lisp/version.el.gz
(defun android-read-build-time ()
  "Obtain the time at which Emacs was built.
Use the data stored in the special file `/assets/build_info'.
Value is nil upon failure, else the time in the same format as
returned by `current-time'."
  (with-temp-buffer
    (insert-file-contents "/assets/build_info")
    (end-of-line)
    (let ((number (read (current-buffer))))
      (time-convert number 'list))))