How do I avoid that my App enters optimization on Samsung devices

前端 未结 2 590
礼貌的吻别
礼貌的吻别 2020-12-08 08:39

Smart manager kills an app that hasn\'t been used for 3 days. My app does some background work and hence, the user doesn\'t need to open it.

What can I do so that it

2条回答
  •  我在风中等你
    2020-12-08 09:17

    I found an array with the packages that are in the whitelist from Smart Manager. There is some kind of partnership with developers and Samsung.

    Galaxy S7 Android N, Smart Manager its package name now is "com.samsung.android.lool"

    Intent intent = new Intent(Intent.ACTION_MAIN);
                intent.setClassName("com.samsung.android.lool", "com.samsung.android.sm.ui.battery.BatteryActivity");
                intent.addCategory(Intent.CATEGORY_LAUNCHER);
                intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
                startActivity(intent);
    
    
    
        com.sds.mdmain
        com.whatsapp
        com.facebook.orca
        com.tencent.mm
        com.skype.raider
        com.viber.voip
        jp.naver.line.android
        com.kakao.talk
        com.snapchat.android
        com.sgiggle.production
        kik.android
        com.kakao.story
        com.nhn.android.band
        com.btb.minihompy
        com.sec.chatonblue
        com.sds.mobiledesk
        com.samsung.android.spay
        com.sec.android.app.shealth
        com.z7.samsung.mobiledesk.z7
        com.z7.samsung.mobiledesk.Z7
        com.sds.mysinglesquare
        com.samsung.uready.agent
        com.sds.mobile.mdm.client.MDMManager
        com.samsung.android.app.watchmanager
        com.samsung.android.wms
        com.samsung.accessory.goproviders
        com.samsung.accessory.saproviders
        com.sec.android.sidesync30
        com.amc.ui
        com.sec.wecontacts
        com.bns.wecontacts
        com.sec.weagent
        com.sec.wetester
        com.samsung.dbs.service
        com.kddi.android.videopass
        com.ktcs.whowho
        com.google.android.wearable.app
        com.google.android.projection.gearhead
        com.sec.chaton.secure
        com.estsoft.alyac
        com.estsoft.alyac.tablet
        com.coremobility.app.vnotes
        com.kineto.smartwifi
        msgplus.jibe.sca
        com.locationlabs.sparkle.yellow.pre
        com.locationlabs.v3client
        com.oem.smartwifisupport
        com.wsandroid.suite.vodaemea
        com.vodafone.sn.vpn
        com.vodafone.smhs
        com.vodafone.vodafone360updates
        com.vodafone.netperform.full
        com.vf_nqt.client
        com.vodafone.messaging
        com.vodafone.safetynet.core
        at.mobilkom.android.meina1
        al.myvodafone.android
        com.zentity.vodafone
        com.appseleration.android.selfcare
        com.myvodafone.android
        hu.mito.android.vodafone
        com.VodafoneIreland.MyVodafone
        it.vodafone.my190
        com.vodafone.android
        com.vodafone.mCare
        be.belgacom.hello
        ro.vodafone.mcare.android
        es.vodafone.mobile.mivodafone
        com.swisscom.myswisscom
        com.myvodafoneapp
        za.co.vodacom.android.app
        com.appseleration.speedtest
        com.radioopt.tmplus
        com.radioopt.widget
        com.radioopt.engineering
        com.radioopt.enterprise
        com.radioopt.apc
        com.radioopt.network
        com.vodafone.accesorystore
        at.mobilkom.android.a1apps
        com.vodafone.myaccessories
        com.swisscom.scappslauncher
        com.vodafone.directaccessories
        hr.infinum.mojvip
        com.vodafone.appstore.sa
        com.skt.skaf.a000as00tm
        com.kt.mtmoney
        com.lgt.tmoney
        com.ebcard.skcashbee
        com.kt.cashbee
        com.lguplus.cashbee
        com.hs.govsns.mobile
        com.oculus.home
        com.samsung.android.hmt.vrsvc
        com.oculus.oculus360photos
        com.oculus.oculus360videos
        com.samsung.android.app.vrsetupwizard
        com.samsung.android.app.vrsetupwizardstub
        com.oculus.horizon
        com.samsung.android.app.vr.gallery
        com.samsung.android.app.vr.video
        com.oculus.cinema
        com.oculus.systemactivities
        com.facebook.appmanager
        com.facebook.system
        com.ipg.gguide.dcm_app.android
        com.ipg.gguide.dcm_wifi_app.android
        com.nttdocomo.android.iconcier
        jp.co.nttdocomo.ichannel
        com.nttdocomo.android.osv
        com.nttdocomo.android.anmane
        com.nttdocomo.android.anmane2
        com.rsupport.rs.activity.ntt
        jp.co.nttdocomo.android.gs.utility2_sha2
        jp.co.nttdocomo.android.gs.utility2
        com.nttdocomo.android.mascot
        com.nttdocomo.android.docomosimplehome
        com.nttdocomo.android.lac
        com.nttdocomo.android.settings.lac
        com.nttdocomo.android.cloudstorageservice
        com.mcafee.vsm_android_dcm
        com.nttdocomo.android.gs.utility_sha2
        com.nttdocomo.android.gs.utility
        com.nttdocomo.android.accountwipe
        com.nttdocomo.android.messagedl
        com.nttdocomo.android.homeagent
        com.nttdocomo.android.toruca
        com.nttdocomo.android.photocollection
        com.nttdocomo.android.photoviewer
        jp.id_credit_sp.android
        com.nttdocomo.android.apnmng
        jp.co.nttdocomo.contentsheadline
        com.mcafee.safecall.docomo
        jp.dmapnavi.navi02
        com.uievolution.gguide.android
        com.showcasegig.devlawson
        jp.co.mcdonalds.android
        jp.co.lawson.activity
        kr.co.nexdigm.mdm.s
        kr.co.nexdigm.mdm.agent
        com.sktelecom.ssm
        com.sktelecom.ssmpush
        com.ebcard.cashbeew.s
        com.life360.android.safetymapd
        com.fsp.android.friendlocator
        com.fsp.android.c
        com.fsp.android.h
        com.fsp.android.phonetracker
        com.life360.android.note4
        com.life360.android.s6
        fr.freemobile.android.vvm
        fr.freemobile.android.mobilecompagnon
        kr.co.bnkbank.push.customer
        kr.co.bnkbank.push.employee
        com.shinhan.sbanking
        com.shinhan.speedup
        com.shinhan.smartcaremgr
        com.shinhan.smartfund
        com.shinhan.missionbanking
        com.shinhan.mobilebankbook
        com.safeon.approval
        com.shinhan.sbizbank
        com.shinhan.trade.copper
        com.shinhan.dingdong
        com.shinhan.shb2chd
        com.shcard.smartpay
        com.shinhancard.smartshinhan
        com.shinhancard.smartshinhan.mini
        com.wr.alrim
        com.IBK.SmartPush.app
        com.hanafn.push.agent
        com.hanabank.ebk.channel.android.hananbank
        com.samsung.android.app.memo
        com.samsung.android.snote
        com.samsung.android.app.pinboard
        com.sds.mobile.mdm.client.MDMManager
        com.sds.emm.client
        com.sds.emm.client.visitor
        gogolook.callgogolook2
        com.nhn.android.webtoon
        com.naver.linewebtoon
        com.naver.vapp
        com.navercorp.android.ttsapp
        com.nhn.android.music
        net.daum.android.daum
        com.daumkakao.android.brunchapp
        com.kakao.page
        com.vaultmicro.kidsnote
        com.orange.vvm
        com.telenor.mbedriftsnett
        com.samsung.android.app.scharm
        net.ib.android.smcard
        com.samsungcard.certi
        kr.co.samsungcard.mpocket
        com.samsungcard.shopping
        com.samsungcard.baby
        sc.chn.hom.msa.ga
        com.samsung.android.email.provider
        com.samsung.oh
        com.sec.android.app.sbrowser
        com.microsoft.windowsintune.companyportal
        com.icq.mobile.client
        com.my.mail
        com.vkontakte.android
        ru.mail.mailapp
        ru.ok.android
        com.google.android.apps.tachyon
        ru.mail
        com.lacoon.security.fox
        com.google.android.apps.fireball
        com.sds.mms.ui
        com.mcafee.android.scanservice
        com.android.services.telephony.common
        com.samsungcard.android.oap
        com.sec.android.app.ocr3
        com.sec.android.app.ocr4
        com.mediatek.BlueMagpie
        com.samsung.android.game.gametools
        it.h3g.areaclienti3
        com.skt.prod.cloud
        com.turkcell.bip
        com.samsung.android.intelligence.executormanager
        com.nttdocomo.android.hcebridge
        jp.id_credit_sp.android.devappli
        com.knb.psb
        com.knb.csb
        com.knb.bsp
        com.knb.bdr
        com.diotek.sec.lookup.dictionary
        com.samsung.android.onlinevideo
        com.oculus.systemdriver
        com.oculus.gearchina
        com.oculus.systemservices
        com.nttdocomo.android.iconcier_contents
        com.nttdocomo.android.socialphonebook
        com.nttdocomo.android.portablesim
        com.sktelecom.ttalk
    
    

提交回复
热议问题