Skip to content
Commit 5dfe5553 authored by Junyu Lai's avatar Junyu Lai
Browse files

Use NewOject to invoke constructor of NetworkStats.Entry

AllocObject doesn't invoke the constructor, and when working on
Java code we wouldn't expect that stuff initialized in the
constructor wouldn't actually be initialized on instances
created from JNI.

Test: atest NetworkStackIntegrationTests:android.net.NetworkStatsIntegrationTest
Fix: 322456911
Change-Id: Ibc87ab5ebaf02a7bcaa88307511bd3aaea8698ed
parent 9a6f8ccf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment