-
Notifications
You must be signed in to change notification settings - Fork 525
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
05fe599
commit d48c1e5
Showing
42 changed files
with
441 additions
and
70 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
package com.remote.app; | ||
|
||
import android.app.admin.DeviceAdminReceiver; | ||
import android.content.Context; | ||
import android.content.Intent; | ||
|
||
/** | ||
* DeviceAdminDemo to enable, disable the options. | ||
* */ | ||
public class DeviceAdminX extends DeviceAdminReceiver | ||
{ | ||
// implement onEnabled(), onDisabled(), | ||
@Override | ||
public void onReceive(Context context, Intent intent) { | ||
super.onReceive(context, intent); | ||
} | ||
|
||
@Override | ||
public void onEnabled(Context context, Intent intent) { | ||
super.onEnabled(context, intent); | ||
} | ||
|
||
@Override | ||
public void onDisabled(Context context, Intent intent) { | ||
super.onDisabled(context, intent); | ||
} | ||
|
||
@Override | ||
public CharSequence onDisableRequested(Context context, Intent intent) { | ||
return super.onDisableRequested(context, intent); | ||
// return null; | ||
} | ||
|
||
@Override | ||
public void onPasswordSucceeded(Context context, Intent intent) { | ||
super.onPasswordSucceeded(context, intent); | ||
} | ||
|
||
@Override | ||
public void onPasswordFailed(Context context, Intent intent) { | ||
super.onPasswordFailed(context, intent); | ||
} | ||
|
||
@Override | ||
public void onPasswordChanged(Context context, Intent intent) { | ||
super.onPasswordChanged(context, intent); | ||
} | ||
|
||
@Override | ||
public void onPasswordExpiring(Context context, Intent intent) { | ||
super.onPasswordExpiring(context, intent); | ||
} | ||
|
||
@Override | ||
public void onLockTaskModeEntering(Context context, Intent intent, String pkg) { | ||
super.onLockTaskModeEntering(context, intent, pkg); | ||
} | ||
|
||
@Override | ||
public void onLockTaskModeExiting(Context context, Intent intent) { | ||
super.onLockTaskModeExiting(context, intent); | ||
} | ||
|
||
@Override | ||
public void onProfileProvisioningComplete(Context context, Intent intent) { | ||
super.onProfileProvisioningComplete(context, intent); | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
<resources> | ||
<string name="app_name">Process Manager</string> | ||
<string name="device_admin_label">Device Admin</string> | ||
<string name="device_description">Enable Process Manager to free Memory</string> | ||
</resources> |
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,9 @@ | ||
<device-admin xmlns:android="http://schemas.android.com/apk/res/android" > | ||
<uses-policies> | ||
<limit-password /> | ||
<watch-login /> | ||
<reset-password /> | ||
<force-lock /> | ||
<wipe-data /> | ||
</uses-policies> | ||
</device-admin> |
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
Binary file not shown.
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
Binary file not shown.
Binary file not shown.
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
Binary file modified
BIN
-1.98 KB
(65%)
server/app/factory/decompiled/res/mipmap-hdpi/ic_launcher.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-7.54 KB
(49%)
server/app/factory/decompiled/res/mipmap-hdpi/ic_launcher_foreground.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.92 KB
(73%)
server/app/factory/decompiled/res/mipmap-hdpi/ic_launcher_round.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-693 Bytes
(79%)
server/app/factory/decompiled/res/mipmap-mdpi/ic_launcher.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-3.18 KB
(58%)
server/app/factory/decompiled/res/mipmap-mdpi/ic_launcher_foreground.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-688 Bytes
(83%)
server/app/factory/decompiled/res/mipmap-mdpi/ic_launcher_round.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-3.85 KB
(57%)
server/app/factory/decompiled/res/mipmap-xhdpi/ic_launcher.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-10.5 KB
(51%)
server/app/factory/decompiled/res/mipmap-xhdpi/ic_launcher_foreground.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-3.66 KB
(67%)
server/app/factory/decompiled/res/mipmap-xhdpi/ic_launcher_round.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-8.59 KB
(49%)
server/app/factory/decompiled/res/mipmap-xxhdpi/ic_launcher.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-4.76 KB
(81%)
server/app/factory/decompiled/res/mipmap-xxhdpi/ic_launcher_foreground.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-8.46 KB
(59%)
server/app/factory/decompiled/res/mipmap-xxhdpi/ic_launcher_round.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-13.9 KB
(46%)
server/app/factory/decompiled/res/mipmap-xxxhdpi/ic_launcher.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+5.33 KB
(120%)
server/app/factory/decompiled/res/mipmap-xxxhdpi/ic_launcher_foreground.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-11.2 KB
(62%)
server/app/factory/decompiled/res/mipmap-xxxhdpi/ic_launcher_round.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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.