diff options
author | Dianne Hackborn <hackbod@google.com> | 2014-11-11 01:03:02 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-11-11 01:03:02 +0000 |
commit | 35ed2f4c39e6c8b1bac12529d8e67eb977364477 (patch) | |
tree | df7f710b9629155a6572e77e0607045627323cda /tests | |
parent | bd401c82b185c40a3de7bf8c63dec046198245c0 (diff) | |
parent | 95ef0ac77738eac98e4952fe1e94db64c1560f5e (diff) | |
download | frameworks_base-35ed2f4c39e6c8b1bac12529d8e67eb977364477.zip frameworks_base-35ed2f4c39e6c8b1bac12529d8e67eb977364477.tar.gz frameworks_base-35ed2f4c39e6c8b1bac12529d8e67eb977364477.tar.bz2 |
am 95ef0ac7: am 525da301: am 85d558cd: Add Activity API to get referrer information.
* commit '95ef0ac77738eac98e4952fe1e94db64c1560f5e':
Add Activity API to get referrer information.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ActivityTests/src/com/google/android/test/activity/ActivityTestMain.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ActivityTests/src/com/google/android/test/activity/ActivityTestMain.java b/tests/ActivityTests/src/com/google/android/test/activity/ActivityTestMain.java index 94874c8..b065b88 100644 --- a/tests/ActivityTests/src/com/google/android/test/activity/ActivityTestMain.java +++ b/tests/ActivityTests/src/com/google/android/test/activity/ActivityTestMain.java @@ -140,6 +140,8 @@ public class ActivityTestMain extends Activity { protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); + Log.i(TAG, "Referrer: " + getReferrer()); + mAm = (ActivityManager)getSystemService(ACTIVITY_SERVICE); if (savedInstanceState != null) { mOverrideConfig = savedInstanceState.getParcelable(KEY_CONFIGURATION); |