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

Commit e57f0315 authored by Kweku Adams's avatar Kweku Adams
Browse files

Log class name.

Log class name in the error message so developers can track down classes
that don't override the method.

Bug: 152942222
Test: atest CtsJobSchedulerTestCases:ConnectivityConstraintTest
Change-Id: Ifeef4fa8b801bd6c551cd095dabd7603b70b53bf
parent 728b80a3
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -265,7 +265,8 @@ public abstract class JobService extends Service {
     * @see JobInfo.Builder#setRequiredNetworkType(int)
     */
    public void onNetworkChanged(@NonNull JobParameters params) {
        Log.w(TAG, "onNetworkChanged() not implemented. Must override in a subclass.");
        Log.w(TAG, "onNetworkChanged() not implemented in " + getClass().getName()
                + ". Must override in a subclass.");
    }

    /**