Skip to content

Commit

Permalink
doc why we don't use "device_name"
Browse files Browse the repository at this point in the history
  • Loading branch information
TuxPaper committed Sep 18, 2023
1 parent e26b86f commit a6ee2e2
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1499,6 +1499,9 @@ public static String getDeviceNameForLogger(ContentResolver contentResolver) {
&& contentResolver != null) {
deviceName = Settings.Global.getString(contentResolver,
"default_device_name");

// Although "device_name" might exist, it's often configurable by user
// and we don't want to know what they call their device
}

if (deviceName == null) {
Expand Down

0 comments on commit a6ee2e2

Please sign in to comment.