Merge "Refine the GTI dump order" into main

This commit is contained in:
Super Liu 2024-08-12 06:17:17 +00:00 committed by Android (Google) Code Review
commit c417cf5c11
2 changed files with 10 additions and 10 deletions

View file

@ -8,6 +8,11 @@ else
heatmap_path=$path
fi
if [[ -f "${procfs_path}/dump" ]]; then
echo "------ Dump ------"
cat ${procfs_path}/dump
fi
echo "------ Force Touch Active ------"
result=$( cat "$path/force_active" 2>&1 )
if [ $? -eq 0 ]; then
@ -60,10 +65,5 @@ cat $heatmap_path/ss_raw
echo "------ Self Test ------"
cat $path/self_test
if [[ -f "${procfs_path}/dump" ]]; then
echo "------ Dump ------"
cat ${procfs_path}/dump
fi
echo "------ Disable Force Touch Active ------"
echo 0 > $path/force_active

View file

@ -8,6 +8,11 @@ else
heatmap_path=$path
fi
if [[ -f "${procfs_path}/dump" ]]; then
echo "------ Dump ------"
cat ${procfs_path}/dump
fi
echo "------ Force Touch Active ------"
result=$( cat "$path/force_active" 2>&1 )
if [ $? -eq 0 ]; then
@ -60,10 +65,5 @@ cat $heatmap_path/ss_raw
echo "------ Self Test ------"
cat $path/self_test
if [[ -f "${procfs_path}/dump" ]]; then
echo "------ Dump ------"
cat ${procfs_path}/dump
fi
echo "------ Disable Force Touch Active ------"
echo 0 > $path/force_active