-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #38 from SimpleAppProjects/develop
v1.14.0
- Loading branch information
Showing
181 changed files
with
10,788 additions
and
9,837 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
hidden-api/src/main/java/android/content/pm/IPackageManager.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package android.content.pm; | ||
|
||
import android.os.Binder; | ||
import android.os.Build; | ||
import android.os.IBinder; | ||
import android.os.IInterface; | ||
|
||
import androidx.annotation.DeprecatedSinceApi; | ||
|
||
public interface IPackageManager extends IInterface { | ||
|
||
void grantRuntimePermission(String packageName, String permissionName, int userId); | ||
|
||
@DeprecatedSinceApi(api = Build.VERSION_CODES.R) | ||
void revokeRuntimePermission(String packageName, String permissionName, int userId); | ||
|
||
abstract class Stub extends Binder implements IPackageManager { | ||
public static IPackageManager asInterface(IBinder obj) { | ||
throw new RuntimeException("Stub!"); | ||
} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
hidden-api/src/main/java/android/location/ILocationManager.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package android.location; | ||
|
||
import android.os.Binder; | ||
import android.os.Build; | ||
import android.os.IBinder; | ||
import android.os.IInterface; | ||
|
||
import androidx.annotation.RequiresApi; | ||
|
||
public interface ILocationManager extends IInterface { | ||
|
||
@RequiresApi(api = Build.VERSION_CODES.P) | ||
void setLocationEnabledForUser(boolean enabled, int userId); | ||
|
||
abstract class Stub extends Binder implements ILocationManager { | ||
public static ILocationManager asInterface(IBinder obj) { | ||
throw new RuntimeException("Stub!"); | ||
} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
hidden-api/src/main/java/android/net/IConnectivityManager.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package android.net; | ||
|
||
import android.os.Binder; | ||
import android.os.Build; | ||
import android.os.IBinder; | ||
import android.os.IInterface; | ||
import android.os.ResultReceiver; | ||
|
||
import androidx.annotation.DeprecatedSinceApi; | ||
|
||
public interface IConnectivityManager extends IInterface { | ||
@DeprecatedSinceApi(api = Build.VERSION_CODES.R) | ||
void startTethering(int type, ResultReceiver receiver, boolean showProvisioningUi); | ||
|
||
@DeprecatedSinceApi(api = Build.VERSION_CODES.R) | ||
void stopTethering(int type); | ||
|
||
abstract class Stub extends Binder implements IConnectivityManager { | ||
public static IConnectivityManager asInterface(IBinder obj) { | ||
throw new RuntimeException("Stub!"); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.