Bug 1247489 - Move Telemetry*Ping* to telemetry/pings pkg. r=grisha

This should help make the Builders more discoverable when looking at the
TelemetryPing class.

MozReview-Commit-ID: K1OiSuKW5fO

--HG--
rename : mobile/android/base/java/org/mozilla/gecko/telemetry/TelemetryCorePingBuilder.java => mobile/android/base/java/org/mozilla/gecko/telemetry/pings/TelemetryCorePingBuilder.java
rename : mobile/android/base/java/org/mozilla/gecko/telemetry/TelemetryPing.java => mobile/android/base/java/org/mozilla/gecko/telemetry/pings/TelemetryPing.java
rename : mobile/android/base/java/org/mozilla/gecko/telemetry/TelemetryPingBuilder.java => mobile/android/base/java/org/mozilla/gecko/telemetry/pings/TelemetryPingBuilder.java
extra : rebase_source : 0e9165b9230f4cc91066460cc72d12f36efe9a91
This commit is contained in:
Michael Comella 2016-04-14 11:50:57 -07:00
parent 4a899f9e1f
commit fa00135f56
5 changed files with 9 additions and 7 deletions

View File

@ -22,6 +22,8 @@ import org.mozilla.gecko.preferences.GeckoPreferences;
import org.mozilla.gecko.sync.net.BaseResource;
import org.mozilla.gecko.sync.net.BaseResourceDelegate;
import org.mozilla.gecko.sync.net.Resource;
import org.mozilla.gecko.telemetry.pings.TelemetryCorePingBuilder;
import org.mozilla.gecko.telemetry.pings.TelemetryPing;
import org.mozilla.gecko.util.StringUtils;
import java.io.IOException;

View File

@ -4,7 +4,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package org.mozilla.gecko.telemetry;
package org.mozilla.gecko.telemetry.pings;
import android.content.Context;
import android.os.Build;
@ -24,7 +24,7 @@ import java.util.Locale;
* See https://gecko.readthedocs.org/en/latest/toolkit/components/telemetry/telemetry/core-ping.html
* for details on the core ping.
*/
class TelemetryCorePingBuilder extends TelemetryPingBuilder {
public class TelemetryCorePingBuilder extends TelemetryPingBuilder {
private static final String NAME = "core";
private static final int VERSION_VALUE = 4; // For version history, see toolkit/components/telemetry/docs/core-ping.rst

View File

@ -3,7 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.mozilla.gecko.telemetry;
package org.mozilla.gecko.telemetry.pings;
import org.mozilla.gecko.sync.ExtendedJSONObject;

View File

@ -4,7 +4,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package org.mozilla.gecko.telemetry;
package org.mozilla.gecko.telemetry.pings;
import org.mozilla.gecko.AppConstants;
import org.mozilla.gecko.sync.ExtendedJSONObject;

View File

@ -572,10 +572,10 @@ gbjar.sources += ['java/org/mozilla/gecko/' + x for x in [
'tabs/TabsPanel.java',
'tabs/TabsPanelThumbnailView.java',
'Telemetry.java',
'telemetry/pings/TelemetryCorePingBuilder.java',
'telemetry/pings/TelemetryPing.java',
'telemetry/pings/TelemetryPingBuilder.java',
'telemetry/TelemetryConstants.java',
'telemetry/TelemetryCorePingBuilder.java',
'telemetry/TelemetryPing.java',
'telemetry/TelemetryPingBuilder.java',
'telemetry/TelemetryUploadService.java',
'TelemetryContract.java',
'text/FloatingActionModeCallback.java',