platform/android/Rhodes/src/com/rhomobile/rhodes/datetime/DateTimePickerScreen.java in rhodes-2.0.3 vs platform/android/Rhodes/src/com/rhomobile/rhodes/datetime/DateTimePickerScreen.java in rhodes-2.1.0
- old
+ new
@@ -22,21 +22,21 @@
import java.util.Date;
import com.rhomobile.rhodes.AndroidR;
import com.rhomobile.rhodes.Logger;
-import com.rhomobile.rhodes.Rhodes;
+import com.rhomobile.rhodes.RhoActivity;
+import com.rhomobile.rhodes.RhodesService;
-import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.DatePicker;
import android.widget.TimePicker;
-public class DateTimePickerScreen extends Activity {
+public class DateTimePickerScreen extends RhoActivity {
private static final String TAG = "DateTimePicker";
private static final String INTENT_EXTRA_PREFIX = DateTimePicker.INTENT_EXTRA_PREFIX;
@@ -74,10 +74,10 @@
@Override
public void onCreate(Bundle icicle) {
super.onCreate(icicle);
Logger.D(TAG, "onCreate");
- getWindow().setFlags(Rhodes.WINDOW_FLAGS, Rhodes.WINDOW_MASK);
+ getWindow().setFlags(RhodesService.WINDOW_FLAGS, RhodesService.WINDOW_MASK);
setContentView(AndroidR.layout.datetime);
Bundle extras = this.getIntent().getExtras();
_callback = extras.getString(INTENT_EXTRA_PREFIX + "callback");