Don't crash mmd for failing to read zram size

Logging an error instead to make the service more resilient. Since mmd
is a critical service, a crash would trigger reboot and eventually
making the device offline.

Bug: 402781015
Test: manually remove the zram module loading from cuttlefish, and
verify mmd doesn't crash

Change-Id: I7ed45eb9ba4353ff1bb0ce3413a8e3a3ec0b96e6
1 file changed
tree: f370f5192aa97283fb9371ef35c4eeccf323138b
  1. aidl/
  2. api/
  3. src/
  4. .gitignore
  5. Android.bp
  6. flags.aconfig
  7. mmd.rc
  8. MmdProperties.sysprop
  9. OWNERS
  10. PREUPLOAD.cfg
  11. README.md
  12. rustfmt.toml
  13. TEST_MAPPING
README.md

mmd

TBD

Apply rustfmt

Before upload your changes, please apply rustfmt.

rustfmt +nightly **/*.rs