From db8beed6a5b3aec68453f0ccab77ff3aaa1e99da Mon Sep 17 00:00:00 2001 From: zengfantian Date: Wed, 21 Jan 2015 20:36:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9getParameters=E6=96=B9?= =?UTF-8?q?=E6=B3=95=E5=88=86=E6=94=AF=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/com/zftlive/android/base/Operation.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/com/zftlive/android/base/Operation.java b/src/com/zftlive/android/base/Operation.java index 6703d15..8510a70 100644 --- a/src/com/zftlive/android/base/Operation.java +++ b/src/com/zftlive/android/base/Operation.java @@ -94,8 +94,11 @@ public class Operation { DTO parms = getParameters(); if(null != parms){ return parms.get(key); + }else{ + parms = new DTO(); + parms.put(key, mContext.getIntent().getExtras().get(key)); } - return null; + return parms; } /**