DO NOT MERGE Logging when the new batch of network logs broadcast is sent to DO
Test: this only adds a log message
Bug: 29748723
(cherry picked from commit bcf1c58ec2)
Change-Id: Iad57528c60f35d4820a2f0196cccc92f7c4d3830
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