Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e516a1b3 authored by Marvin W.'s avatar Marvin W. 🐿️
Browse files

Rename Constants class

parent 527ef1b7
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
package org.microg.nlp.api;

public class Constants {
    public static final String ACTION_LOCATION_BACKEND = "org.microg.nlp.LOCATION_BACKEND";
    public static final String ACTION_GEOCODER_BACKEND = "org.microg.nlp.GEOCODER_BACKEND";
    public static final String ACTION_RELOAD_SETTINGS = "org.microg.nlp.RELOAD_SETTINGS";
    public static final String ACTION_FORCE_LOCATION = "org.microg.nlp.FORCE_LOCATION";
    public static final String PERMISSION_FORCE_LOCATION = "org.microg.permission.FORCE_COARSE_LOCATION";
    public static final String INTENT_EXTRA_LOCATION = "location";
    public static final String LOCATION_EXTRA_BACKEND_PROVIDER = "SERVICE_BACKEND_PROVIDER";
    public static final String LOCATION_EXTRA_BACKEND_COMPONENT = "SERVICE_BACKEND_COMPONENT";
    public static final String LOCATION_EXTRA_OTHER_BACKENDS = "OTHER_BACKEND_RESULTS";
    public static final String METADATA_BACKEND_SETTINGS_ACTIVITY = "org.microg.nlp.BACKEND_SETTINGS_ACTIVITY";
    public static final String METADATA_BACKEND_ABOUT_ACTIVITY = "org.microg.nlp.BACKEND_ABOUT_ACTIVITY";
    public static final String METADATA_BACKEND_SUMMARY = "org.microg.nlp.BACKEND_SUMMARY";
}
+4 −0
Original line number Diff line number Diff line
package org.microg.nlp.api;

/**
 * Use {@link Constants} instead.
 */
@Deprecated
public class NlpApiConstants {
    public static final String ACTION_LOCATION_BACKEND = "org.microg.nlp.LOCATION_BACKEND";
    public static final String ACTION_GEOCODER_BACKEND = "org.microg.nlp.GEOCODER_BACKEND";