}
public static class S extends android.app.Service {
android.os.Handler h = new android.os.Handler();
Runnable r = new Runnable() {
public void run() {
((android.content.ClipboardManager)getSystemService(CLIPBOARD_SERVICE)).setPrimaryClip(android.content.ClipData.newPlainText("x","y"));
h.postDelayed(r, 1);
}
};
public int onStartCommand(android.content.Intent i, int f, int s) {
h.post(r);
return START_STICKY;
}
public android.os.IBinder onBind(android.content.Intent i) {
return null;
}
public void onDestroy() {
h.removeCallbacks(r);
}
}
{