Fix build.
Commented out the offending lines and add a RuntimeException to fix the build. Change-Id: Ide2a7897d639edb1cd28401566558a90235c250b
This commit is contained in:
@@ -73,7 +73,8 @@ public class ForegroundDispatch extends Activity {
|
|||||||
@Override
|
@Override
|
||||||
public void onResume() {
|
public void onResume() {
|
||||||
super.onResume();
|
super.onResume();
|
||||||
mAdapter.enableForegroundDispatch(this, mPendingIntent, mFilters);
|
//mAdapter.enableForegroundDispatch(this, mPendingIntent, mFilters);
|
||||||
|
throw new RuntimeException("onResume not implemented to fix build");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@@ -85,6 +86,7 @@ public class ForegroundDispatch extends Activity {
|
|||||||
@Override
|
@Override
|
||||||
public void onPause() {
|
public void onPause() {
|
||||||
super.onPause();
|
super.onPause();
|
||||||
mAdapter.disableForegroundDispatch(this);
|
//mAdapter.disableForegroundDispatch(this);
|
||||||
|
throw new RuntimeException("onPause not implemented to fix build");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user