diff --git a/src/org/mythtv/client/ui/dvr/RecordingRuleEditFragment.java b/src/org/mythtv/client/ui/dvr/RecordingRuleEditFragment.java index e976f983..1df8deac 100644 --- a/src/org/mythtv/client/ui/dvr/RecordingRuleEditFragment.java +++ b/src/org/mythtv/client/ui/dvr/RecordingRuleEditFragment.java @@ -25,6 +25,7 @@ import org.mythtv.client.ui.AbstractMythFragment; import org.mythtv.client.ui.util.ProgramHelper; import org.mythtv.db.channel.ChannelDaoHelper; +import org.mythtv.service.util.NetworkHelper; import org.mythtv.services.api.ETagInfo; import org.mythtv.services.api.Int; import org.mythtv.services.api.channel.ChannelInfo; @@ -89,6 +90,8 @@ public void onCreate( Bundle savedInstanceState ) { loadRecordingRule( recordingRuleId ); } + mNetworkHelper = new NetworkHelper( getActivity() ); + Log.v( TAG, "onCreate : exit" ); } diff --git a/src/org/mythtv/client/ui/dvr/RecordingRuleFragment.java b/src/org/mythtv/client/ui/dvr/RecordingRuleFragment.java index 9ba734bf..528e46e1 100644 --- a/src/org/mythtv/client/ui/dvr/RecordingRuleFragment.java +++ b/src/org/mythtv/client/ui/dvr/RecordingRuleFragment.java @@ -25,6 +25,7 @@ import org.mythtv.client.ui.AbstractMythFragment; import org.mythtv.client.ui.util.ProgramHelper; import org.mythtv.db.channel.ChannelDaoHelper; +import org.mythtv.service.util.NetworkHelper; import org.mythtv.services.api.ETagInfo; import org.mythtv.services.api.channel.ChannelInfo; import org.mythtv.services.api.dvr.RecRule; @@ -85,6 +86,8 @@ public void onCreate( Bundle savedInstanceState ) { loadRecordingRule( recordingRuleId ); } + mNetworkHelper = new NetworkHelper( getActivity() ); + Log.v( TAG, "onCreate : exit" ); } @@ -212,9 +215,12 @@ public boolean onOptionsItemSelected( MenuItem item ) { return true; case RecordingRulesActivity.EDIT_ID: - intent = new Intent( this.getActivity(), RecordingRuleEditActivity.class ); - intent.putExtra( RecordingRuleEditActivity.EXTRA_RECORDING_RULE_EDIT_KEY, mRecordingRuleId ); - startActivity( intent ); + + Toast.makeText( getActivity(), "Edit Recording Rule - Coming Soon!", Toast.LENGTH_SHORT ).show(); + +// intent = new Intent( this.getActivity(), RecordingRuleEditActivity.class ); +// intent.putExtra( RecordingRuleEditActivity.EXTRA_RECORDING_RULE_EDIT_KEY, mRecordingRuleId ); +// startActivity( intent ); return true;