Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Read the date_time_picker_dialog option from rhoconfig.yml and pass i…

…t into the manifest generator.
  • Loading branch information...
commit 7bb2f634f2cab363335118e06998bb26d2b370ab 1 parent 05c46b0
@ziggythehamster authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  platform/android/build/android.rake
View
2  platform/android/build/android.rake
@@ -237,6 +237,7 @@ namespace "config" do
$gapikey = nil if $gapikey.empty?
$android_orientation = $app_config["android"]["orientation"] unless $app_config["android"].nil?
+ $android_date_time_picker_dialog = $app_config["android"]["date_time_picker_dialog"] unless $app_config["android"].nil? || $app_config["android"]["date_time_picker_dialog"].nil?
$use_geomapping = $app_config["android"]["mapping"] unless $app_config["android"].nil?
$use_geomapping = $config["android"]["mapping"] if $use_geomapping.nil? and not $config["android"].nil?
@@ -1271,6 +1272,7 @@ namespace "build" do
generator.minSdkVer = $min_sdk_level
generator.maxSdkVer = $max_sdk_level
generator.screenOrientation = $android_orientation unless $android_orientation.nil?
+ generator.dateTimePickerDialog = $android_date_time_picker_dialog unless $android_date_time_picker_dialog.nil?
generator.usesLibraries['com.google.android.maps'] = true if $use_google_addon_api
generator.addGooglePush(File.join($androidpath,'Rhodes','PushReceiver.erb')) if $app_config["capabilities"].index 'push'
Please sign in to comment.
Something went wrong with that request. Please try again.