@@ -0,0 +1,1515 @@
+/*%0A * Copyright (C) 2016 The Android Open Source Project%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *      http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0A%0Apackage com.afwsamples.testdpc.common;%0A%0Aimport android.app.Notification;%0Aimport android.app.NotificationManager;%0Aimport android.content.Context;%0A%0Aimport com.afwsamples.testdpc.R;%0A%0A/**%0A * Common utility functions.%0A */%0Apublic class Util %7B%0A%0A    public static void showNotification(Context context, int titleId, String msg,%0A            int notificationId) %7B%0A        NotificationManager mNotificationManager =%0A                (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE);%0A        Notification notification = new Notification.Builder(context)%0A                .setSmallIcon(R.drawable.ic_launcher)%0A                .setContentTitle(context.getString(titleId))%0A                .setContentText(msg)%0A                .setStyle(new Notification.BigTextStyle().bigText(msg))%0A                .build();%0A        mNotificationManager.notify(notificationId, notification);%0A    %7D%0A%7D%0A

Add Util class for showing notifications [DO NOT MERGE]