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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user