调整APP标题

heatbeat
Matthew 3 months ago
parent df1fc220d1
commit bbb78f44b9

@ -73,7 +73,7 @@ public class MainActivity extends AppCompatActivity {
Date date = new Date(BuildConfig.BUILD_TIMESTAMP);
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm");
String caption = "MP";
switch (getCustomAppId()) {
switch (MicroPhotoService.getCustomAppId()) {
case 1:
caption = "RP";
break;
@ -640,6 +640,6 @@ public class MainActivity extends AppCompatActivity {
}
private native int getCustomAppId();
}

@ -1681,6 +1681,8 @@ cellSignalStrengthGsm.getDbm();
public static native long requestPowerControl(int type);
public static native boolean releasePowerControl(long powerControlHandle);
public static native int getCustomAppId();
////////////////////////GPS////////////////////
// private static final String GPS_LOCATION_NAME = android.location.LocationManager.GPS_PROVIDER;
private LocationManager mLocationManager;

Loading…
Cancel
Save