Files
android_device_nintendo_nx/initfiles/init.frig.rc
T
Nolen Johnson 535f79a227 nx: Properly set permissions on OLED backlight
Change-Id: I7819cf88d828bc178999954630a710d3cbe33925
2024-07-13 12:36:26 -04:00

21 lines
801 B
Plaintext

# Copyright (C) 2023 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
on init
# take ownership of panel color mode node
chown system /sys/devices/50000000.host1x/tegradc.0/panel_color_mode
on post-fs-data
chown system system /sys/class/backlight/backlight/brightness