PANDORA_KERNEL_RELEASE Telegram 242
Pandora Kernel 发布
只要没有手动设置禁用的prop,相关功能就是启用状态。
private static final String RESCUEPARTY_PLUS_DISABLE_PROP = "persist.sys.rescuepartyplus.disable";
private static final String RESCUEPARTY_PLUS_ENABLE_PROP = "persist.sys.rescuepartyplus.enable";

static boolean checkDisableRescuePartyPlus() {
    if (SystemProperties.getBoolean(RESCUEPARTY_PLUS_DISABLE_PROP, false)) {
        Slog.w(TAG, "RescueParty Plus is disable!");
        return true;
    }

    if (!SystemProperties.getBoolean(RESCUEPARTY_PLUS_ENABLE_PROP, false)) {
        return false;
    }

    Slog.w(TAG, "This device support and enable RescuePartyPlus! (Via cloud control)");
    return false;
}


可以看到,无论persist.sys.rescuepartyplus.enable是什么值,最终返回值都没有区别,所以并不需要关注这个prop。



tgoop.com/pandora_kernel_release/242
Create:
Last Update:

private static final String RESCUEPARTY_PLUS_DISABLE_PROP = "persist.sys.rescuepartyplus.disable";
private static final String RESCUEPARTY_PLUS_ENABLE_PROP = "persist.sys.rescuepartyplus.enable";

static boolean checkDisableRescuePartyPlus() {
    if (SystemProperties.getBoolean(RESCUEPARTY_PLUS_DISABLE_PROP, false)) {
        Slog.w(TAG, "RescueParty Plus is disable!");
        return true;
    }

    if (!SystemProperties.getBoolean(RESCUEPARTY_PLUS_ENABLE_PROP, false)) {
        return false;
    }

    Slog.w(TAG, "This device support and enable RescuePartyPlus! (Via cloud control)");
    return false;
}


可以看到,无论persist.sys.rescuepartyplus.enable是什么值,最终返回值都没有区别,所以并不需要关注这个prop。

BY Pandora Kernel 发布


Share with your friend now:
tgoop.com/pandora_kernel_release/242

View MORE
Open in Telegram


Telegram News

Date: |

Hui said the messages, which included urging the disruption of airport operations, were attempts to incite followers to make use of poisonous, corrosive or flammable substances to vandalize police vehicles, and also called on others to make weapons to harm police. Don’t publish new content at nighttime. Since not all users disable notifications for the night, you risk inadvertently disturbing them. How to Create a Private or Public Channel on Telegram? Members can post their voice notes of themselves screaming. Interestingly, the group doesn’t allow to post anything else which might lead to an instant ban. As of now, there are more than 330 members in the group. With the “Bear Market Screaming Therapy Group,” we’ve now transcended language.
from us


Telegram Pandora Kernel 发布
FROM American