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

Commit 0538ebbc authored by Danny Baumann's avatar Danny Baumann Committed by Gerrit Code Review
Browse files

Merge "Use generic alarm intent." into cm-10.2

parents 171a9831 c9b3d431
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
package com.android.systemui.quicksettings;

import android.content.ComponentName;
import android.content.ContentResolver;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.os.Handler;
import android.os.UserHandle;
import android.provider.AlarmClock;
import android.provider.Settings;
import android.text.TextUtils;
import android.view.LayoutInflater;
@@ -25,11 +25,7 @@ public class AlarmTile extends QuickSettingsTile {
        mOnClick = new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent();
                intent.setComponent(new ComponentName(
                        "com.android.deskclock",
                        "com.android.deskclock.AlarmClock"));
                startSettingsActivity(intent);
                startSettingsActivity(new Intent(AlarmClock.ACTION_SET_ALARM));
            }
        };