Make Traceur a platform app

This change makes Traceur a platform app, reverting the priv-app status
granted in aosp/1415071. This is done because Traceur will otherwise
need explicit permission to show a notification with the current tracing
status.

Bug: 209476712
Test: - Checked that Traceur can still take normal and long traces on
        AOSP userdebug and internal user/userdebug.
      - Checked that the Traceur app is now located in /system/app/
        instead of /system/priv-app/.
Change-Id: Ia1f1952dc990204adb18ef514d39e20c03409336
Merged-In: Ia1f1952dc990204adb18ef514d39e20c03409336
diff --git a/Android.bp b/Android.bp
index a7fe944..bc6579b 100644
--- a/Android.bp
+++ b/Android.bp
@@ -5,8 +5,7 @@
 android_app {
     name: "Traceur",
     platform_apis: true,
-    certificate: "shared",
-    privileged: true,
+    certificate: "platform",
     optimize: {
         proguard_flags_files: ["proguard.flags"],
     },
diff --git a/uitests/AndroidManifest.xml b/uitests/AndroidManifest.xml
index a738786..52ad68e 100644
--- a/uitests/AndroidManifest.xml
+++ b/uitests/AndroidManifest.xml
@@ -17,8 +17,6 @@
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
     package="com.android.traceur.uitest">
 
-    <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" />
-
     <application>
         <uses-library android:name="android.test.runner" />
     </application>