lib/gametel.rb in gametel-0.5.9 vs lib/gametel.rb in gametel-0.5.9.1
- old
+ new
@@ -29,11 +29,12 @@
def self.default_server
@default_server ||= Brazenhead::Server.new @apk_path
end
- def self.start(activity)
- default_server.start(activity)
+ def self.start(activity, keystore=nil)
+ default_server.start(activity, keystore) if keystore
+ default_server.start(activity) unless keystore
default_driver
end
def self.stop
default_server.stop