summaryrefslogtreecommitdiffstats
path: root/services/usb/java/com/android/server
diff options
context:
space:
mode:
authorWilhelm Fitzpatrick <rafial@cyngn.com>2016-05-27 10:54:30 -0700
committerGerrit Code Review <gerrit@cyanogenmod.org>2016-06-09 14:14:01 -0700
commiteb7ff1a410cbd8851139fd5ea5088ab03a759157 (patch)
tree13be2e80233e19f1f32f7966613c082b1c9d634d /services/usb/java/com/android/server
parente704fc0d3a5bcf8c815c4af58d196e27c6ee47d3 (diff)
downloadframeworks_base-eb7ff1a410cbd8851139fd5ea5088ab03a759157.zip
frameworks_base-eb7ff1a410cbd8851139fd5ea5088ab03a759157.tar.gz
frameworks_base-eb7ff1a410cbd8851139fd5ea5088ab03a759157.tar.bz2
Framework: allow ResolverActivity to be specialized from other package
PackageManager already has hooks to allow the Disambiguation Dialog aka ResolverActivity to be substituted at runtime by a custom activity named via system property. Since the internal ResolverActivity already has good extension points (for use by ChooserActivity), it is useful to allow a customized ResolverActivity, provided in a separate package to be able to extend the internal activity, thus preserving core behavior as much as possible, and making forward porting easier. This patch attempts to make as few changes to the core ResolverActivity as possible to make up stream patching easy, and isolates most of the needed code into a shim (ResolverProxy) which is mostly concerned with changing the access modifier of key methods from package-private to protected. This is necessary to allow overriding of those methods from a subclass originating from a different class loader. Change-Id: I17070964fca73f0d11b4fe8d809b2a775ba9e7e6
Diffstat (limited to 'services/usb/java/com/android/server')
0 files changed, 0 insertions, 0 deletions