Logging when the new batch of network logs broadcast is sent to DO
Test: this only adds a log message Bug: 29748723 Change-Id: I07ca1613c26a34517f5a452ca848aa763a48f8a0
This commit is contained in:
@@ -106,6 +106,8 @@ final class NetworkLoggingHandler extends Handler {
|
||||
Bundle extras = new Bundle();
|
||||
extras.putLong(DeviceAdminReceiver.EXTRA_NETWORK_LOGS_TOKEN, mCurrentFullBatchToken);
|
||||
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);
|
||||
} else {
|
||||
mFullBatch = null;
|
||||
|
||||
Reference in New Issue
Block a user