I have an Android device with root privileges (out-of-the-box). I am trying to hide the nav bar so the home and back buttons are not visible. I am performing this task using the following:
proc = Runtime.getRuntime().exec(new String[]{"su","-c","service call activity "+ ProcID +" s16 com.android.systemui"});
where ProcID = "42"
This works on my root Samsung Galaxy Tab 2, but does not work on this particular Android device (OS v4.2.2).
Any guidance would be appreciated. There are no errors encountered unless I run this on a non-root device.