This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Source: https://www.droidwin.com/remove-bloatware-debloat-oneplus-10-pro-no-root/ | |
# | |
pm uninstall -k --user 0 com.android.apps.tag # Stock android fluff | |
pm uninstall -k --user 0 com.android.bips # Stock android fluff | |
pm uninstall -k --user 0 com.android.bluetoothmidiservice # Stock android fluff | |
pm uninstall -k --user 0 com.android.bookmarkprovider # Stock android fluff | |
pm uninstall -k --user 0 com.android.calllogbackup # Stock android fluff | |
pm uninstall -k --user 0 com.android.cellbroadcastreceiver.overlay.common # Stock android fluff | |
pm uninstall -k --user 0 com.android.cts.priv.ctsshim # Stock android fluff | |
pm uninstall -k --user 0 com.android.dreams.basic # Stock android AOD provider. This is needed for AOD to work fully |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const isUseEffect = (node) => node.callee.name === 'useEffect'; | |
const argumentIsArrowFunction = (node) => node.arguments[0].type === 'ArrowFunctionExpression'; | |
const effectBodyIsSingleFunction = (node) => { | |
const { body } = node.arguments[0]; | |
// It's a single unwrapped function call: | |
// `useEffect(() => theNameOfAFunction(), []);` | |
if (body.type === 'CallExpression') { |