OSDN Git Service

Add API EuiccController#startOtaUpdatingIfNecessary
authorQingxi Li <qingxi@google.com>
Thu, 14 Dec 2017 23:36:06 +0000 (15:36 -0800)
committerQingxi Li <qingxi@google.com>
Wed, 10 Jan 2018 20:01:13 +0000 (12:01 -0800)
commit8314fa72f27d0358ab29681fee5dfa4a4276946c
tree7f9f63f79d277d8fb3734596f8ba29621cfbd5bf
parent8098078edf5c74b1a1513c45012aa036ce6d36ec
Add API EuiccController#startOtaUpdatingIfNecessary

This function requests calling app has WRITE_EMBEDDED_SUBSCRIPTIONS
permission. It will check whether the OTA update needed to be done
first. If current eUICC OS isn't latest one and OTA needed to be
performed, it will update eUICC OS. When the OS update is started or
finished, a broadcast will be sent.

Bug: 37279356
Test: E2E
Merged-In: Iea86add4bdc01c79a8714af4b3a89735ba78ee74
Change-Id: Iea86add4bdc01c79a8714af4b3a89735ba78ee74
Android.bp
core/java/android/service/euicc/EuiccService.java
core/java/android/service/euicc/IEuiccService.aidl
core/java/android/service/euicc/IOtaStatusChangedCallback.aidl [new file with mode: 0644]
core/res/AndroidManifest.xml
telephony/java/android/telephony/euicc/EuiccManager.java