Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 89a47cf1 authored by zhouwenjie's avatar zhouwenjie Committed by Wenjie Zhou
Browse files

Trim whitespace in kernel wakelock name.

Bug: 117991062
Test: Manual tested with an emulator
Change-Id: Ic80a302afc2327ecad048537af8ca5b7d5329f72
parent 46d75f94
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -158,7 +158,7 @@ public class KernelWakelockReader {
                                         PROC_WAKELOCKS_FORMAT,
                        nameStringArray, wlData, null);

                name = nameStringArray[0];
                name = nameStringArray[0].trim();
                count = (int) wlData[1];

                if (wakeup_sources) {