Commit Graph

18518 Commits

Author SHA1 Message Date
Sally Yuen
72ec69254c Merge "Remove recycling references in A11yNodeInfo" into tm-dev am: c98812f8f5 am: fd70bd0529
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17891323

Change-Id: Id7f08b2b1dba66a151ce70df750e48bf9aaa76ee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-22 17:37:44 +00:00
Sally Yuen
c98812f8f5 Merge "Remove recycling references in A11yNodeInfo" into tm-dev 2022-04-22 16:52:05 +00:00
Alex Johnston
a1b136134c Merge "Make screen capture per-device DO and COPE" into tm-dev am: c170d9adf0 am: 21338dd57e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17070865

Change-Id: Ifde1b4fe4a7288db1677a15e08237dd42db231c9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-22 10:10:55 +00:00
Alex Johnston
c170d9adf0 Merge "Make screen capture per-device DO and COPE" into tm-dev 2022-04-22 09:29:12 +00:00
Mark Punzalan
2b8740539f Merge changes from topic "b192331240-singleInvoke" into tm-dev am: ac9ae5d960 am: 408dad72dc
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17571718

Change-Id: Ib7dc82f53e8385b3501e7f7c0b2dd9a68da692b2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-22 07:48:35 +00:00
Mark Punzalan
ac9ae5d960 Merge changes from topic "b192331240-singleInvoke" into tm-dev
* changes:
  Rename translationActivityUid to translatedAppUid.
  Reduce duplicate UiTranslationStateCallback calls.
2022-04-22 07:01:15 +00:00
Kohsuke Yatoh
eae7ca8165 Do not cleanup IME window if show is requested.
This CL fixes a race condition for IMM#showSoftInput, which surfaces
when it's called during an IME hide animation.
IMM#showSoftInput ends up calling WIC#show asynchronously, but at that
time the running IME hide animation may have already been finished
successfully, and WIC#show may fail to cancel the hide animation
(then the cleanup IMM#notifyImeHidden hides the IME again disruptively).

I think a clean fix is to have IMM#showSoftInput call WIC#show
synchronously. However, this requires a significant refactoring.

As a short term fix, this CL adds a boolean field indicating whether or
not IMM#showSoftInput has been called. If it's called, we skip calling
IMM#notifyImeHidden.

Bug: 221483132
Bug: 225674038
Test: atest InputMethodStressTest
Test: atest CtsInputMethodTestCases
Test: atest WindowInsetsAnimationControllerTests
Change-Id: I36d570630085d0bc34097a2433208601dc9cb0fd
(cherry picked from commit 4c607982ed)
Merged-In: I36d570630085d0bc34097a2433208601dc9cb0fd
2022-04-21 21:34:31 +00:00
Kohsuke Yatoh
4844170377 Notify IMMS synchronously on IME insets hidden.
Currently, IMMS will be notified asynchronously when an IME hide
animation finishes, via message dispatching through IMS
(IMM#notifyImeHidden -> IMS#notifyImeHidden -> IMMS#hideMySoftInput).
This creates a race condition when IMM#showSoftInput or WIC#show is
called around the end of hide animation.

This CL fixes the race condition by synchronously and directly
calling IMMS#hideSoftInput from IMM#notifyImeHidden.

Note that there is still another race condition for IMM#showSoftInput
(not WIC#show) if it's called during an IME hide animation;
IMM#showSoftInput ended up calling WIC#show asynchronously, but at that
time the running IME hide animation may have already been finished
successfully and WIC#show may fail to cancel the hide animation
(then the cleanup IMM#notifyImeHidden hides the IME again disruptively).
I will fix the latter issue in a separate CL.

Bug: 221483132
Bug: 225674038
Test: atest InputMethodStressTest
Test: atest CtsInputMethodTestCases
Test: atest WindowInsetsAnimationControllerTests
Change-Id: I7c71dc5a1d6b61aa79d1666f0e257e6401e4adb2
(cherry picked from commit 9065310f81)
Merged-In: I7c71dc5a1d6b61aa79d1666f0e257e6401e4adb2
2022-04-21 21:34:24 +00:00
Sally
daf03e85c3 Remove recycling references in A11yNodeInfo
Notably eliminate references in RangeInfo and CollectionInfo class
descriptions. We've just deprecated obtain and recycle, so keeping
outdated docs is confusing.

Test: builds
Bug: 229991765
Change-Id: Ia2d7963bf572740052e0da03950398d016a3caa4
2022-04-21 18:06:20 +00:00
Mark Punzalan
94ed570f35 Reduce duplicate UiTranslationStateCallback calls.
We don't invoke methods when translation state doesn't change (e.g.,
for consecutive startTranslation() calls).

Bug: 192331240
Test: atest UiTranslationManagerTest
Change-Id: I96def427b1fcabb7b83cb188c4b1ee017b5882a9
2022-04-21 17:43:42 +00:00
Simranjit Kohli
51bd22efbd Merge "[Autofill Crash]: Fix NPE in AutofillManager." into tm-dev am: 727ee17577 am: 84b5446e74
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17454973

Change-Id: I83cb7cf3333b943d2a5ab2064234676689be1bb9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-21 14:53:18 +00:00
Kohsuke Yatoh
c801c99c6c Merge changes from topic "kyatoh-b221483132"
* changes:
  Do not cleanup IME window if show is requested.
  Notify IMMS synchronously on IME insets hidden.
2022-04-21 14:34:50 +00:00
Simranjit Kohli
727ee17577 Merge "[Autofill Crash]: Fix NPE in AutofillManager." into tm-dev 2022-04-21 14:04:00 +00:00
Alex Johnston
af6b08b09a Make screen capture per-device DO and COPE
Test cases:
- DO
  - Verify disabled for entire device
  - Verify still disabled after restart
  - Verify no longer disabled when DO is removed
- COPE
  - parent
     - Verify disabled for entire device
     - Verify still disabled after restart
     - Verify no longer disabled when COPE PO is removed
  - not-parent
     - Verify disabled for user
     - Verify disabled after restart
     - Verify disabled when PO is removed

Bug: 217558483
Test: DevicePolicyManagerTest
      OrgOwnedProfileOwnerTest#testScreenCaptureDisabled
      ScreenCaptureDisabledTest
Change-Id: I977eb18619da46e1cfc5d0a8d351ea80d3ea7205
2022-04-21 13:29:42 +01:00
TYM Tsai
8a938b948d Merge "Auto append password hint for TextView" into tm-dev am: 2ab23eed06 am: c1a483379b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17750671

Change-Id: I806e9b7127a8f76f230302e8bb14932c66a975af
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-21 09:40:34 +00:00
TYM Tsai
2ab23eed06 Merge "Auto append password hint for TextView" into tm-dev 2022-04-21 08:13:10 +00:00
TYM Tsai
1338f4bde2 Merge "Use device config to control hints allow list for fill dialog" into tm-dev am: bd72a95c1f am: 2014d89f9c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16983004

Change-Id: I7634b0657407607706e4d2b2d0e20da9106b6ae0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-21 02:40:51 +00:00
TYM Tsai
bd72a95c1f Merge "Use device config to control hints allow list for fill dialog" into tm-dev 2022-04-21 02:01:13 +00:00
Simranjit Kohli
1b57e4cc4c [Autofill Crash]: Fix NPE in AutofillManager.
Bug: 227192989
Test: atest android.autofillservice.cts.dropdown.AuthenticationTest#testFillResponseAuthServiceHasNoDataWithEmptyResponse
Change-Id: If56d690882e8d4ad0dba1534f127478089c4d04f
2022-04-20 18:10:23 -07:00
Jon Eckenrode
3269dbd59a Merge "Revised the API documentation for overloaded methods getRawX, getRawY, getX, and getY of MotionEvent." am: 29b6451cef am: ad75b0c0f6 am: 5db658b8f3 am: 19270f18c5 am: b2ea650ee2
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2034083

Change-Id: Icdfa3cfc45897b158a2eed832c7914fc5b11e3f4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-21 00:03:42 +00:00
Jon Eckenrode
19270f18c5 Merge "Revised the API documentation for overloaded methods getRawX, getRawY, getX, and getY of MotionEvent." am: 29b6451cef am: ad75b0c0f6 am: 5db658b8f3
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2034083

Change-Id: I6eec0cb2d7dc0dd3fd9c0b42bef603806af3d41d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-20 23:21:22 +00:00
Jon Eckenrode
ad75b0c0f6 Merge "Revised the API documentation for overloaded methods getRawX, getRawY, getX, and getY of MotionEvent." am: 29b6451cef
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2034083

Change-Id: I8d793753a9e0f5679aa4539b07fdd3b7df4773fa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-20 22:41:18 +00:00
Kohsuke Yatoh
4c607982ed Do not cleanup IME window if show is requested.
This CL fixes a race condition for IMM#showSoftInput, which surfaces
when it's called during an IME hide animation.
IMM#showSoftInput ends up calling WIC#show asynchronously, but at that
time the running IME hide animation may have already been finished
successfully, and WIC#show may fail to cancel the hide animation
(then the cleanup IMM#notifyImeHidden hides the IME again disruptively).

I think a clean fix is to have IMM#showSoftInput call WIC#show
synchronously. However, this requires a significant refactoring.

As a short term fix, this CL adds a boolean field indicating whether or
not IMM#showSoftInput has been called. If it's called, we skip calling
IMM#notifyImeHidden.

Bug: 221483132
Bug: 225674038
Test: atest InputMethodStressTest
Test: atest CtsInputMethodTestCases
Test: atest WindowInsetsAnimationControllerTests
Change-Id: I36d570630085d0bc34097a2433208601dc9cb0fd
2022-04-20 15:14:48 -07:00
Kohsuke Yatoh
9065310f81 Notify IMMS synchronously on IME insets hidden.
Currently, IMMS will be notified asynchronously when an IME hide
animation finishes, via message dispatching through IMS
(IMM#notifyImeHidden -> IMS#notifyImeHidden -> IMMS#hideMySoftInput).
This creates a race condition when IMM#showSoftInput or WIC#show is
called around the end of hide animation.

This CL fixes the race condition by synchronously and directly
calling IMMS#hideSoftInput from IMM#notifyImeHidden.

Note that there is still another race condition for IMM#showSoftInput
(not WIC#show) if it's called during an IME hide animation;
IMM#showSoftInput ended up calling WIC#show asynchronously, but at that
time the running IME hide animation may have already been finished
successfully and WIC#show may fail to cancel the hide animation
(then the cleanup IMM#notifyImeHidden hides the IME again disruptively).
I will fix the latter issue in a separate CL.

Bug: 221483132
Bug: 225674038
Test: atest InputMethodStressTest
Test: atest CtsInputMethodTestCases
Test: atest WindowInsetsAnimationControllerTests
Change-Id: I7c71dc5a1d6b61aa79d1666f0e257e6401e4adb2
2022-04-20 15:13:55 -07:00
Hongwei Wang
7f41774fc0 Merge "Revert "Remove getSfInstance usage from ViewRootImpl"" into tm-dev am: cf168898be am: 180cc87897
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17806474

Change-Id: I5543dae13179e06c2059037a8caa3daf01da92db
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-20 19:57:32 +00:00
Hongwei Wang
cf168898be Merge "Revert "Remove getSfInstance usage from ViewRootImpl"" into tm-dev 2022-04-20 19:31:59 +00:00
Yohei Yukawa
4244bb98c4 Merge "Let A11yIME use its own IPC definitions" into tm-dev am: 538f36937d am: 1cd2dc5be4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17773213

Change-Id: Icc048070661b4fe149dcf2d2c636328a41f6def0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-20 18:42:56 +00:00
Shawn Lin
4d66e54421 Merge "Support scaled cutout & roundedcorners when resolution is overridden" into tm-dev am: 88ed5ca17a am: feac07a0e9
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17232290

Change-Id: I58559a9487443d2bbabd976a56e37077b063f0e3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-20 18:23:33 +00:00
Yohei Yukawa
538f36937d Merge "Let A11yIME use its own IPC definitions" into tm-dev 2022-04-20 17:42:55 +00:00
Riddle Hsu
e269bf717b Merge "Do not reset surface for forced layout" into tm-qpr-dev am: 1206b43a07
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17767848

Change-Id: I080607442f2995066e4b30ffd34bb63c7a7b78ea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-20 06:33:49 +00:00
Riddle Hsu
1206b43a07 Merge "Do not reset surface for forced layout" into tm-qpr-dev 2022-04-20 05:52:26 +00:00
shawnlin
bcea9fd89e Support scaled cutout & roundedcorners when resolution is overridden
In current desgin, the confgis for cutout and rounded corner are based
on the original display size. If the display resolution is overridden,
cutous and rounded corners will be drawn in incorrect places with
incorrect size.

We should load the cutout & rounded corners with the orignal display
size and then scale the results with the display ratio which is
calculated by dividing current size with original size.

Bug: 209592558
Test: manual:
      1. Go Settings-> Display-> Screen Resolution
      2. Switch between FHD+ and QHD+
      3. Check if the cutout and rounded corner looks the same as they
	 are in the original display size.
Test: manual:
      1. adb shell wm size 1080x2340
      2. Check if the cutout and rounded corner looks the same as they
         are in the original display size.
Test: atest DisplayCutoutTest LocalDisplayAdapterTest
          ScreenDecorationsTest RoundedCornerResDelegateTest
Change-Id: Iea42b73c0276b82983c1ddbce9455355afdc164d
2022-04-20 10:03:19 +08:00
TYM Tsai
1f5c147eb5 Auto append password hint for TextView
Some TextViews are made as password via input type but does not
contain autofill password hint. This change auto append a hint
for autofill to identify.

Bug: 219844915
Test: atest android.autofillservice.cts.dialog.LoginActivityTest
Change-Id: Ifd18c56ffe788a601821d178ace41413f9e0454e
2022-04-20 03:55:33 +08:00
TYM Tsai
bbf0074056 Use device config to control hints allow list for fill dialog
For the performance consideration, we don't prefer to trigger a
FillRequest for autofill dialog at the Activity starting. We only do
that if one of the fields is a password or contains the allowed
AutofillHints for fill dialog.

Bug: 219844915
Test: set device config, check whether do a fill request at starting
Change-Id: I8cc8c99d1f0e716ad293fa612f65aa2a8d23b028
2022-04-20 02:13:28 +08:00
Hongwei Wang
9e5b4ec816 Revert "Remove getSfInstance usage from ViewRootImpl"
This reverts commit a825a5c0d9.

Reason for revert: regression as b/228282275

Bug: 222696368
Bug: 228282275
Change-Id: Iba99b5a9ab53a829ce4928cccc47293e62f76162
2022-04-19 11:09:27 -07:00
Rob Carr
b68a1a75db Merge "SurfaceControlViewHost: Allow updating of WindowContext used for SCVH" into tm-dev am: 23e043e977 am: cb93757924 am: f9dccea1fb
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17189937

Change-Id: I0151049c9fe425a1e55fbccd21ca3416b04c2084
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-19 16:47:51 +00:00
Rob Carr
23e043e977 Merge "SurfaceControlViewHost: Allow updating of WindowContext used for SCVH" into tm-dev 2022-04-19 15:47:26 +00:00
Ryan Lin
6450e089e7 Merge "Fix InlineFilteringTest#testFiltering_filtersByPrefix" into tm-dev am: 6a435bb6bb am: 9a48eb7c0b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17802284

Change-Id: I414fd2274e0c1fc347ca072d82c3271d35a00b0a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-19 03:26:51 +00:00
Ryan Lin
6a435bb6bb Merge "Fix InlineFilteringTest#testFiltering_filtersByPrefix" into tm-dev 2022-04-19 02:35:08 +00:00
ryanlwlin
9f226ba4c4 Fix InlineFilteringTest#testFiltering_filtersByPrefix
The window matrix of the embedded window is not updated if the second
host SurfaceView  doesn't have any offset. To esnure the window matrix
is up-to-date, we force to update the matrix when the embedded hierarchy
is initialized.

Bug: 229178859
Test: atest InlineFilteringTest#testFiltering_filtersByPrefix
      atest android.accessibilityservice.cts
Change-Id: Ib23af520fcbaa1788e3ef22a1086b90a0801375c
2022-04-19 10:31:49 +08:00
Robert Carr
2fd500488a SurfaceControlViewHost: Allow updating of WindowContext used for SCVH
Our initial attempt to allow updating the configuration of
SurfaceControlViewHost was insufficient when the SurfaceControlViewHost
is using a service context. This service context will always be
on the global configuration, and ViewRoot won't be able to override it.
We add some documentation suggesting the user use a window context,
and wire up SurfaceControlViewHost VRI so that they are the authority
on configuration (and propagate the change in to the context).

Bug: 215204813
Test: SurfaceControlViewHostTests. Manual in game overlay+split-screen
Change-Id: I24c0309593b7fddaeab8db355f63a5f6bd763562
2022-04-18 22:11:10 +00:00
Yohei Yukawa
c60176c1f3 Let A11yIME use its own IPC definitions
This is a follow up CL to our previuos CL [1], which enabled
AccessibilityService to use a subset of InputConnection APIs.

In that CL we have reused existing AIDL interfaces that were designed
and maintained for IMEs for simplicity, where a non trivial amount of
unnecessary IPC endpoints were included.

From the security and maintainability viewpoints, however, exposing
unnecessary IPC endpoints is discouraged in general.  To address such
concerns this CL introduces a set of dedicated IPC definitions for
A11yIME so that we do not need to reuse IPCs for IMEs.

This CL also stops passing InputBinding object to A11yIME process as
it contains IInputContext Binder Proxy, which can still be used to
directly invoke fallback InputConnection.  This is doable now because
A11yIME no longer relies on fallback InputConnection [2].

This CL is should not have any observable changes in the semantics.
End-to-end CTS tests guarantee that everything is still working as
intended now and in the future.

 [1]: Ia651a811093a939d00c081be1961e24ed3ad0356
      fb17e5ae7a
 [2]: I2af3cd50444d8ddf25aa0f6479238156914e6fff
      dc635efb68

Fix: 215633021
Fix: 215636776
Test: atest CtsInputMethodTestCases:AccessibilityInputMethodTest
Test: atest CtsAccessibilityServiceTestCases:AccessibilityInputConnectionTest
Test: atest CtsAccessibilityServiceTestCases:AccessibilityImeTest
Change-Id: I5ff2e804cbcf90828370a0612ff54111130bdff4
2022-04-18 08:59:44 -07:00
Rob Carr
57f3c59ee1 Merge "SurfaceView: Ensure position update listener sets at least once" into tm-dev am: f84837ffe8 am: f0051a7824
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17768445

Change-Id: I20a1f15e0fab69596f14daccc49ae3dc6d359ddb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-15 16:33:14 +00:00
Riddle Hsu
5deb763e68 Do not reset surface for forced layout
In general this removes commit b2e3780. Because since rotation
is a part of configuration, it is enough to redraw according to
the configuration change.

Otherwise because forceRelayout is also used for syncRedraw,
that will cause to drop pre-allocated buffers and increase the
time of the initial frames for reallocation.

Bug: 229366100
Test: ActivityRecordTests#testLandscapeSeascapeRotationByApp
Test: Rotate 180 degree with various apps and no upside down
      afterimage remains on the screen.
Change-Id: I3f03f7c8674ddc4a8c0b9c0b0528816114075732
2022-04-15 21:19:24 +08:00
Robert Carr
1e780ab02d SurfaceView: Ensure position update listener sets at least once
If we destroy and recreate a SurfaceView in the same frame its
possible for positionChanged for the new surface to arrive
before positionLost for the old surface. In this case we
won't clear mRtLastReportedPosition, and so we won't set
any position at all on the new surface.

Bug: 229052731
Test: Existing tests pass
Change-Id: I896496afa5b05848f96b20697d33911cae9639a7
2022-04-14 16:12:01 -07:00
Chavi Weingarten
ea4ccf8a1c Merge "Set mSyncBuffer to true when VRI did not initiate the sync request" into tm-dev am: 700cdec45b am: 540019ef2c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17746204

Change-Id: Ib1b400dd26c79f92a533136e2c9a29dcad10ee4b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-14 14:55:18 +00:00
Chavi Weingarten
700cdec45b Merge "Set mSyncBuffer to true when VRI did not initiate the sync request" into tm-dev 2022-04-14 14:19:43 +00:00
Ryan Lin
7a1eb73764 Merge changes from topic "nodebounds" into tm-dev am: 565d2b1b85 am: 1625012f97
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17045436

Change-Id: Ifc4fa7ef169fdea2da15bb422e787da51f4818e5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-14 02:50:01 +00:00
Ryan Lin
565d2b1b85 Merge changes from topic "nodebounds" into tm-dev
* changes:
  remove embeddedMatrix usage for PIP menu
  Change node bounds procedure based on SufaceFlinger Callback
2022-04-14 01:55:04 +00:00
chaviw
2e09cb3188 Set mSyncBuffer to true when VRI did not initiate the sync request
VRI can initiate syncs, but they can also happen from other places when
using SurfaceSyncer. When VRI initiates the sync, sometimes the buffer
needs to be synced. Other times, we just want to know the buffer has
drawn, but don't actually need to sync the buffer.

When a sync is initiated from outside VRI, using SurfaceSyncer, we
always want to sync the buffer. This change ensures that if the sync was
started from an outside request, it will set mSyncBuffer to true.

An additional part to clarify the sync logic, renamed mLastSyncId to
mSyncId and renamed isInSync to isInLocalSync to clarify that the
mSyncId only represents VRI initiated syncs.

Test: Internet Dialog syncs buffer
Fixes: 229098223
Change-Id: I99e9e6341a487d59c33a33a61e442be7909518c2
2022-04-13 15:41:45 -05:00