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

Commit f2a98180 authored by Matías Hernández's avatar Matías Hernández
Browse files

Use a log tag that can be enabled in ManagedServices subclasses

Because NotificationListeners is an inner class, the tag was "NotificationManagerService$NotificationListeners", which setprop doesn't accept.

Bug: 359126464
Test: manual with adb logcat
Flag: EXEMPT Trivial
Change-Id: If564888cdd67610052e9320f97dc2f0b800ecafd
parent bec79ce9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -101,7 +101,7 @@ import java.util.Set;
 *  - A remote interface definition (aidl) provided by the service used for communication.
 */
abstract public class ManagedServices {
    protected final String TAG = getClass().getSimpleName();
    protected final String TAG = getClass().getSimpleName().replace('$', '.');
    protected final boolean DEBUG = Log.isLoggable(TAG, Log.DEBUG);

    private static final int ON_BINDING_DIED_REBIND_DELAY_MS = 10000;