OSDN Git Service

Removed fake data
authorSalvador Martinez <dehboxturtle@google.com>
Fri, 16 Dec 2016 00:13:38 +0000 (16:13 -0800)
committerSalvador Martinez <dehboxturtle@google.com>
Thu, 12 Jan 2017 18:53:42 +0000 (10:53 -0800)
Was using fake data for testing that we could attach
payloads. This is no longer needed since we are now
attaching real data.

Test: Manual Verification on GCS
Bug: 27823357
Change-Id: I055c2b2e027f721e14ea5b6b7efccd5267018b8c

src/com/android/settings/InstrumentedPreferenceFragment.java

index ee2c629..1b3d5cd 100644 (file)
@@ -54,7 +54,7 @@ public abstract class InstrumentedPreferenceFragment extends PreferenceFragment
                 if (provider.getSurveyExpirationDate(activity, id) <= -1) {
                     // register the receiver to show the survey on completion.
                     mReceiver = provider.createAndRegisterReceiver(activity);
-                    provider.downloadSurvey(activity, id, "fakeData");
+                    provider.downloadSurvey(activity, id, null /* data */);
                 } else {
                     provider.showSurveyIfAvailable(activity, id);
                 }