|
如何隐藏底部的操作栏
发表于 2018-1-3 17:02:11
浏览:10307
|
回复:1
打印
只看该作者
[复制链接]
楼主
请问在Rk3399的7.Xrom上面如何隐藏底部的操作栏?
以前3288上面5.Xrom的方式好像不行了,
public static void hideSystemBar(Context context){
Settings.System.putInt(context.getContentResolver(), "systembar_hide",
1);
Intent i = new Intent("com.tchip.changeBarHideStatus");
context.sendBroadcast(i);
}
//=========================================
Caused by: java.lang.IllegalArgumentException: You cannot keep your settings in the secure settings.
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:165)
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:135)
at android.content.ContentProviderProxy.call(ContentProviderNative.java:647)
at android.provider.Settings$NameValueCache.putStringForUser(Settings.java:1595)
at android.provider.Settings$System.putStringForUser(Settings.java:1965)
at android.provider.Settings$System.putIntForUser(Settings.java:2070)
at android.provider.Settings$System.putInt(Settings.java:2064)
at com.sensetime.sensekeeper.utils.SystemUtils.hideSystemBar(SystemUtils.java:14) |
|