summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJulia Reynolds <juliacr@google.com>2015-10-20 10:37:27 -0400
committerJulia Reynolds <juliacr@google.com>2015-10-27 10:19:34 -0400
commitd9228f1135e51d9380bad990d7178490ec474dbd (patch)
tree531d67f58b7e5b339249b3960fc950b68d8f9659 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent5918519f972b4eedfc0e402b96cf8a288446deed (diff)
Stop populating RemoteViews in Notifications.
Builder now stores its parameters directly in the Notification object itself, reducing the amount of copying needed to construct the final Notification as well as converging the two data structures. All Builder data is now captured in Notification, so it is easy to reconstruct a Builder for any Notification object. This obviates all stripping/unstripping operations because all Notification objects start life "stripped" of their RemoteViews, which must be constructed explicitly by clients (presumably listeners wishing to show the notification to the user in its conventional form). Note: While contentView, bigContentView, and headsUpContentView are being @Deprecated in this CL, specifying custom RemoteViews is definitely still supported! You just have to use Builder methods to do so. Bug: 20153922 Change-Id: I81f8ffed0eb76084b2f2b25b97e325858f0a1d05
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions