summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorWale Ogunwale <ogunwale@google.com>2016-08-04 07:25:33 -0700
committerWale Ogunwale <ogunwale@google.com>2016-08-05 12:58:48 -0700
commita6cc361e34337c7fe293a56713910faf0f2f302c (patch)
treee6f9099bc48f8c6e355f56fcbf5b785ece419e51 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent20ea6a378b96de7c1b3b39fd0db93b1b3f6a9635 (diff)
Add child windows to their parent WindowToken
Previously child windows were contained in their own WindowToken and also added to the parent window AppWindowToken.allAppsWindow. This complicated the token organization within WM as it was sometimes confusing which list to use WindowTokens.windows or appAppsWindow which led to many bugs fixed and still existing. I can't think of a good reason why the child windows just can't be tracked with the parent token so we will do that and fix whatever bug may come. This paves the way to consolidate WT.windows and AWT.appAppsWindow list since they will contain the same entries now and also fits in with the hierarchy model we will be using with WindowContainers. Also - Removed WindowState.mRootToken since a window and its children will now be in the same WindowToken. - Fixed NPE in WindowState.getTopParentWindow() - Temp. workaround to not re-add child windows in WT.reAddAppWindows since WindowState.reAddWindowLocked() will re-add any children of the parent window we are adding. Workaround can be removed when the class is switched to use WindowContainer. Bug: 30060889 Change-Id: I604ba4cce9ff8df4e81353cb648d6f54aa27084f
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions