Reputation: 607
Google has launched a section in play console called 'App Vitals'. Under this section a developer can see the diagnostic metrics like wakelocks held by the application.
There is a tab called 'By Wake Lock Tag' to sort the wake locks held by their tag. I see some entries whose tag is not visible instead I see the label 'Hidden due to privacy reasons'. What does this mean?
Upvotes: 2
Views: 529
Reputation: 671
Propably you see _UNKNOWN
text, when app starts WakeLock one parameter is tag
, this is app specific string, Google has stated that these are sensitive data.
PowerManager sample code
mWakeLock = mPowerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "my custom tag");
mWakeLock.acquire();
...
mWakeLock.release();
my custom tag
<- sensitive data by Google.
From help:
For privacy purposes, partial wake lock identification tags are anonymized
And from the developer documentation:
Leave out any personally identifying information (PII) in the name, such as an email address. Otherwise, the device logs _UNKNOWN instead of the wake lock name.
Upvotes: 2