Skip to content

Instantly share code, notes, and snippets.

View codekidX's full-sized avatar

Ashish Shekar codekidX

View GitHub Profile
@codekidX
codekidX / ejabberd_ext_auth.py
Last active January 28, 2019 13:14
Example of external authentication script for ejabberd server
#!/usr/bin/env python
import sys
import logging
from struct import pack, unpack
logging.basicConfig(level=logging.INFO,
format='%(asctime)s %(levelname)s %(message)s',
filename='/var/log/ejabberd/extauth.log',
filemode='a')
@codekidX
codekidX / snippets.cson
Created August 8, 2017 15:34
My snippet (Atom) for adding copyrights
# Your snippets
#
# Atom snippets allow you to enter a simple prefix in the editor and hit tab to
# expand the prefix into a larger code block with templated values.
#
# You can create a new snippet in this file by typing "snip" and then hitting
# tab.
#
# An example CoffeeScript snippet to expand log to console.log:
#
diff --git a/device_mint.mk b/device_mint.mk
index 2e335e1..97e646c 100644
--- a/device_mint.mk
+++ b/device_mint.mk
@@ -60,3 +60,11 @@ TARGET_BUILD_VARIANT := userdebug
PRODUCT_AAPT_CONFIG := normal ldpi mdpi nodpi
PRODUCT_AAPT_PREF_CONFIG := ldpi
+# These are the hardware-specific settings that are stored in system properties.
+# Note that the only such settings should be the ones that are too low-level to
diff --git a/ril/com/android/internal/telephony/SamsungBCMRIL.java b/ril/com/android/internal/telephony/SamsungBCMRIL.java
index c38a22a..12c27fc 100644
--- a/ril/com/android/internal/telephony/SamsungBCMRIL.java
+++ b/ril/com/android/internal/telephony/SamsungBCMRIL.java
@@ -37,8 +37,13 @@ import java.util.ArrayList;
*/
public class SamsungBCMRIL extends RIL implements CommandsInterface {
public SamsungBCMRIL(Context context, int networkMode, int cdmaSubscription) {
- super(context, networkMode, cdmaSubscription);
- mQANElements = 5;