Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ba3b8c9e authored by sqian's avatar sqian
Browse files

Add unit test for RESULT_ERROR_SHORT_CODE_NEVER_ALLOWED

- add getAppPacakageName method in SmsTracker and
  refactor its usage for testability
- add isDuringSuW method and refactor its usage
  for SmsUsageMonitor for testablity

Also fix checkCallingOrSelfPermission method in ContextFixture
for this unit test and also for supporting more telephony unit
tests in the future.

Test: runtest --path frameworks/opt/telephony/tests/telephonytests/
Bug: 34773406
Bug: 65205717
Change-Id: I6dae277ced9a87b89fbb6eac22856fc73b9fdbba
parent 15a1dc57
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment