OSDN Git Service

Make FallbackHome lower priority.
authorXiaohui Chen <xiaohuic@google.com>
Wed, 30 Dec 2015 23:51:56 +0000 (15:51 -0800)
committerXiaohui Chen <xiaohuic@google.com>
Wed, 30 Dec 2015 23:51:56 +0000 (15:51 -0800)
This makes SystemUserHomeActivity, which also has a low priority,
works properly for system user.

Bug: 26358655
Change-Id: If07b39ac5a7015805ac22a968b3d704aaad80012

AndroidManifest.xml

index 876600e..63a4872 100644 (file)
         <activity android:name=".FallbackHome"
                   android:excludeFromRecents="true"
                   android:theme="@android:style/Theme.Translucent.NoTitleBar">
-            <intent-filter android:priority="-10">
+            <intent-filter android:priority="-1000">
                 <action android:name="android.intent.action.MAIN" />
                 <category android:name="android.intent.category.HOME" />
                 <category android:name="android.intent.category.DEFAULT" />