Remove oneway from IAmbientContextManager.

The AIDL interface is implemented by the system server. We need exceptions to propogate back to the calling app.

Test: cts test
Bug: 225108951
Change-Id: I0fcf58f3ecc204eb63644fa736b44f5a5b394be6
This commit is contained in:
Kathy Chen
2022-03-29 13:09:03 -07:00
parent 44b2ae6375
commit 2efc9e5466

View File

@@ -25,7 +25,7 @@ import android.os.RemoteCallback;
*
* @hide
*/
oneway interface IAmbientContextManager {
interface IAmbientContextManager {
void registerObserver(in AmbientContextEventRequest request,
in PendingIntent resultPendingIntent,
in RemoteCallback statusCallback);
@@ -33,4 +33,4 @@ oneway interface IAmbientContextManager {
void queryServiceStatus(in int[] eventTypes, in String callingPackage,
in RemoteCallback statusCallback);
void startConsentActivity(in int[] eventTypes, in String callingPackage);
}
}