Fix crash when Build.MANUFACTURER is longer than 4 and cap terminal_model and terminal_sw_version according to GSMA RCC.14. am: 8bfb8ba163

Original change: https://android-review.googlesource.com/c/platform/frameworks/libs/service_entitlement/+/2727181

Change-Id: Idb3525911c1aec1ca2a41cef30bcf959527d863b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
tree: 62ac0f7564a7981742b8bbc3aadc6e647fe1f84a
  1. java/
  2. tests/
  3. Android.bp
  4. coverage.sh
  5. OWNERS
  6. PREUPLOAD.cfg
  7. README.md
  8. TEST_MAPPING
README.md

Service Entitlement

Service entitlement library exports the APIs for querying the service status, based on GSMA TS.43 spec.

How to debug

Log TAG to filter:

  • ServiceEntitlement

Enable logging the PII data:

Grand the permission:

adb root

Enable by system property:

adb shell setprop dbg.se.pii_loggable true

NOTE Debug option only available on devices which is built as userdebug.