1c5afb16430a145f20d7c887e45f47b38687054daMarc Blank/* Copyright (C) 2012 Google Inc. 2c5afb16430a145f20d7c887e45f47b38687054daMarc Blank * Licensed to The Android Open Source Project. 3c5afb16430a145f20d7c887e45f47b38687054daMarc Blank * 4c5afb16430a145f20d7c887e45f47b38687054daMarc Blank * Licensed under the Apache License, Version 2.0 (the "License"); 5c5afb16430a145f20d7c887e45f47b38687054daMarc Blank * you may not use this file except in compliance with the License. 6c5afb16430a145f20d7c887e45f47b38687054daMarc Blank * You may obtain a copy of the License at 7c5afb16430a145f20d7c887e45f47b38687054daMarc Blank * 8c5afb16430a145f20d7c887e45f47b38687054daMarc Blank * http://www.apache.org/licenses/LICENSE-2.0 9c5afb16430a145f20d7c887e45f47b38687054daMarc Blank * 10c5afb16430a145f20d7c887e45f47b38687054daMarc Blank * Unless required by applicable law or agreed to in writing, software 11c5afb16430a145f20d7c887e45f47b38687054daMarc Blank * distributed under the License is distributed on an "AS IS" BASIS, 12c5afb16430a145f20d7c887e45f47b38687054daMarc Blank * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13c5afb16430a145f20d7c887e45f47b38687054daMarc Blank * See the License for the specific language governing permissions and 14c5afb16430a145f20d7c887e45f47b38687054daMarc Blank * limitations under the License. 15c5afb16430a145f20d7c887e45f47b38687054daMarc Blank *******************************************************************************/ 16c5afb16430a145f20d7c887e45f47b38687054daMarc Blank 17c5afb16430a145f20d7c887e45f47b38687054daMarc Blankpackage com.android.email.activity.setup; 18c5afb16430a145f20d7c887e45f47b38687054daMarc Blank 19c5afb16430a145f20d7c887e45f47b38687054daMarc Blankimport android.content.Context; 20c5afb16430a145f20d7c887e45f47b38687054daMarc Blankimport android.content.Intent; 21c5afb16430a145f20d7c887e45f47b38687054daMarc Blank 22c5afb16430a145f20d7c887e45f47b38687054daMarc Blank/** 23c5afb16430a145f20d7c887e45f47b38687054daMarc Blank * An intent that forwards results 24c5afb16430a145f20d7c887e45f47b38687054daMarc Blank */ 25c5afb16430a145f20d7c887e45f47b38687054daMarc Blankpublic class ForwardingIntent extends Intent { 26c5afb16430a145f20d7c887e45f47b38687054daMarc Blank public ForwardingIntent(Context activity, Class klass) { 27c5afb16430a145f20d7c887e45f47b38687054daMarc Blank super(activity, klass); 28c5afb16430a145f20d7c887e45f47b38687054daMarc Blank setFlags(Intent.FLAG_ACTIVITY_FORWARD_RESULT); 29c5afb16430a145f20d7c887e45f47b38687054daMarc Blank } 30c5afb16430a145f20d7c887e45f47b38687054daMarc Blank} 31