DO NOT MERGE Logging when the new batch of network logs broadcast is sent to DO
am: c4e7c32063
Change-Id: I64e032e5482cb917cb298fea578e157f7d9038d3
This commit is contained in:
@@ -106,6 +106,8 @@ final class NetworkLoggingHandler extends Handler {
|
|||||||
Bundle extras = new Bundle();
|
Bundle extras = new Bundle();
|
||||||
extras.putLong(DeviceAdminReceiver.EXTRA_NETWORK_LOGS_TOKEN, mCurrentFullBatchToken);
|
extras.putLong(DeviceAdminReceiver.EXTRA_NETWORK_LOGS_TOKEN, mCurrentFullBatchToken);
|
||||||
extras.putInt(DeviceAdminReceiver.EXTRA_NETWORK_LOGS_COUNT, mFullBatch.size());
|
extras.putInt(DeviceAdminReceiver.EXTRA_NETWORK_LOGS_COUNT, mFullBatch.size());
|
||||||
|
Log.d(TAG, "Sending network logging batch broadcast to device owner, batchToken: "
|
||||||
|
+ mCurrentFullBatchToken);
|
||||||
mDpm.sendDeviceOwnerCommand(DeviceAdminReceiver.ACTION_NETWORK_LOGS_AVAILABLE, extras);
|
mDpm.sendDeviceOwnerCommand(DeviceAdminReceiver.ACTION_NETWORK_LOGS_AVAILABLE, extras);
|
||||||
} else {
|
} else {
|
||||||
mFullBatch = null;
|
mFullBatch = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user