mirror of
https://gitee.com/replugin/RePlugin.git
synced 2024-12-02 03:38:06 +08:00
Merge branch 'master' of https://github.com/cundong/RePlugin
This commit is contained in:
commit
f3a69d3b16
@ -1,33 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2005-2017 Qihoo 360 Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
* the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed To in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
* License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
|
||||
package com.qihoo360.loader2;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.os.Bundle;
|
||||
|
||||
/**
|
||||
* @author RePlugin Team
|
||||
*/
|
||||
public interface ActivityLifecycleCallbacks {
|
||||
void onActivityCreated(Activity activity, Bundle savedInstanceState);
|
||||
void onActivityStarted(Activity activity);
|
||||
void onActivityResumed(Activity activity);
|
||||
void onActivityPaused(Activity activity);
|
||||
void onActivityStopped(Activity activity);
|
||||
void onActivitySaveInstanceState(Activity activity, Bundle outState);
|
||||
void onActivityDestroyed(Activity activity);
|
||||
}
|
@ -344,12 +344,12 @@ public class RePlugin {
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取SDK的版本信息
|
||||
* 获取当前版本
|
||||
*
|
||||
* @return SDK的版本,如2.0.0等
|
||||
* @return 版本号,如2.0.0等
|
||||
* @since 2.0.0
|
||||
*/
|
||||
public static String getSDKVersion() {
|
||||
public static String getVersion() {
|
||||
return BuildConfig.VERSION_NAME;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user