OSDN Git Service

Allocate well-known tag for app store updates.
authorJeff Sharkey <jsharkey@android.com>
Tue, 27 Jun 2017 01:50:41 +0000 (19:50 -0600)
committerJeff Sharkey <jsharkey@android.com>
Tue, 27 Jun 2017 01:50:48 +0000 (19:50 -0600)
commitf23a5e104bae3274c43fc2ceb62562200ac722ae
tree29346a3bf15f5ccd8fbb4db2e4b5e3a73ff02225
parentddc3bfddd4dfdefb9af8cbd67f42636bd90fb25e
Allocate well-known tag for app store updates.

This way an app store can shift blame for update-related network
traffic onto the app that is being updated.

Using a well-known tag makes it easy for developers to identify
that they didn't explicitly request the traffic at runtime, similar
to how backup/restore traffic is handled.

Bug: 38282350
Test: builds, boots
Change-Id: I003dd7c9615d4ab318250f1e44fa5d195ac94d23
api/system-current.txt
core/java/android/net/TrafficStats.java