mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-03 00:00:24 -04:00
android: Move annotation to method where startActivityAndCollapse() is called
Fixes: 5237bf3a5c6f ("android: Suppress deprecation warning because of startActivityAndCollapse()")
This commit is contained in:
parent
b93141985b
commit
e4d6bcef48
@ -130,7 +130,6 @@ public class VpnTileService extends TileService implements VpnStateService.VpnSt
|
||||
return mDataSource != null ? mDataSource.getVpnProfile(uuid) : null;
|
||||
}
|
||||
|
||||
@SuppressLint("StartActivityAndCollapseDeprecated")
|
||||
@Override
|
||||
public void onClick()
|
||||
{
|
||||
@ -219,6 +218,7 @@ public class VpnTileService extends TileService implements VpnStateService.VpnSt
|
||||
}
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
@SuppressLint("StartActivityAndCollapseDeprecated")
|
||||
private void startActivityAndCollapseCompat(Intent intent)
|
||||
{
|
||||
startActivityAndCollapse(intent);
|
||||
|
Loading…
x
Reference in New Issue
Block a user