diff options
author | Mady Mellor <madym@google.com> | 2020-03-17 10:34:20 -0700 |
---|---|---|
committer | Mady Mellor <madym@google.com> | 2020-03-19 10:21:34 -0700 |
commit | aa9ce17fa28484780f4334ce5481ca701beb1f90 (patch) | |
tree | 339478a0887df091e5d0fb1ce3e3f36ff10d330a /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 18dd476b0c93b4d0666cc7d2d130a6065b5fea6d (diff) |
Bubbles API council feedback
* un-deprecate getIntent/getIcon/setIntent/setIcon
* deprecate createIntentBubble & createShortcutBubble and make them
constructor methods & deprecate existing constructor
* clarify when intent / icon / shortcut id will be null or not
* use NPE instead of illegal argument exception
* use illegal state exception when using setIcon/setIntent on a builder
created with shortcut method
* updates usages of getBubbleIntent/getBubbleIcon to be getIntent/getIcon
* updates builder constructor usages as well
Fixes: 149911930
Test: treehugger
Change-Id: Ic85a475d463cb22cea7d7939fea4cf72465491b4
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions