summaryrefslogtreecommitdiff
path: root/utils/loc_target.h
diff options
context:
space:
mode:
authorHarikrishnan Hariharan <hahariha@codeaurora.org>2019-10-03 23:32:30 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2019-10-10 23:01:26 -0700
commit8e7733ba7fa7e307213af81e3447006d8a7a8b1f (patch)
tree5537db0d43692abd74f3fb3c462545b594ea1340 /utils/loc_target.h
parent3d053a57fcb40b90a2be2403fc50ffe671e6befb (diff)
downloadgps-8e7733ba7fa7e307213af81e3447006d8a7a8b1f.tar.gz
Disable few process launch in loc_launcher for low ram targets
Use ro.config.low_ram property to identify low ram targets and disable the process in izat.conf whose property value LOW_RAM_TARGETS is set to DISABLED. Change-Id: Idb8b0b91c4ed127b4fa58c41683f9720252dff84 CRs-Fixed: 2542145
Diffstat (limited to 'utils/loc_target.h')
-rw-r--r--utils/loc_target.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/loc_target.h b/utils/loc_target.h
index 172b475..e9ff918 100644
--- a/utils/loc_target.h
+++ b/utils/loc_target.h
@@ -54,6 +54,7 @@ void loc_get_platform_name(char *platform_name, int array_length);
/*The character array passed to this function should have length
of atleast PROPERTY_VALUE_MAX*/
void loc_get_auto_platform_name(char *platform_name, int array_length);
+int loc_identify_low_ram_target();
/* Please remember to update 'target_name' in loc_log.cpp,
if do any changes to this enum. */