daily pastebin goal
55%
SHARE
TWEET

Untitled

a guest Jan 13th, 2018 399 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. From 2287df4d8f84d9eec5e6749dd1232f231a468ffc Mon Sep 17 00:00:00 2001
  2. From: faust93 <monumentum@gmail.com>
  3. Date: Sat, 13 Jan 2018 18:12:31 +0200
  4. Subject: [PATCH] Shut up CONTEXT_MANAGER_ALARM_WAKEUP
  5.  
  6. ---
  7.  services/core/java/com/android/server/AlarmManagerService.java | 5 ++++-
  8.  1 file changed, 4 insertions(+), 1 deletion(-)
  9.  
  10. diff --git a/services/core/java/com/android/server/AlarmManagerService.java b/services/core/java/com/android/server/AlarmManagerService.java
  11. index edeff0cb..3639e2b8 100755
  12. --- a/services/core/java/com/android/server/AlarmManagerService.java
  13. +++ b/services/core/java/com/android/server/AlarmManagerService.java
  14. @@ -1195,7 +1195,10 @@ class AlarmManagerService extends SystemService {
  15.  
  16.              if (type == AlarmManager.RTC_WAKEUP || type == AlarmManager.ELAPSED_REALTIME_WAKEUP){
  17.  
  18. -                Slog.e(TAG, "RTC Alarm: " + type + " " + listenerTag + " " + callingPackage + " " + tag);
  19. +                if (tag.startsWith("CONTEXT_MANAGER_ALARM_WAKEUP")){
  20. +                    tag = tag.substring(0,28);
  21. +                }
  22. +                //Slog.e(TAG, "RTC Alarm: " + type + " " + listenerTag + " " + callingPackage + " " + tag);
  23.  
  24.                  if (!mSeenAlarms.contains(tag)) {
  25.                      mSeenAlarms.add(tag);
  26. --
  27. 2.15.0
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top