summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorPatrick Baumann <patb@google.com>2018-09-19 17:44:13 -0700
committerPatrick Baumann <patb@google.com>2018-09-19 17:44:13 -0700
commit9448724cc2bf241b41a21151d126c9fe11b70676 (patch)
treec13ab696d899b5ae5b28b730dd495f37429fd120 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parentc95add6ddc8902e6b5b30afccae1b16aa0f06a18 (diff)
Use String.equals when comparing conflicting providers
Prior to this change, we were comparing the package name of the conflicting component with the soon-to-be installed PackageParser.Package package name using object equality, as used elsewhere in packagemanager components. However, ComponentName.mPackage does not use an interned string for performance reasons, so we need to use .equals here. Change-Id: Ibfed7cd47f18d06b2f65c6d8f6c46b752859375c Fixes: 115956948 Bug: 109941548 Test: run pts -m PtsTimeZoneTestCases passes
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions