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

Bug: 296681528
Test: atest service-entitlement-tests
Change-Id: I59236bf8835a10d5f1b02cf9162034f3c79dda99
3 files changed
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.