mirror of
https://github.com/ReneLergner/WPinternals.git
synced 2026-06-16 04:10:11 +10:00
Implement Qualcomm Sahara VIP and fix a few bugs
* Qualcomm Sahara VIP * Project Cleanup * Allow unlocking an already unlocked phone
This commit is contained in:
@@ -159,7 +159,7 @@ namespace WPinternals
|
||||
{
|
||||
get
|
||||
{
|
||||
return _UnlockImageCommand ??= new DelegateCommand(() => UnlockImageCallback(EFIESPMountPoint, MainOSMountPoint), () => ((EFIESPMountPoint != null) || (MainOSMountPoint != null)));
|
||||
return _UnlockImageCommand ??= new DelegateCommand(() => UnlockImageCallback(EFIESPMountPoint, MainOSMountPoint), () => (EFIESPMountPoint != null) || (MainOSMountPoint != null));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -182,7 +182,7 @@ namespace WPinternals
|
||||
{
|
||||
IsPhoneDisconnected = PhoneNotifier.CurrentInterface == null;
|
||||
IsPhoneInMassStorage = PhoneNotifier.CurrentInterface == PhoneInterfaces.Lumia_MassStorage;
|
||||
IsPhoneInOtherMode = (!IsPhoneDisconnected && !IsPhoneInMassStorage);
|
||||
IsPhoneInOtherMode = !IsPhoneDisconnected && !IsPhoneInMassStorage;
|
||||
UnlockPhoneCommand.RaiseCanExecuteChanged();
|
||||
UnlockImageCommand.RaiseCanExecuteChanged();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user