mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-10-27 13:29:40 +00:00
Extract ExpandableView code into interface
This commit is contained in:
@@ -34,8 +34,8 @@ public class Topic {
|
||||
publish(true);
|
||||
}
|
||||
|
||||
public void publish(boolean b) {
|
||||
hasPublished = b;
|
||||
public void publish(boolean record) {
|
||||
hasPublished = record;
|
||||
if (subscribers != null) {
|
||||
for (WeakReference<Subscriber> subscriber : subscribers) {
|
||||
if (subscriber.get() != null)
|
||||
|
||||
@@ -142,7 +142,7 @@ public class Utils {
|
||||
@Override
|
||||
public void handleResults(Result result) {
|
||||
getMagiskManager(mActivity).SNCheckResult = result;
|
||||
getMagiskManager(mActivity).safetyNetDone.publish();
|
||||
getMagiskManager(mActivity).safetyNetDone.publish(false);
|
||||
}
|
||||
}.requestTest();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user