Skip to content

Commit

Permalink
[nemo-system-settings] Fix tablet serial number. Fixes JB#43303
Browse files Browse the repository at this point in the history
  • Loading branch information
markolemmetty committed Oct 19, 2018
1 parent eaffeda commit 0345e08
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/aboutsettings.cpp
Expand Up @@ -169,8 +169,13 @@ QString AboutSettings::serial() const
QStringList serialFiles;

serialFiles
// This file is specific to the Jolla Tablet;
// Old location for serial number that was used by e.g.
// Jolla Tablet, that should not be used anymore.
<< "/config/serial/serial.txt"
// Location for serialnumber file that should be preferred if no /sys
// node or something for it. The means how the serialnumber ends to
// this file are device specific.
<< "/run/config/serial"
// Some devices have serialno in this path.
<< "/sys/firmware/devicetree/base/firmware/android/serialno";

Expand Down

0 comments on commit 0345e08

Please sign in to comment.