]>
git.zerfleddert.de Git - ms2-fixes/blob - MS2Debounce/src/de/rmdir/ms2debounce/DebounceService.java
c4a8762f2f96164560fdfde163f734f9435f1dfd
1 package de
.rmdir
.ms2debounce
;
3 import android
.content
.Intent
;
4 import android
.app
.IntentService
;
6 public class DebounceService
extends IntentService
{
8 // Create worker thread
9 public DebounceService() {
10 super("DebounceService");
14 protected void onHandleIntent(Intent intent
) {
18 public void onCreate() {
20 Process insmod
= Runtime
.getRuntime().exec(new String
[]{"su","-c","/system/bin/insmod /system/lib/modules/debounce.ko"});
22 } catch (Exception e
) {}