diff options
| author | junyulai <junyulai@google.com> | 2019-12-31 13:40:15 +0800 |
|---|---|---|
| committer | Junyu Lai <junyulai@google.com> | 2020-03-18 08:08:01 +0000 |
| commit | 6f813159b50fa6e91fabcea0bea3f4a7afd5a1fb (patch) | |
| tree | be56bc71b313acce98683f9eee146729bb5121cc /core/java/android | |
| parent | b1b80c66b8d624f69e1a354b9cde16788cb9a474 (diff) | |
[SM05] Enable record mobile network stats by collapsed rat type
Switch on the recording in device side. Metrics will be
collected in follow-up patches which can be independently
enabled/disabled.
This change also fix the fail in NetworkStatsCollectionTest
which caused by enabling this feature, where the rounding
problem happened when records are distributed into smaller
buckets and categorized into more NetworkIdentity.
Test: atest FrameworksNetTests
Bug: 129082217
Change-Id: If330e85330a4ff713dd420c98d42fa741eabd90a
Merged-In: If330e85330a4ff713dd420c98d42fa741eabd90a
(cherry picked from commit 2d4fa2c0fae8c2d79a25093d9f732a33c2f91dd4)
Diffstat (limited to 'core/java/android')
| -rw-r--r-- | core/java/android/net/NetworkIdentity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/net/NetworkIdentity.java b/core/java/android/net/NetworkIdentity.java index b67ad519b437..2cf3531d2f37 100644 --- a/core/java/android/net/NetworkIdentity.java +++ b/core/java/android/net/NetworkIdentity.java @@ -45,7 +45,7 @@ public class NetworkIdentity implements Comparable<NetworkIdentity> { * {@link #SUBTYPE_COMBINED}. */ // TODO: make this flag configurable through settings. See http://b/146415925 - public static final boolean COMBINE_SUBTYPE_ENABLED = true; + public static final boolean COMBINE_SUBTYPE_ENABLED = false; public static final int SUBTYPE_COMBINED = -1; |
