[Samsung Galaxy S 5 Unified Development] systemcrash:
[MENTION=7810360]nine7nine[/MENTION]

CMUpdater needs a tweak (to make nightly updates easier to download). Pressing refresh under updates produces nothing but logcat shows:

====logcat=====

11-14 13:44:51.227 13829 13856 D Volley : [4028] BasicNetwork.logSlowRequests: HTTP response for request=<[ ] https://download.cyanogenmod.org/api 0x6c2785ee NORMAL 1> [lifetime=3400], , [rc=200], [retryCount=0]

11-14 13:44:51.270 13829 13829 D UpdateCheckService: Got update JSON data with 3 entries

11-14 13:44:51.281 13829 13829 E UpdateCheckService: Error in JSON result

11-14 13:44:51.281 13829 13829 E UpdateCheckService: org.json.JSONException: Value null at api_level of type org.json.JSONObject$1 cannot be converted to int

11-14 13:44:51.281 13829 13829 E UpdateCheckService:	at org.json.JSON.typeMismatch(JSON.java:100)

11-14 13:44:51.281 13829 13829 E UpdateCheckService:	at org.json.JSONObject.getInt(JSONObject.java:481)

11-14 13:44:51.281 13829 13829 E UpdateCheckService:	at com.cyanogenmod.updater.service.UpdateCheckService.parseUpdateJSONObject(UpdateCheckService.java:293)

11-14 13:44:51.281 13829 13829 E UpdateCheckService:	at com.cyanogenmod.updater.service.UpdateCheckService.parseJSON(UpdateCheckService.java:276)

11-14 13:44:51.281 13829 13829 E UpdateCheckService:	at com.cyanogenmod.updater.service.UpdateCheckService.onResponse(UpdateCheckService.java:320)

11-14 13:44:51.281 13829 13829 E UpdateCheckService:	at com.cyanogenmod.updater.service.UpdateCheckService.onResponse(UpdateCheckService.java:316)

11-14 13:44:51.281 13829 13829 E UpdateCheckService:	at com.android.volley.toolbox.JsonRequest.deliverResponse(JsonRequest.java:65)

11-14 13:44:51.281 13829 13829 E UpdateCheckService:	at com.android.volley.ExecutorDelivery$ResponseDeliveryRunnable.run(ExecutorDelivery.java:99)

11-14 13:44:51.281 13829 13829 E UpdateCheckService:	at android.os.Handler.handleCallback(Handler.java:751)

11-14 13:44:51.281 13829 13829 E UpdateCheckService:	at android.os.Handler.dispatchMessage(Handler.java:95)

11-14 13:44:51.281 13829 13829 E UpdateCheckService:	at android.os.Looper.loop(Looper.java:154)

11-14 13:44:51.281 13829 13829 E UpdateCheckService:	at android.app.ActivityThread.main(ActivityThread.java:6088)

11-14 13:44:51.281 13829 13829 E UpdateCheckService:	at java.lang.reflect.Method.invoke(Native Method)

11-14 13:44:51.281 13829 13829 E UpdateCheckService:	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)

11-14 13:44:51.281 13829 13829 E UpdateCheckService:	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)

11-14 13:44:51.282 13829 13829 I UpdateCheckService: The update check successfully completed at Mon Nov 14 13:44:51 GMT+01:00 2016 and found 0 updates (0 newer than installed)

========

bugfix:

CMUpdater/blob/master/src/com/cyanogenmod/updater/service/UpdateCheckService.java: 365

int apiLevel = obj.getInt("api_level");

(to fix this error) should check for NULL:

if( obj.getInt("api_level") != null){

int apiLevel = obj.optInt( Integer.parseInt("api_level") );

}

or simply:

int apiLevel = obj.optInt("api_level");

---------- Post added at 02:09 PM ---------- Previous post was at 02:05 PM ----------

[MENTION=2693412]haggertk[/MENTION]

Next bug. Pull down, press battery icon, press battery saver and performance. Cannot drag slider all the way to the left. Balanced (middle) OK, Efficiency, (to left) OK.

Other slider settings to the right product logcat:

11-14 14:08:08.636 687 848 D QCOM PowerHAL: set_power_profile: set bias perf mode

11-14 14:08:13.676 687 848 D QCOM PowerHAL: set_power_profile: set performance mode

11-14 14:08:17.282 687 848 D QCOM PowerHAL: set_power_profile: set bias perf mode

11-14 14:08:20.563 687 848 D QCOM PowerHAL: set_power_profile: set bias power mode

To the left, do not. Do those profiles even exist?