Skip to content

Commit

Permalink
build: Prefer using "user" buildtype prop for userdebug aswell
Browse files Browse the repository at this point in the history
* Workaround for some banking apps wrongly telling that we are rooted

Change-Id: I96ef74a6d69cd44867b22bfbd0e788aabdf21662
  • Loading branch information
jhenrique09 authored and hanifardhani committed Jun 25, 2022
1 parent 4fa6b7f commit 161abad
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion core/main.mk
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,10 @@ endif

## user/userdebug ##

user_variant := $(filter user userdebug,$(TARGET_BUILD_VARIANT))
user_variant := user
ifeq ($(TARGET_BUILD_VARIANT),eng)
user_variant :=
endif
enable_target_debugging := true
tags_to_install :=
ifneq (,$(user_variant))
Expand Down

0 comments on commit 161abad

Please sign in to comment.