Update the UserProfileManagerDxe to keep the old behaviors after add exit action...
authorydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 16 Sep 2011 06:08:00 +0000 (06:08 +0000)
committerydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 16 Sep 2011 06:08:00 +0000 (06:08 +0000)
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12363 6f19259b-4bc3-4df7-8a09-765794883524

SecurityPkg/UserIdentification/UserProfileManagerDxe/UserProfileManager.c

index 74c979d..c41fe97 100644 (file)
@@ -422,7 +422,6 @@ UserProfileManagerCallback (
           //\r
           case KEY_MODIFY_PROV:         \r
             mProviderChoice = Value->u8;\r
-            *ActionRequest  = EFI_BROWSER_ACTION_REQUEST_SUBMIT;\r
             break;\r
 \r
           //\r
@@ -430,7 +429,6 @@ UserProfileManagerCallback (
           //\r
           case KEY_MODIFY_CONN:\r
             mConncetLogical = Value->u8;\r
-            *ActionRequest  = EFI_BROWSER_ACTION_REQUEST_SUBMIT;\r
             break;\r
 \r
           //\r
@@ -445,7 +443,7 @@ UserProfileManagerCallback (
           //\r
           case KEY_IP_RETURN_UIF:\r
             SaveIdentityPolicy ();\r
-            *ActionRequest = EFI_BROWSER_ACTION_REQUEST_SUBMIT;\r
+            *ActionRequest = EFI_BROWSER_ACTION_REQUEST_FORM_APPLY;\r
             break;\r
 \r
           default:\r
@@ -473,7 +471,6 @@ UserProfileManagerCallback (
           //\r
           case KEY_MODIFY_RIGHT:\r
             mAccessInfo.AccessRight = Value->u8;\r
-            *ActionRequest  = EFI_BROWSER_ACTION_REQUEST_SUBMIT;\r
             break;\r
 \r
           //\r
@@ -481,7 +478,6 @@ UserProfileManagerCallback (
           //\r
           case KEY_MODIFY_SETUP:\r
             mAccessInfo.AccessSetup= Value->u8;\r
-            *ActionRequest  = EFI_BROWSER_ACTION_REQUEST_SUBMIT;\r
             break;\r
 \r
           //\r
@@ -489,7 +485,6 @@ UserProfileManagerCallback (
           //\r
           case KEY_MODIFY_BOOT:\r
             mAccessInfo.AccessBootOrder = Value->u32;\r
-            *ActionRequest  = EFI_BROWSER_ACTION_REQUEST_SUBMIT;\r
             break;\r
 \r
           //\r
@@ -551,7 +546,7 @@ UserProfileManagerCallback (
           //\r
           case KEY_AP_RETURN_UIF:\r
             SaveAccessPolicy ();\r
-            *ActionRequest = EFI_BROWSER_ACTION_REQUEST_SUBMIT;\r
+            *ActionRequest = EFI_BROWSER_ACTION_REQUEST_FORM_APPLY;\r
             break;\r
 \r
           default:\r