Commit Graph

14304 Commits

Author SHA1 Message Date
Fabrice Di Meglio
0592a21fd8 OwnerInfos code cleaning
Change-Id: I5f4e5dcee4af672fa11f552544bfcf4506a21258
2014-07-23 12:45:13 -07:00
Fabrice Di Meglio
d73045db7a Add Home / Launcher apps indexing
- add a BaseSearchIndexProvider to HomeSettings
- use a BroadcastReceiver for tracking add or remove of
Home / Launcher apps
- add "launcher" synonym for "home" too

- also code cleaning for DynamicIndexableContentMonitor

See bug: #16484927 Add "launcher" as a synonym for "home" in settings search

Change-Id: I819f4e5f7bd5e9a7882609206b2733ea1912fc69
2014-07-22 15:13:54 -07:00
Fabrice Di Meglio
f0b952d045 Remove fake 8dp padding on N7 devices
- was a remaining artifact from a test

See bug: #13140648 Settings needs to support the new Quantum Paper theme

Change-Id: Ib39166213bb76ceb2319b21cb3651e7c43c4de68
2014-07-21 19:11:06 -07:00
Fabrice Di Meglio
e72bb08679 Add the capability to set a pinned header to a ListFragment
- add public void setPinnedHeaderView(View pinnedHeader) and
clearPinnedHeaderView() APIs for adding and clearing the pinned header

Change-Id: I1096b418351c0f02a13fd49d4a19e52970125106
2014-07-21 17:25:42 -07:00
Fabrice Di Meglio
86159283c9 Add the capability to set a pinned header to SettingsPreferenceFragment
- add a FrameLayout into the preference list fragment
- add public void setPinnedHeaderView(View pinnedHeader) and
clearPinnedHeaderView() APIs for adding and clearing the pinned header

Change-Id: I50ba5dd150167e0d49cc54bee1203f46db6d7a66
2014-07-21 16:16:23 -07:00
Fabrice Di Meglio
20b32f25f0 Fix Notification Access layout for tabletUI support
- setup correct padding for the App list and its item

also remove showing FastScroller all the time on App Notification list

See bug: #13140648 Settings needs to support the new Quantum Paper theme

Change-Id: I11a70906f1372027622d50a81bc7744d48190f8a
2014-07-21 13:41:32 -07:00
Fabrice Di Meglio
7bc9c1bce3 Fix App Notification layout for tabletUI support
- setup correct padding for the App list and its item

See bug: #13140648 Settings needs to support the new Quantum Paper theme

Change-Id: I6c14bb8abced59b636a3230e1daf783130f0f4d3
2014-07-21 13:19:06 -07:00
Fabrice Di Meglio
dcf59dd82c Fix bug #16451628 Settings app crashes for intent: android.settings.ACTION_APP_NOTIFICATION_SETTINGS
... and also crash with intent: android.settings.ACTION_OTHER_SOUND_SETTINGS

- add corresponding fragments to the ENTRY_FRAGMENTS array

Change-Id: Ic0c10841dfd7bc87d8573530129290ed172ff608
2014-07-21 11:22:20 -07:00
Fabrice Di Meglio
38ba9a2d43 Fix AppDetails padding on tablet UI
- force custom padding

See bug #: 13140648 Settings needs to support the new Quantum Paper theme

Change-Id: I5c26402c10a4e717cda22b320ab0790f598591c2
2014-07-18 19:58:50 -07:00
Fabrice Di Meglio
97a18c8111 Fix Utils.prepareCustomPreferencesList()
- and thus fix padding for all Fragments using it

See bug: #13140648 Settings needs to support the new Quantum Paper theme

Change-Id: I862c96d626ed906cbdafcfb40fa0e07bb804160f
2014-07-18 19:12:36 -07:00
Fabrice Di Meglio
712df6cb70 Fix the way we select and apply Themes
- do not override the DialogWhenLarge ones (they have their purpose)
- apply the correct Theme to SubSettings and then as a consequence
to the SwitchBar

Change-Id: I83adabf72da03051f03fbd2121e1e71217fc0c6a
2014-07-18 17:44:37 -07:00
Fabrice Di Meglio
d40dd45c18 Fix overdraw and do some layout optimizations
- use a specific layout for the Dashboard and for the Preferences
- use a specific background for the Dashboard and for the Preferences

The main idea here is that you cannot have the same layout / background
because the Dashboard is using the "Z elevation" for having its card
"poping up"

Change-Id: I42b7c91efea14315b8a60cf3876938a7f1d1e0b3
2014-07-18 16:33:32 -07:00
Fabrice Di Meglio
3bd0515242 Fix alignment of ActionBar title and Preferences for tablet UI
- use the correct start/end padding

See bug: #15439371 Visual add white BG for Settings Detail

Change-Id: I391fb3c75c51349ffbc17295b3aac6f432f91b58
2014-07-17 19:36:14 -07:00
Fabrice Di Meglio
e817a66e83 Fix bug #15702424 add-wifi setting screen has no title
- pass the missing EXTRA_SHOW_FRAGMENT_TITLE_RESID
- define a new string for the Activity title
- code cleaning: remove a non needed call to getIntent()

Change-Id: I430d59c0225c6e7f23e78edf5644d07ef33a9d98
2014-07-16 19:51:06 -07:00
Fabrice Di Meglio
a874180fbe Fix bug #16356067 adb shell am start -a android.settings.DEVICE_INFO_SETTINGS is crashing again
- regression from 9717fab53d
- add the missing dashboardBackgroundColor attribute to the DialogWhenLarge Themes

Change-Id: I9f7e21d33851966350726e4b3bf79a5a4d12a37f
2014-07-16 17:02:41 -07:00
Fabrice Di Meglio
7d79e41877 Fix OwnerInfos
- use a white background for being in line with the Material Theme
- fix padding so that the edge effect is showing full width

See bug: #13140648 Settings needs to support the new Quantum Paper theme

Change-Id: Iea1cf6b104ee8bf5f311f7d3485d0500884dc57a
2014-07-15 18:55:27 -07:00
Fabrice Di Meglio
fd1415d204 Merge "Fix bug #16319697 ACTION_DEVICE_INFO_SETTINGS intent causes Settings app to crash" into lmp-dev 2014-07-15 20:35:01 +00:00
Fabrice Di Meglio
1b18665dbc Fix bug #16319697 ACTION_DEVICE_INFO_SETTINGS intent causes Settings app to crash
- fix the way we are passing switchBarMarginStart / switchBarMarginEnd

Change-Id: Ic6e67643be10877a74ae68075460fa5fd4cc5da1
2014-07-15 18:52:37 -07:00
Jeff Davidson
eda4acbb49 Fix excessively long logtag.
Change-Id: Idb0846269623550d891d8e98765d630a17da7d14
2014-07-16 01:51:55 +00:00
Chris Wren
62a8aa7ac9 Merge "Implement application-level high priority setting." into lmp-dev 2014-07-15 16:05:17 +00:00
PauloftheWest
97ed6faa70 Merge "Changed text "NFC & More" to "More" and other minor text changes" into lmp-dev 2014-07-15 00:22:01 +00:00
PauloftheWest
4181d73b02 Changed text "NFC & More" to "More" and other minor text changes
Bug: 16298245
Change-Id: Id2bf3fc10523372a4f22d1298b57d62a2cc781cc
2014-07-15 07:44:37 -07:00
PauloftheWest
55edbae88f Numerous additional strings needed for translation.
Bug: 16288110
Change-Id: I0701f90f4444700a12f68a2f44598326e94a08ec
2014-07-15 07:27:24 -07:00
PauloftheWest
d74c812140 Merge "Adding strings for Call Manager do not merge" into lmp-dev 2014-07-15 00:17:34 +00:00
PauloftheWest
2b4cf0561c Adding strings for Call Manager do not merge
Bug: 16300328
Change-Id: Iac23de5a8668e9f5a4e96225ab48330f10cb1499
(cherry picked from commit da43612e4b)
2014-07-14 23:41:20 +00:00
PauloftheWest
6c5ef39135 Numerous additional strings needed for translation. do not merge
Bug: 16288110
Change-Id: I84621b00da52dcee9eb8c24e92a41ccc7f7a6bd1
(cherry picked from commit 90887e656c)
2014-07-14 23:27:29 +00:00
PauloftheWest
3d009cad14 Changed wording from "Mobile" to "Cellular" do not merge
Bug: 15720445
Change-Id: Ibfd196d80be030b694473faa24b746536daa3107
(cherry picked from commit 7325abcd62)
2014-07-14 22:39:15 +00:00
Christoph Studer
bc1889071f Merge "NotificationStation: Fix crash, use dark theme" into lmp-dev 2014-07-14 21:09:14 +00:00
Tadashi G. Takaoka
fc8202463e (DO NOT MERGE) Refactor InputMethodAndSubtypeEnabler to separate loops
Change-Id: I1b7d26c37293e03dc20f87d60eb146017a574c47
(cherry picked from commit 61d97ddda8)
2014-07-15 02:51:57 +00:00
Tadashi G. Takaoka
989c364f2d (DO NOT MERGE) Refactor InputMethodAndSubtypeEnabler a bit
Change-Id: Id91b62ed084f98e3a6dc724aac9d926d89a96201
(cherry picked from commit a5db65fe11)
2014-07-15 02:49:36 +00:00
Russell Brenner
6ecd6aa8cb Merge "Setup Wizard string refresh" into lmp-dev 2014-07-15 00:41:06 +00:00
Russell Brenner
dbe1283da0 Setup Wizard string refresh
Update strings from UX flows in time for string freeze deadline.

Bug: 16299032
Change-Id: I37e8ccc7197ff08d5f7eba835276c745f13e5487
2014-07-15 01:10:53 +00:00
Amith Yamasani
04b550e27a Merge "Handle android.settings.HOME_SETTINGS intent" into lmp-dev 2014-07-15 00:22:01 +00:00
Amith Yamasani
3033ce0723 Handle android.settings.HOME_SETTINGS intent
Launch the Home picker activity for the new public intent.

Bug: 16303152
Change-Id: I91cfffdec6c8ed13d3b0e57d7903b4a06dcbb6e6
2014-07-14 18:03:15 -07:00
Lifu Tang
218f99c0e5 Register the listener for switch during onResume
- Fix b/16118646

Change-Id: I9ec87422ecc4e05ca332e116af71c07f06c6c65a
2014-07-14 21:06:26 +00:00
Chris Wren
a7d0062efd Implement application-level high priority setting.
Bug: 15080024
Change-Id: I87a68cf89a643096ae374d0a808f820814e0b81b
Depends-On: Ib1d3b0b5ca4fcfdc52c2cb6838a009b9addf1094
2014-07-14 18:52:02 +00:00
Jason Monk
f43bbeb247 Revert "Add lock-to-app to settings"
This reverts commit 315070d58b.

Change-Id: Id78311a4e0f371a87c975cc97587a404e0dfdb7f
2014-07-14 16:44:56 +00:00
Christoph Studer
9717fab53d NotificationStation: Fix crash, use dark theme
Bug: 15899979
Change-Id: Ieaa65e300cdc9cbed83b601b7a972a1e245c4961
2014-07-14 17:20:17 +02:00
Alexandra Gherghina
cfc7f9d960 Remove old accounts tile, replaced by a separate screen
Bug: 15815948
Bug: 15819268
Change-Id: I3b6978cff346c73cca1d6a2c209ffe4c71808244
2014-07-14 10:02:14 +01:00
Paul Lawrence
02701420bb Merge "Don't put credentials in results from externally accessible activities" 2014-07-10 20:49:26 +00:00
Tadashi G. Takaoka
72c2a6e5c2 Small refactor, remove unused/unnecessary code, and cosmetic fix
Change-Id: Ia0771f547b0489d3519faf23495e5c6bdfefa42e
2014-07-12 20:19:14 +09:00
Tadashi G. Takaoka
55aee12406 Remove Collator from InputMethodSubtypePreference
Change-Id: Id1eb16aee77460c5c930ad08e1354501bfd0b5ab
2014-07-12 16:27:59 +09:00
Tadashi G. Takaoka
47a359a7da Refactor InputMethodSubtypePreference constructor
Change-Id: I959c0be5ebe4f39ca0b06e3f1b262a10f214c5bd
2014-07-12 16:16:07 +09:00
Tadashi G. Takaoka
d3f4618f1d Make InputMethodSubtypePreference as a top level class
Change-Id: I07d974f161ecd68e5422b0ae1c369a502ab8b1a9
2014-07-12 15:22:54 +09:00
PauloftheWest
059a70fdc0 Numerous minor updates for Bluetooth Settings
+ Remove top "this device" item from the list
+ Upon opening Bluetooth settings, cue a search for available, pair-ready devices
+ Upon opening Bluetooth settings, make the phone/tablet visible to other devices
+ Keep phone/tablet visible as long Bluetooth settings is open and screen is on
+ Filter this list so that only pair-ready devices are displayed
+ Add non-interactive text “<Device name> is now visible to nearby devices” at the bottom of the available devices list

Overflow menu:
- Remove “visibility timeout”
+ Replace “Search for devices” with “Refresh”

Bug: 15716927

Change-Id: I7c5225784af9bfb48dde511e05503ddc59be2b2b
2014-07-11 16:52:47 -07:00
PauloftheWest
cc4e973d72 Merge "Add BT message access" 2014-07-10 21:35:02 +00:00
PauloftheWest
c9dc66d605 Add BT message access
+ List available email accounts
+ Allow for turning each account on/off with switches--making the message content available to bluetooth devices that can read emails (like cars)

Bug: 15720425

Change-Id: Ia0c91c1e74a2644fc99a8b902c42212453d8f86e
2014-07-11 15:55:00 -07:00
Zoltan Szatmary-Ban
36d2bdaddd Merge "Update Battery Settings for Enterprise" 2014-07-10 20:28:35 +00:00
Tadashi G. Takaoka
cd6fdead7c Reorganize spell checkers settings
Bug: 15976603
Bug: 16115751
Change-Id: I3b23d7f01d8d39da27215a5263b12304ac64db0f
2014-07-11 19:51:30 +09:00
John Spurlock
1aa40913df Settings: extend char limit for settings string.
Bug:16149602
Change-Id: Ifc596f53a00ddf22975223d8ddc47c08b802def6
2014-07-10 19:58:53 -04:00