-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move DESCRIPTOR field to interface class and make it public
Previously the DESCRIPTOR field was a private field in the Stub class. public interface IFoo extends IInterface { public static class Stub ... { private final static String DESCRIPTOR = ...; } } Now, it is public interface IFoo extends IInterface { public static class Stub ... { } public final static String DESCRIPTOR = ...; } This changes makes java and c++ backends look similar; in c++ the descriptor is already accessible via IFoo::descriptor. Bug: 154650223 Test: aidl_unittests Change-Id: I6953c92ad2f196a8c30468de8280ebb0af7b78b6
- Loading branch information
Showing
4 changed files
with
572 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.