refactor: remove FreeReflection auto generation, add it using dependency

This commit is contained in:
2023-10-04 19:48:35 +08:00
parent ae71bea0a0
commit a003a4ea07
6 changed files with 9 additions and 207 deletions

View File

@@ -1,50 +0,0 @@
/*
* YukiHookAPI - An efficient Kotlin version of the Xposed Hook API.
* Copyright (C) 2019-2022 HighCapable
* https://github.com/fankes/YukiHookAPI
*
* MIT License
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
* This file is Created by weishu on 2018/6/7.
* This file is Forked from https://github.com/tiann/FreeReflection and make it to stub
*/
package com.highcapable.yukihookapi.thirdparty.me.weishu.reflection;
import android.content.Context;
/**
* FreeReflection 注入 Stub
*/
@SuppressWarnings("unused")
public class Reflection {
/**
* 调用启动方法
* <p>
* 方法内容将在每次编译时自动生成
*
* @param context The Base Context
* @return int
*/
public static int unseal(Context context) {
throw new RuntimeException("Stub!");
}
}