diff options
author | wangqi <wangqi@google.com> | 2017-11-13 14:21:02 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2017-11-17 18:20:53 -0800 |
commit | 31ddc75874e746d860d022eb57fa7f396874bd21 (patch) | |
tree | da3cba801fb76668b70006c2968496bc048a70e4 /java | |
parent | b0276e829fc46ff44c5578f578fcd93e92de28d0 (diff) |
Fix bug that RTL posistion is not correct when initializing in CallLogActivity.
Bug: 69133607
Test: manual
PiperOrigin-RevId: 175586518
Change-Id: Id877da9734973f067b1455c4314406f00652b480
Diffstat (limited to 'java')
-rw-r--r-- | java/com/android/dialer/app/calllog/CallLogActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/com/android/dialer/app/calllog/CallLogActivity.java b/java/com/android/dialer/app/calllog/CallLogActivity.java index 1bb894c59..c83d992ee 100644 --- a/java/com/android/dialer/app/calllog/CallLogActivity.java +++ b/java/com/android/dialer/app/calllog/CallLogActivity.java @@ -216,7 +216,7 @@ public class CallLogActivity extends TransactionSafeActivity @Override public Object instantiateItem(ViewGroup container, int position) { final CallLogFragment fragment = (CallLogFragment) super.instantiateItem(container, position); - if (position == TAB_INDEX_ALL) { + if (getRtlPosition(position) == TAB_INDEX_ALL) { mAllCallsFragment = fragment; } return fragment; |