Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c725e8d5 authored by Alan Viverette's avatar Alan Viverette
Browse files

Add missing @param in ResourceManager, set InflateException source

Bug: 11695070
Change-Id: I94a4980688a952c1f59f1cb15cf2192e3c51de90
parent d69bb610
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -154,6 +154,7 @@ public class ResourcesManager {
     * @param displayId display Id.
     * @param overrideConfiguration override configurations.
     * @param compatInfo the compatibility info. Must not be null.
     * @param classLoader the class loader for the resource package
     */
    Resources getTopLevelResources(String resDir, String[] splitResDirs,
            String[] overlayDirs, String[] libDirs, int displayId,
+4 −1
Original line number Diff line number Diff line
@@ -203,7 +203,10 @@ public final class DrawableInflater {
            throw ie;
        } catch (ClassNotFoundException e) {
            // If loadClass fails, we should propagate the exception.
            throw new InflateException("Class not found " + className);
            final InflateException ie = new InflateException(
                    "Class not found " + className);
            ie.initCause(e);
            throw ie;
        } catch (Exception e) {
            final InflateException ie = new InflateException(
                    "Error inflating class " + className);