diff --git a/app/build.gradle b/app/build.gradle index 2d9ebd5..1e0e565 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -70,5 +70,5 @@ dependencies { implementation 'com.github.topjohnwu.libsu:core:2.5.1' implementation 'com.daimajia.androidanimations:library:2.3@aar' implementation 'com.getkeepsafe.taptargetview:taptargetview:1.11.0' - implementation 'com.google.android.material:material:1.2.0-alpha03' + implementation 'com.google.android.material:material:1.1.0-alpha09' } diff --git a/app/src/main/kotlin/com/androidvip/sysctlgui/activities/EditKernelParamActivity.kt b/app/src/main/kotlin/com/androidvip/sysctlgui/activities/EditKernelParamActivity.kt index d0fa466..afb75d1 100644 --- a/app/src/main/kotlin/com/androidvip/sysctlgui/activities/EditKernelParamActivity.kt +++ b/app/src/main/kotlin/com/androidvip/sysctlgui/activities/EditKernelParamActivity.kt @@ -87,7 +87,6 @@ class EditKernelParamActivity : AppCompatActivity() { private fun updateTextUi(kernelParameter: KernelParameter) { val paramName = kernelParameter.param.split(".").last() editParamName.text = paramName - editParamSub.text = kernelParameter.param.removeSuffix(paramName).removeSuffix(".") YoYo.with(Techniques.SlideInLeft) .duration(600) @@ -98,6 +97,7 @@ class EditKernelParamActivity : AppCompatActivity() { .duration(600) .playOn(editParamSub) + editParamSub.text = kernelParameter.param.removeSuffix(paramName).removeSuffix(".") editParamInfo.text = findInfoForParam(paramName) }, 100) diff --git a/app/src/main/res/layout/activity_edit_kernel_param.xml b/app/src/main/res/layout/activity_edit_kernel_param.xml index b5cbecc..3ac29f5 100644 --- a/app/src/main/res/layout/activity_edit_kernel_param.xml +++ b/app/src/main/res/layout/activity_edit_kernel_param.xml @@ -82,7 +82,6 @@ android:id="@+id/editParamInfo" android:layout_width="match_parent" android:layout_height="wrap_content" - android:text="@string/no_info_available" android:textColor="#fff"/> diff --git a/app/src/main/res/values/param_info_vm.xml b/app/src/main/res/values/params_info.xml similarity index 71% rename from app/src/main/res/values/param_info_vm.xml rename to app/src/main/res/values/params_info.xml index 30622a0..8fcbf86 100644 --- a/app/src/main/res/values/param_info_vm.xml +++ b/app/src/main/res/values/params_info.xml @@ -1,5 +1,6 @@ + The amount of free memory in the system that should be reserved for users with the capability cap_sys_admin Enables block I/O debugging when set to a nonzero value Available only when CONFIG_COMPACTION is set. When 1 is written to the file, all zones are compacted such that free memory is available in contiguous blocks where possible. @@ -29,4 +30,27 @@ This is the fraction of pages at most in each zone that are allocated for each per cpu page list. The min value for this is 8. The time interval between which vm statistics are updated. The default is 1 second. This control is used to define how aggressive the kernel will swap memory pages. Higher values will increase aggressiveness, lower values decrease the amount of swap. Default: 60. + + + Uniquely identifies the current boot. + Current available entropy. + Maximum limit of bits that the entropy pool can hold. + The number of bits of entropy required to be available before allowing reading from the random interfaces. + Threshold for entropy_avail at which devices blocking are woken up to write to the entropy pool. + + + Low latency busy poll timeout for socket reads. (needs CONFIG_NET_RX_BUSY_POLL) Approximate time in us to busy loop waiting for packets on the device queue. This sets the default value of the SO_BUSY_POLL socket option. Default: 0 (off). + Low latency busy poll timeout for poll and select. (needs CONFIG_NET_RX_BUSY_POLL) Approximate time in us to busy loop waiting for events. Recommended value depends on the number of sockets you poll on. For several sockets 50, for several hundreds 100. Default: 0 (off). + The default queuing discipline to use for network devices. This allows overriding the default of pfifo_fast with an alternative. Default: pfifo_fast. + The maximum number of packets that kernel can handle on a NAPI interrupt, it is a Per-CPU variable. + Message_burst and message_cost are used to limit the warning messages written to the kernel log from the networking code. They enforce a rate limit to make a DOS attack impossible. A higher message_cost factor, results in fewer messages that will be written. Message_burst controls when messages will be dropped. The default settings limit warning messages to one every five seconds. + Message_burst and message_cost are used to limit the warning messages written to the kernel log from the networking code. They enforce a rate limit to make a DOS attack impossible. A higher message_cost factor, results in fewer messages that will be written. Message_burst controls when messages will be dropped. The default settings limit warning messages to one every five seconds. + [No longer used] This was used to control console messages from the networking stack that occur because of problems on the network like duplicate address or bad checksums. + Maximum number of packets taken from all interfaces in one polling cycle (NAPI poll) + Maximum ancillary buffer size allowed per socket. Ancillary data is a sequence of struct cmsghdr structures with appended data. + The default setting of the socket receive buffer in bytes. + The maximum receive socket buffer size in bytes. + The default setting (in bytes) of the socket send buffer. + The maximum send socket buffer size in bytes. + \ No newline at end of file