am 357ebfc5: Fix default level flags for bidi. [DO NOT MERGE]

* commit '357ebfc5e43ecb35da9207d78a9a8a6c117a1002':
  Fix default level flags for bidi. [DO NOT MERGE]
This commit is contained in:
Deepanshu Gupta
2014-07-18 21:31:26 +00:00
committed by Android Git Automerger

View File

@@ -40,10 +40,10 @@ public class AndroidBidi_Delegate {
case 1: // Layout.DIR_REQUEST_RTL case 1: // Layout.DIR_REQUEST_RTL
break; // No change. break; // No change.
case -1: case -1:
dir = Bidi.LEVEL_DEFAULT_LTR; dir = Bidi.LEVEL_DEFAULT_RTL;
break; break;
case -2: case -2:
dir = Bidi.LEVEL_DEFAULT_RTL; dir = Bidi.LEVEL_DEFAULT_LTR;
break; break;
default: default:
// Invalid code. Log error, assume LEVEL_DEFAULT_LTR and continue. // Invalid code. Log error, assume LEVEL_DEFAULT_LTR and continue.