Skip to content
This repository has been archived by the owner on Feb 5, 2020. It is now read-only.

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
zanglang committed Aug 14, 2017
1 parent 185796a commit 3b6b9dd
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
2 changes: 2 additions & 0 deletions common/system.prop
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This file will be read by resetprop
# Example: Change dpi
# ro.sf.lcd_density=320

persist.camera.HAL3.enabled=1
8 changes: 4 additions & 4 deletions config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@

# This will be the folder name under /magisk
# This should also be the same as the id in your module.prop to prevent confusion
MODID=template
MODID=Camera2_Enabler

# Set to true if you need to enable Magic Mount
# Most mods would like it to be enabled
AUTOMOUNT=true
AUTOMOUNT=false

# Set to true if you need to load system.prop
PROPFILE=false
PROPFILE=true

# Set to true if you need post-fs-data script
POSTFSDATA=false
Expand All @@ -48,7 +48,7 @@ LATESTARTSERVICE=false

print_modname() {
ui_print "*******************************"
ui_print " Magisk Module Template "
ui_print " Camera2 API Enabler "
ui_print "*******************************"
}

Expand Down
8 changes: 4 additions & 4 deletions module.prop
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
id=template
name=Template Module
id=Camera2_Enabler
name=Enable Camera2 API
version=v1
versionCode=1
author=topjohnwu
description=A short description
author=zanglang
description=Enables the Android Camera2 API by setting the "persist.camera.HAL3.enabled" property
template=4

0 comments on commit 3b6b9dd

Please sign in to comment.