OSDN Git Service

Transition from Activity to Broadcast for TV Search
authorSujith Ramakrishnan <sujithrk@google.com>
Tue, 14 Feb 2017 22:38:08 +0000 (14:38 -0800)
committerSujith Ramakrishnan <sujithrk@google.com>
Wed, 15 Feb 2017 01:13:17 +0000 (17:13 -0800)
commit1331d26142b9b3271292e3f58e7e79e1cb78d619
tree3ff6ff238a569708bed2220f97cf0480e050271c
parente4a2476ea9fbbb453d3fc137a1c876eb322eb868
Transition from Activity to Broadcast for TV Search

    - For TV search, initiate a directed broadcast to default
      search service.
    - Earlier, an activity in the default search package was
      initiated after checking that the in-focus activity
      did not want to handle this intent.
    - Now, the in-focus activity does not get a chance at this
      intent.

Test: Manually tested with test apk which had the correct intent.
Test: Will test again with default search apk, once that code is
submitted.
b/35290250

Change-Id: I9da4c90a45624cdbe876357176b0c0636e2777bf
services/core/java/com/android/server/search/SearchManagerService.java