Check feature flag to show the shortcut of
WifiSettingsActivity or WifiSettings2Activity.
Bug: 151133236
Test: manual
Home context menu -> Widgets -> Settings shortcut
Should only show 1 Wi-Fi shortcut option.
Change-Id: Ie980b69ce1f23614475070b5c74d9a6d5cdab7ae
- Resources.getDrawable(int) is deprecated. Use new function to replace
the old one.
Fixes: 143078105
Test: manual
Change-Id: Ieea5b415d1a771b253401d826bfdb9d9a26f5ff2
Creating an no-op backup agent in settings. This ensures that
we get onRestoreFinished callback after restore is finished where we
can update all pinned shortcuts.
Bug: 110016648
Test: Verified backup->clear-data->restore path on device
Change-Id: Id14d0792d60ba08d97078a31a81d2b63ab8ce109
Having consistent import order will reduce chance of merge
conflict between internal and external master
Test: rebuild
Change-Id: I0b1a170967ddcce7f388603fd521f6ed1eeba30b
- Sort based on priority, also group them in PreferenceCategory. So
category is divided by horizontal lines.
- Also removed a bunch of intent-filter for VOICE_LAUNCH. I don't think
we support them any more. If we see bugs, can easily put them back.
Change-Id: I286a6bdf8b3c2eb716a36c6a061fc54a8010d8f6
Fixes: 74806595
Test: manual
Created a new xml and CreateShortcutPreferenceController to deal with
querying package manager and display list on UI.
Bug: 74806595
Test: robotests
Change-Id: I0945245c3856d12b7751d26fca324d2dbf31b230