Small tweaks

Signed-off-by: Tad <tad@spotco.us>
This commit is contained in:
Tad 2021-11-02 22:47:34 -04:00
parent f3277f3c07
commit b6575a362e
54 changed files with 3 additions and 155 deletions

View File

@ -90,6 +90,3 @@ index aed7211d..a962c728 100644
static const menu MAIN_MENU = {
MAIN_MENU_NAMES,
MAIN_MENU_ENTRIES
--
2.31.1

View File

@ -41,6 +41,3 @@ index 7b440b1eff..f26ebb6d55 100644
PRODUCT_DEX_PREOPT_DEFAULT_FLAGS := \
$(strip $(PRODUCTS.$(INTERNAL_PRODUCT).PRODUCT_DEX_PREOPT_DEFAULT_FLAGS))
PRODUCT_DEX_PREOPT_BOOT_FLAGS := \
--
2.31.1

View File

@ -246,6 +246,3 @@ index 0000000..7c82753
+
+# Finish
+write_footers
--
2.31.1

View File

@ -90,6 +90,3 @@ index b1d9807..1b1daa5 100644
+ro.sys.fw.trim_empty_percent=70
+ro.sys.fw.use_trim_settings=true
+dalvik.vm.madvise-random=true
--
2.31.1

View File

@ -29,6 +29,3 @@ index caf7f646..df78c916 100644
r_dir_file(mediaserver, sysfs_esoc)
allow mediaserver system_app_data_file:file rw_file_perms;
--
2.31.1

View File

@ -23,6 +23,3 @@ index d4c3e57d..f9dd9004 100644
+allow msm_irqbalanced { proc_stat proc_interrupts }:file r_file_perms;
allow msm_irqbalanced self:capability { setuid setgid dac_override };
r_dir_file(msm_irqbalanced, sysfs_rqstats);
--
2.31.1

View File

@ -37,6 +37,3 @@ index dca6680..0d30c0d 100644
+allow init tee_file:dir rw_dir_perms;
+allow init tee_file:file create_file_perms;
+allow init labeledfs:filesystem associate;
--
2.31.1

View File

@ -35,6 +35,3 @@ index 0d30c0d..f1047b4 100644
#============= healthd ==============
allow healthd device:dir write;
--
2.31.1

View File

@ -50,6 +50,3 @@ index 9ba8469..313104b 100644
# For 'aes-*' module requests.
allow vold kernel:system module_request;
--
2.31.1

View File

@ -22,6 +22,3 @@ index 0000000..711a204
@@ -0,0 +1,2 @@
+#============= mediacodec ==============
+allow mediacodec rpmsg_device:chr_file { read write open ioctl };
--
2.31.1

View File

@ -79,6 +79,3 @@ index e59d7c6..d78ffbb 100644
# Needed for /system/vendor/lib/hw/gps.omap4.so
+
+allow system_server wifi_log_prop:property_service set;
--
2.31.1

View File

@ -22,6 +22,3 @@ index d7bba41..e886945 100644
device_sqlite_flags := $(minimal_sqlite_flags) \
-DSQLITE_ENABLE_ICU \
--
2.31.1

View File

@ -57,6 +57,3 @@ index 4dfd86a0b3..82a962bc73 100644
ALOGE("unsupported channel count %u", getChannels());
return NO_INIT;
}
--
2.31.1

View File

@ -217,6 +217,3 @@ index 55d0809ee4e5..33cb0a93bb71 100644
@Override
public int getFeature(int featureId) {
return nativeGetFeature(featureId);
--
2.31.1

View File

@ -34,6 +34,3 @@ index f2e3333b67da..f8bfc011e670 100644
}
String name = sa.getNonConfigurationString(
--
2.31.1

View File

@ -192,6 +192,3 @@ index 026c10237add..f5c374df200d 100644
<!-- Protected Apps Notification -->
<string name="notify_package_component_protected_title">Activity launch blocked</string>
--
2.31.1

View File

@ -44,6 +44,3 @@ index a9e350570508..de31ba177ca2 100644
int mode = AppOpsManager.opToDefaultMode(code,
isStrict(code, uid, packageName));
if (AppOpsManager.isStrictOp(code) && mPolicy != null) {
--
2.31.1

View File

@ -30,6 +30,3 @@ index a9a00a60f0e5..84b196a2375b 100644
AppOpsManager.MODE_ALLOWED, // OP_OTHER_SENSORS
};
--
2.31.1

View File

@ -32,6 +32,3 @@ index 0f224dae3337..f6026a82ad72 100644
<!-- ==================================================== -->
<!-- Permissions related to changing status bar -->
--
2.31.1

View File

@ -137,6 +137,3 @@ index d8e08775a4..fe47eb37e1 100644
return true;
}
--
2.31.1

View File

@ -26,6 +26,3 @@ index d3c13eee9..90aa4f219 100644
if (display >= HWC_NUM_DISPLAY_TYPES) {
return -EINVAL;
}
--
2.31.1

View File

@ -27,6 +27,3 @@ index 5f825c19b..e4b687d6b 100644
auto err = CallDisplayFunction(device, display, &HWCDisplay::SetColorMode, mode);
if (err != HWC2_ERROR_NONE)
return -EINVAL;
--
2.31.1

View File

@ -44,6 +44,3 @@ index 96111d9f3..01c6d367b 100644
auto err = CallDisplayFunction(device, display, &HWCDisplay::SetColorMode, mode);
if (err != HWC2_ERROR_NONE)
return -EINVAL;
--
2.31.1

View File

@ -84,6 +84,3 @@ index 6969fe5..9367012 100644
// loop through adapters, and deliver to all adapters.
TO_ALL_LOCADAPTERS(
mLocAdapters[i]->reportPosition(location,
--
2.31.1

View File

@ -184,6 +184,3 @@ index ccfb8c2d2..b887b72bd 100644
memcpy ( omxhdr->pBuffer, (void *)
((unsigned long)vdec_msg->msgdata.output_frame.bufferaddr +
(unsigned long)vdec_msg->msgdata.output_frame.offset),
--
2.31.1

View File

@ -190,6 +190,3 @@ index d1311f6ce..11b882aac 100644
memcpy ( omxhdr->pBuffer, (void *)
((unsigned long)vdec_msg->msgdata.output_frame.bufferaddr +
(unsigned long)vdec_msg->msgdata.output_frame.offset),
--
2.31.1

View File

@ -177,6 +177,3 @@ index 9d041e990..003cd9b56 100644
vdec_msg->msgdata.output_frame.bufferaddr)
memcpy ( omxhdr->pBuffer, (void *)
((unsigned long)vdec_msg->msgdata.output_frame.bufferaddr +
--
2.31.1

View File

@ -173,6 +173,3 @@ index 99b0c6e78..cfb72d83b 100644
vdec_msg->msgdata.output_frame.bufferaddr)
memcpy ( omxhdr->pBuffer, (void *)
((unsigned long)vdec_msg->msgdata.output_frame.bufferaddr +
--
2.31.1

View File

@ -62,6 +62,3 @@ index 74dcec1..f2bfd39 100644
ifdef TI_CAMERAHAL_USES_LEGACY_DOMX_DCC
LOCAL_CFLAGS += -DUSES_LEGACY_DOMX_DCC
endif
--
2.31.1

View File

@ -8950,6 +8950,3 @@ zijpNIOIO+!E?rpWOrFNcr;GhCw^<=x6~~2Uh!078Rur!+DN9>X{8UMqgH8U4D!G6>
zv0N5h>QPd#YH3Msv2bFnELl;;zV-usjC*#D*moo=zDwh|Eo;PCzHIm$aWQwLQfwc|
YHqQ{xVh<b^hj9AC;*GwcivRobzeh5;4*&oF
--
2.31.1

View File

@ -7374,6 +7374,3 @@ zY%$#i@pS4djaiPN&#s*~IE9i8d12%%m*E*F+Nv84w}(4$!<R;R%VCB&VdU_@;exh+
z#(J^DG|A(YEywfA!P*?lE))Y|<r(UhGkkUsC$5wp7Te3xQIWd<OW${;$t#T_Fm*0n
bU#T@c<%o0>c`u%phDaD?>GH0dd;j}C?50qK
--
2.31.1

View File

@ -141,6 +141,3 @@ index 5ae923a..45df2a1 100644
- </PreferenceScreen>
-
</PreferenceScreen>
--
2.31.1

View File

@ -102,6 +102,3 @@ index ec2138d..5fdc8f1 100644
private void updateAutoPowerSaveValue() {
final int level = Global.getInt(
getContentResolver(), Global.LOW_POWER_MODE_TRIGGER_LEVEL, 0);
--
2.31.1

View File

@ -109,6 +109,3 @@ index 6bc251aed..b6fd0c161 100644
}
}
}
--
2.31.1

View File

@ -187,6 +187,3 @@ index 702e6db0ae..98df2759b2 100644
private void addMobileSection(int subId) {
TemplatePreferenceCategory category = (TemplatePreferenceCategory)
inflatePreferences(R.xml.data_usage_cellular);
--
2.31.1

View File

@ -170,6 +170,3 @@ index b3d344ed5e..827ef67e9d 100644
};
/**
--
2.31.1

View File

@ -31,6 +31,3 @@ index a51a3279f1..504267ab27 100644
final AppOpsManager.OpEntry firstOp = entry.getOpEntry(0);
final int switchOp = AppOpsManager.opToSwitch(firstOp.getOp());
--
2.31.1

View File

@ -37,6 +37,3 @@ index 38568e4baf..49e2a4f2d1 100644
<item>US</item>
<item>CA</item>
<item>DE</item>
--
2.31.1

View File

@ -188,6 +188,3 @@ index f10a917..f916f5b 100644
public static final String DISABLE_NAV_KEYS = "disable_nav_keys";
public static final String KEY_APPLY_DEFAULT_THEME = "apply_default_theme";
public static final String KEY_BUTTON_BACKLIGHT = "pre_navbar_button_backlight";
--
2.31.1

View File

@ -31,6 +31,3 @@ index bba1c88..a31492e 100644
}
public static String getChangelogURL(Context context) {
--
2.31.1

View File

@ -377,6 +377,3 @@ index a31492e..bea09ca 100644
return server + "?base=LineageOS&device=" + device + "&inc=" + incrementalVersion;
}
--
2.31.1

View File

@ -136,6 +136,3 @@ index d5c099241..8241b9728 100644
}
@Override
--
2.31.1

View File

@ -257,6 +257,3 @@ index 8241b9728..8f926bd36 100644
} else {
mButtonEnabledNetworks.setSummary(R.string.network_global);
}
--
2.31.1

View File

@ -156,6 +156,3 @@ index a79edc4bc..630d372ad 100644
extern BOOLEAN btsnd_hcic_enable_test_mode (void); /* Enable Device Under Test Mode */
extern BOOLEAN btsnd_hcic_write_pagescan_type(UINT8 type); /* Write Page Scan Type */
extern BOOLEAN btsnd_hcic_write_inqscan_type(UINT8 type); /* Write Inquiry Scan Type */
--
2.31.1

View File

@ -48,6 +48,3 @@ index 977d2668d..cac0c2211 100644
/* 2DH5 payload size of 679 bytes - (4 bytes L2CAP Header + 12 bytes AVDTP Header) */
#define MAX_2MBPS_AVDTP_MTU 663
--
2.31.1

View File

@ -165,6 +165,3 @@ index cac0c2211..4c956bd3c 100644
}
return rate;
--
2.31.1

View File

@ -23,6 +23,3 @@ index 5befa7a10..b73393182 100644
/* the existing len */
BE_STREAM_TO_UINT16(len, p_data);
p_num = p_data + 1;
--
2.31.1

View File

@ -49,6 +49,3 @@ index 40a36402e..4abc6d1a8 100644
write /proc/sys/kernel/kptr_restrict 2
write /proc/sys/vm/mmap_min_addr 32768
write /proc/sys/net/ipv4/ping_group_range "0 2147483647"
--
2.31.1

View File

@ -30,6 +30,3 @@ index 59de1f129..d165127fa 100644
} misc_block_device:blk_file { append link relabelfrom rename write open read ioctl lock };
# Only servicemanager should be able to register with binder as the context manager
--
2.31.1

View File

@ -129,6 +129,3 @@ index db59b6573..334cb9144 100644
# Read /sys/kernel/debug/wakeup_sources.
allow system_server debugfs:file r_file_perms;
--
2.31.1

View File

@ -61,6 +61,3 @@ index 0ae9d9f..6141624 100644
char *me = "cryptfs";
--
2.31.1

@ -1 +1 @@
Subproject commit 57de28e96465c899ef7779eb02f5c95f3e5b52f3
Subproject commit 8c9bfd20e0114ccfec9e501fd2508aa4e49b399c

View File

@ -105,6 +105,7 @@ patchWorkspace() {
repopick -it n-asb-2021-09;
repopick -it n-asb-2021-10;
repopick -it tzdb2021c_N;
repopick -it n-asb-2021-11;
sh "$DOS_SCRIPTS/Patch.sh";
sh "$DOS_SCRIPTS_COMMON/Enable_Verity.sh";

View File

@ -75,7 +75,7 @@ applyPatch "$DOS_PATCHES/android_build/0001-OTA_Keys.patch"; #Add correct keys t
sed -i '50i$(my_res_package): PRIVATE_AAPT_FLAGS += --auto-add-overlay' core/aapt2.mk; #Enable auto-add-overlay for packages, this allows the vendor overlay to easily work across all branches.
sed -i '296iLOCAL_AAPT_FLAGS += --auto-add-overlay' core/package_internal.mk;
sed -i 's/messaging/Silence/' target/product/aosp_base_telephony.mk; #Replace the Messaging app with Silence
sed -i 's/2021-06-05/2021-10-05/' core/version_defaults.mk; #Bump Security String #n-asb-2021-10 #XXX
sed -i 's/2021-06-05/2021-11-05/' core/version_defaults.mk; #Bump Security String #n-asb-2021-11 #XXX
fi;
if enterAndClear "device/qcom/sepolicy"; then