Test: acts FilteringTest
Bug:
33171815
Bug:
30622771
Change-Id: Ib3df1d13535999ede0e820651fc6d69daeb8ef17
}
}
- private AdvertiseClient getAdvertiseClient(int advertiserId) {
+ public AdvertiseClient getAdvertiseClient(int advertiserId) {
for (AdvertiseClient client : mAdvertiseClients) {
if (client.advertiserId == advertiserId) {
return client;
AdvertiserMap.App app = mAdvertiserMap.getById(advertiserId);
if (app != null) {
if (status == 0) {
+ AdvertiseClient client = mAdvertiseManager.getAdvertiseClient(advertiserId);
+ AdvertiseSettings settings = (client == null) ? null : client.settings;
app.callback.onMultiAdvertiseCallback(AdvertiseCallback.ADVERTISE_SUCCESS,
- true, null);
+ true, settings);
} else {
app.callback.onMultiAdvertiseCallback(
AdvertiseCallback.ADVERTISE_FAILED_INTERNAL_ERROR, true, null);