History log of /packages/apps/Settings/src/com/android/settings/print/PrintServiceSettingsFragment.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
077a7173c6605208ac4d24595e906f6e06808770 22-Jun-2015 Makoto Onuki <omakoto@google.com> Set service name to printer service setting title

Bug 21899319

Change-Id: I940957dd4036eb3386c7f59fbbd3608e7169f415
/packages/apps/Settings/src/com/android/settings/print/PrintServiceSettingsFragment.java
8a963babe2e36b7a41f77b8d2598c97658196e58 20-Mar-2015 Chris Wren <cwren@android.com> log visibility of views

Depends-On: I5b1dccb5d103ece3112acf38889bae16273b092f
Change-Id: I116aed2bb805f723a5bf2ec9eb94257de0b4a7b5
/packages/apps/Settings/src/com/android/settings/print/PrintServiceSettingsFragment.java
7468085405348583df7f33ce094dd91dd027bab6 25-Nov-2014 Raju Yadav <raju.yadav@sonymobile.com> IllegalStateException fixed in print service settings

Settings crashed due to IllegalStateException
as OnQueryTextListener refers to an already
detached view. The listener is set to null
on press of home key (onPause).

Change-Id: If9c76fe3ff040c295f0af9c092e8824b9a1371d7
/packages/apps/Settings/src/com/android/settings/print/PrintServiceSettingsFragment.java
006b2cca1311e61472a8b66fb0c50854fc36d2e7 28-Jun-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #15897505 Talk back state shows "off" while the talk back is still enabled.

- we were missing the update of the TextView from the SwitchBar so provide a new
setCheckedInternal() method that is doing the TextView and Switch update at the
same time

Change-Id: I6dd9c472a386bb534a58fbf5cf82d9d01fa74f6c
/packages/apps/Settings/src/com/android/settings/print/PrintServiceSettingsFragment.java
204521626f63bef4a8ac2d76334b94dbb0f3aa3b 13-Jun-2014 Fabrice Di Meglio <fdimeglio@google.com> resolved conflicts for merge of f9360dbc to master

Change-Id: I2e468d83a7ce5200c59f63b4362e7bee10d0a2eb
138ff8c0457c6e1345015973668d652fa17c7c3b 12-Jun-2014 Fabrice Di Meglio <fdimeglio@google.com> Make the SwitchBar appear immediately

- change the way the SwitchBar is shown and hidden
- save its state
- remove the delay transition code

Change-Id: I07260430e6709b42517ca011f6d3c3446a626731
/packages/apps/Settings/src/com/android/settings/print/PrintServiceSettingsFragment.java
2c461006b8a286189b6097b04bdd80b9e6fedc4f 11-Jun-2014 Alan Viverette <alanv@google.com> am 6bfec2d6: Remove all dialog icons in Settings

* commit '6bfec2d6b197068dd355bd1742179fe3da07136f':
Remove all dialog icons in Settings
6bfec2d6b197068dd355bd1742179fe3da07136f 10-Jun-2014 Alan Viverette <alanv@google.com> Remove all dialog icons in Settings

BUG: 15474733
Change-Id: I43ab10a3bbcabdac6109abf80266f1c4b52bf6fb
/packages/apps/Settings/src/com/android/settings/print/PrintServiceSettingsFragment.java
24a746b958339e607b0c70c6cb3d30c94d9e8f25 04-Jun-2014 <svetoslavganov@google.com> Update the settings due to a framework API change.

Change-Id: I5248b2a6c9f6d9ac60e9b21a0f5377b19c9a3b36
/packages/apps/Settings/src/com/android/settings/print/PrintServiceSettingsFragment.java
00b5e6b24741257352da975966ebe6c143b2eff5 28-May-2014 Fabrice Di Meglio <fdimeglio@google.com> This CL is not working (even after careful testing) but when I tried I was not completely ToT.

Revert "Fix bug #15170508 When I initially load settings, all on/off toggles start in off position then move to on after pane loads"

This reverts commit 1e52db8063a0be2254097b4d85527a91d141b505.

Change-Id: I73bdfeba4a4b3e993e37cdae1e3733ffe272b9eb
/packages/apps/Settings/src/com/android/settings/print/PrintServiceSettingsFragment.java
1e52db8063a0be2254097b4d85527a91d141b505 28-May-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #15170508 When I initially load settings, all on/off toggles start in off position then move to on after pane loads

- refactor all the code that was using the Switch to control it thru the SwitchBar
- start the Switch as View.GONE and make it View.VISIBLE when it is set
as "enabled" or "checked" so that you dont see the Switch transition (it shows
only with it final state)

Change-Id: I382076bf3c819c530b5b2c06ca2429dfb2cdc6bf
/packages/apps/Settings/src/com/android/settings/print/PrintServiceSettingsFragment.java
38f2b27c0dc49c423b29e4c0cb241c03bfd0b637 20-May-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #15109661 Settings crash after tap on back key from print settings

- use onResume() / onPause() for adding / removing the SwitchChangeListener

Change-Id: Ia3a4ff57075d2668e446df4f4f09e4593cc34761
/packages/apps/Settings/src/com/android/settings/print/PrintServiceSettingsFragment.java
7ba17ab12c90c24cf0baa6644a64c962cb92b699 16-May-2014 Fabrice Di Meglio <fdimeglio@google.com> Use SwitchBar for Print Settings

- follow up CL to 41937766981423c9252e12e3319b2e7532739627

Related to bug #14898161 On/Off switches must move down from Action Bar

Change-Id: Ife4990a52ef282563267dc0bff6d3a7f354b0bd0
/packages/apps/Settings/src/com/android/settings/print/PrintServiceSettingsFragment.java
63609c58a0ae857cc6ec62d28d73e2a0fb8241e9 22-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Rename SettingsUtils to PrintSettingsUtils

Change-Id: I67e9222265f6326b399de3779f2210e202777ecd
/packages/apps/Settings/src/com/android/settings/print/PrintServiceSettingsFragment.java
ede14355180b84c634cade7e3f02d67be64cbff4 19-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Make all the Settings Switches appear again

- use the ActionBar Theme context when creating the Switch for
getting the correct Theming

Change-Id: Ic3701c53662b0f245c7149b119de8bb5cbaae232
/packages/apps/Settings/src/com/android/settings/print/PrintServiceSettingsFragment.java
82de8707af60e4afa6fa877cf205b45e84fc9f72 09-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix Switch button creation for PrintService

- setup the ActionBar switch in the onStart()

Change-Id: I92d8bb34dd7925da79a10fe01790131d22f7d0d8
/packages/apps/Settings/src/com/android/settings/print/PrintServiceSettingsFragment.java
5c2d723723891a1750929e22711b42c2fc98890b 14-Feb-2014 Fabrice Di Meglio <fdimeglio@google.com> Code cleaning for Printing Settings

- remove non needed code

Change-Id: I18a3992d66721dbeba6870aa2834e1c717640a15
/packages/apps/Settings/src/com/android/settings/print/PrintServiceSettingsFragment.java
10afdb82aca7c6345d2aace30c7b66238e6bfb3c 11-Feb-2014 Fabrice Di Meglio <fdimeglio@google.com> There are several painful issues with the initial CL. Doing a revert for now and will rework this.

Revert "Fix bug #12939786 BACK should go back into the Fragments BackStack and finally to Overview ...and then exit the Settings App"

This reverts commit 4cc95a53c2d9080095c4e1e06f815b8bc7a2cdfe.

Change-Id: Iaa21d4771d0b004eff3d8e68b91b546a633d8f23
/packages/apps/Settings/src/com/android/settings/print/PrintServiceSettingsFragment.java
4cc95a53c2d9080095c4e1e06f815b8bc7a2cdfe 08-Feb-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #12939786 BACK should go back into the Fragments BackStack and finally to Overview
...and then exit the Settings App

- fix the way we manage the Fragment BackStack
- revert back ChooseLockGeneric to be a PreferenceActivity

Change-Id: I3c366b4be606e2e211facd0299b9a2de5cc6ea79
/packages/apps/Settings/src/com/android/settings/print/PrintServiceSettingsFragment.java
263bcc8b732dbb47d3ce63904e0e05191fabbad6 18-Jan-2014 Fabrice Di Meglio <fdimeglio@google.com> Use Drawer in Settings app

- get rid of PreferenceActivity as much as we can and use fragments instead
- add Drawer widget
- add Dashboard high level entry into the Drawer (but this is work in progress and would be done in another CL)
- add bypass of fragment's Header validation when launched from the Drawer but *force* validation if external
call thru an Intent

Be aware that WifiPickerActivity should remain for now a PreferenceActivity. It is used by SetupWizard and should
not trigger running the SettingsActivity's header building code. SetupWizard is a Home during the provisionnig process
and then deactivate itself as a Home but would make the Home header to appear in the Drawer (because momentarily we
would have two Home).

Also, verified that:

- the WiFi settings still work when called from SetupWizard
- when you have multiple Launchers, the Home header will appear in the list of Headers in the Drawer

Change-Id: I407a5e0fdd843ad7615d3d511c416a44e3d97c90
/packages/apps/Settings/src/com/android/settings/print/PrintServiceSettingsFragment.java
7dfacf5f8cd232c244ad9e79b4d00271ff7194cf 09-Oct-2013 Svetoslav <svetoslavganov@google.com> resolved conflicts for merge of 372cd6ab to master

Change-Id: I9232fbe01926436e8ad5c6c7e63ce95fbe842ccb
39392ef9b0434ec704b52178f8dbb3adcfef58f7 08-Oct-2013 Svetoslav <svetoslavganov@google.com> Fix a crash in the print service settigns.

When the search view is attached and detached we announce that
for accessibility. The trouble is that if the activity is being
torn down we are trying to access resources from a fragment that
is detached and the qcrash occurs. This change does not try to
access resources if the activity is finishing and also we do not
load resource strings if accessibility is not enabled.

bug:11127814

Change-Id: If3e97b6e94687775386a43c8fa54fd45140306eb
/packages/apps/Settings/src/com/android/settings/print/PrintServiceSettingsFragment.java
4b23800471021505947f1014b9105a4f85dc4175 05-Oct-2013 Svetoslav <svetoslavganov@google.com> am ef1cfe16: am 32d7ea74: am 9379d935: Make printers for a print service not react to press.

* commit 'ef1cfe16fb95a8ae0e73dbd8d2f4235386be1803':
Make printers for a print service not react to press.
9379d935552118e33ccee5aa8383d8f86bdff113 05-Oct-2013 Svetoslav <svetoslavganov@google.com> Make printers for a print service not react to press.

We show a list of printers for the a print service in the
print service settings activity. This list is there to
inform the user of which printers are available and
optionally offers adding a printer affordance. The printer
list items do nothing so they should not react to press
and create a false impression they do.

bug:10983508

Change-Id: I43b19ebb0acf6662c489826c192fd6daf8ad103d
/packages/apps/Settings/src/com/android/settings/print/PrintServiceSettingsFragment.java
24e49f06132dfca6040c27886b1ce0ba895a068c 03-Oct-2013 Svetoslav <svetoslavganov@google.com> Polish print settings accessibility.

bug:10983508

Change-Id: I986e28a2cd8e52b7c8422e825de9174d6e2377c3
/packages/apps/Settings/src/com/android/settings/print/PrintServiceSettingsFragment.java
9a2ace95870b72bdea6c630c5f7b1ce0c8634cbc 01-Oct-2013 Svetoslav <svetoslavganov@google.com> Show appropriate empty state if not printers are found.

One can search for printers in the print service settings
and we need to show appropriate empty state if none is found.

bug:11009053

Change-Id: If3ed6aa3a5e2eb4d7f7bae37f885e4b8eb0909b4
/packages/apps/Settings/src/com/android/settings/print/PrintServiceSettingsFragment.java
a749adae03bab347d5bdb53cabb8c7aabf4e7f08 27-Sep-2013 Svetoslav <svetoslavganov@google.com> Add icons to the printer list items in settings.

bug:10955751

Change-Id: Iea87a9a07624d6e26274030a51f912f8d2ef0e10
/packages/apps/Settings/src/com/android/settings/print/PrintServiceSettingsFragment.java
bc2c3db8f923b9ee25345f5ebbad9f6c762a1e23 24-Sep-2013 Svetoslav Ganov <svetoslavganov@google.com> Add print job settings screen.

Added a list of active print jobs to the main print settings
screen. Selecting a print job from there leads to a print job
settings screen with more information about the print job and
actions to change the prit job state such as cancel and restart.

bug:10935736

Change-Id: Idd6826a998309941c3d8478dafe4b039c8ca4f45
/packages/apps/Settings/src/com/android/settings/print/PrintServiceSettingsFragment.java
17e72aa90bfe81b7d25893725f897261f5172673 14-Sep-2013 Svetoslav <svetoslavganov@google.com> Ignore print service settings activities if they are not exported.

1. The print spooler cannot start not exported activities and they
should not be started from another application anyway. Therefore,
we do not start them from settings too even though settings can
do that since it is signed with the platform certificate.

2. Adding some string changes to meet the translation deadline.

bug:10680224

Change-Id: I69c189e1c502985aceb68d269492f2e86de44ec4
/packages/apps/Settings/src/com/android/settings/print/PrintServiceSettingsFragment.java
43557570cfe72b525701ffed65bd1d8f32df67ce 06-Sep-2013 Svetoslav Ganov <svetoslavganov@google.com> Print service settings polish

1. Moved the settings and add printers to the overflow menu.

2. Collapsing the search action view to get proper behavior when selected.

3. Showing the search option only if there are printers.

4. Stop observing for printers if the service is disabled.

bug:10652301

Change-Id: I589a3b177c5a58a8b1382d7020fd4b128afd9038
/packages/apps/Settings/src/com/android/settings/print/PrintServiceSettingsFragment.java
74648ac808b6a625f6c91035a263822b3765215d 05-Sep-2013 Svetoslav Ganov <svetoslavganov@google.com> Print settings polish

1. Added support for launching the top level print settings.

2. Updated some strings.

3. Removed the uninstall option for a print service.

4. Added search for the list of printers of a print service.

Change-Id: I9e175ba78b2d22b2bf90cf79153dc73327dfaff1
/packages/apps/Settings/src/com/android/settings/print/PrintServiceSettingsFragment.java
2d531653595344ed7e61c093dca308b9ba7ec185 04-Sep-2013 Svetoslav <svetoslavganov@google.com> Implementing print settings as per UX spec.

Change-Id: Iafe99a1e959472f893cf168d952d9dd19ff160c0
/packages/apps/Settings/src/com/android/settings/print/PrintServiceSettingsFragment.java