OSDN Git Service

Added TestApi to ActivityInfo.isTranslucentOrFloating
authorWale Ogunwale <ogunwale@google.com>
Fri, 25 May 2018 01:25:25 +0000 (18:25 -0700)
committerWale Ogunwale <ogunwale@google.com>
Fri, 25 May 2018 17:24:14 +0000 (10:24 -0700)
commit30eab1f43074590fb08dd48de0bf786561622eff
tree1b63fa117e612846174d3b40989d993c8bbc8ed4
parent478923bded903aa2e9e0357a61141053df20f590
Added TestApi to ActivityInfo.isTranslucentOrFloating

This would be use to determine the right activity state during CTS
test for products that have windowSwipeToDismiss set.

Also, dump ActivityRecord.fullscreen to proto for the same reason.

Bug: 76207986
Bug: 79167358
Test: atest CtsActivityManagerDeviceTestCases:ActivityLifecycleTests
Test: atest CtsActivityManagerDeviceTestCases:ActivityManagerAssistantStackTests
Change-Id: Iadc088e9129be088b8a083ebbafd8d20fe26b673
api/test-current.txt
core/java/android/content/pm/ActivityInfo.java
core/proto/android/server/activitymanagerservice.proto
services/core/java/com/android/server/am/ActivityRecord.java