History log of /packages/apps/Settings/src/com/android/settings/print/PrintJobSettingsFragment.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
265d3c2a0c36251bf8a9f571d7239b6dd404d942 22-Jun-2016 Tamas Berghammer <tberghammer@google.com> Update package names to work with the proto3 compiler

Bug: b/28974522
Change-Id: I5f3adf4946ee4ba1e09e4f40afe83c151405972a
/packages/apps/Settings/src/com/android/settings/print/PrintJobSettingsFragment.java
6507613ebcd22e4691c2af92a5c161bd327db336 08-Aug-2016 Fan Zhang <zhfan@google.com> Log visibility change for all fragments.

Bug: 30681771
Test: SettingsUnitTests

Refactor visibility logging from InstrumentedFragment into a mixin. And
apply mixin in remaining fragments.

Change-Id: Ibbb59904336254a3e4bb9e8c7d0b36e5a6bc2622
/packages/apps/Settings/src/com/android/settings/print/PrintJobSettingsFragment.java
23176395a5413ad55eeaff780e60f36e7d70977e 27-Jun-2016 Philip P. Moltmann <moltmann@google.com> Setup up print settings fragments in onCreateView instead of onCreate.

Otherwise some of the layout is not yet set up.

Fixes: 29764546
Change-Id: Ia0716dd0603d66e8bf68494e426756bd553f1afd
/packages/apps/Settings/src/com/android/settings/print/PrintJobSettingsFragment.java
eb01628ba897c116e434970309a4d5aff3fd03db 22-Apr-2016 Philip P. Moltmann <moltmann@google.com> Update print jobs appropriately in the print settings.

- Always use a fresh print job as once the print job goes away it cannot
be read. Before we were stuck with the last state which might not been
the last state
- make loaders relative to fragment to avoid loader id duplications with
other ids of the activity.

Fixes: 28315242
Change-Id: I57eeb64b44b5d77b2092c22b175407131f7baf97
/packages/apps/Settings/src/com/android/settings/print/PrintJobSettingsFragment.java
b05fbfa2747aeea8fe9c6647f2fcb0cb746c0dad 18-Mar-2016 Philip P. Moltmann <moltmann@google.com> Use changed getStatus interface

Change-Id: I72a2aa74607e34a1afbef0982f634def3e30efd4
/packages/apps/Settings/src/com/android/settings/print/PrintJobSettingsFragment.java
9d1bfd1e8de6e46137a9571507c03526880d6a46 27-Jan-2016 Chris Wren <cwren@android.com> port settings over to new metrics enum

Change-Id: I0b3efd2f4db773ccbc52bfe59ee8eb0dab9584fb
/packages/apps/Settings/src/com/android/settings/print/PrintJobSettingsFragment.java
be37bdff48e311e4df55bcc36f3acd1e49f74c9c 15-Jan-2016 Philip P. Moltmann <moltmann@google.com> Settings: Handle non-nullness of PrintJobId.unflattenFromString and printer.getName() correctly.

Change-Id: If22acfee7c6a7c21803fe79ff04f33181dd10167
/packages/apps/Settings/src/com/android/settings/print/PrintJobSettingsFragment.java
cb9deb035b06d125609ed61d1b41651995a3fa4e 18-Dec-2015 Philip P. Moltmann <moltmann@google.com> Print-Settings Remove unused fields.

Change-Id: I2f48c7bb54ab960178a8b7858f8accfe34107d7d
/packages/apps/Settings/src/com/android/settings/print/PrintJobSettingsFragment.java
f793d6328274e7304f377cd4acf8c095f67e1194 30-Nov-2015 Philip P. Moltmann <moltmann@google.com> Show status of print job instead of deprecated state reason.

The state reason has been replaced by the more generic status.

Change-Id: I4fd525c77bd35f1f336fbeee7744f18b1444cf9a
/packages/apps/Settings/src/com/android/settings/print/PrintJobSettingsFragment.java
99f0bd4aa6480f76fb7740ada8101bff84c1feb3 26-Nov-2015 Philip P. Moltmann <moltmann@google.com> Change onResume -> onStart in the print settings to update even paused activities.

Change-Id: Ie28de2cd3ba02c3f19d11c61b3dbbce5d33ddb5a
/packages/apps/Settings/src/com/android/settings/print/PrintJobSettingsFragment.java
39b467482d1bf256a111c757e9b7621c6f523271 10-Sep-2015 Jason Monk <jmonk@google.com> Depend on support lib preferences

Bug: 24576551
Change-Id: Ic6190bacd3f7582c9bbc8de972da4612bd92421e
/packages/apps/Settings/src/com/android/settings/print/PrintJobSettingsFragment.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/PrintJobSettingsFragment.java
9a23adf69dc53126c9858b19760eab5b67c23b97 18-Mar-2015 John Spurlock <jspurlock@google.com> Settings: Remove all unused imports.

Change-Id: Iebfa52cb849d69974c94902b0b020893cf5618a3
/packages/apps/Settings/src/com/android/settings/print/PrintJobSettingsFragment.java
6cfe7996541d608438fa7bec2cbad813ace93a4f 14-Jan-2015 Svetoslav <svetoslavganov@google.com> Settings not showing print jobs for a managed profile.

The settings app is shared among the personal and work profiles.
When fetching print jobs it was not getting the ones for the work
profile, rather the ones for the current user which is the personal
profile.

bug:18867406

Change-Id: I99f8cf3a3e2b133a0a4d5a8915473d1190e205f4
/packages/apps/Settings/src/com/android/settings/print/PrintJobSettingsFragment.java
43835e006e2988f05ad30fb926ed958a832785c1 19-Sep-2014 Svetoslav <svetoslavganov@google.com> Crash in Settings cancelling a print job from the job list.

bug:17585582

Change-Id: I44aef7e09c26141388b410762e93164d8df9a0c6
/packages/apps/Settings/src/com/android/settings/print/PrintJobSettingsFragment.java
85dcef12263f3cbae05240a155e92e7cf386d58f 11-Sep-2014 Svetoslav <svetoslavganov@google.com> Fix settings crash in print job screen.

The code was looking up the print job from the print manager
based on the lifecycle event of the hosting fragment. There
was a case missing and the print job not initialized on
rotation. This change looks up the job lazily making the
code more robust.

bug:17471952

Change-Id: I00075e161f69ca711bac6857f5ec00c20b5b17a0
/packages/apps/Settings/src/com/android/settings/print/PrintJobSettingsFragment.java
031e8b14322ec0a4ec3620de920fd5966290625c 11-Sep-2014 Svetoslav <svetoslavganov@google.com> Fix print icons in settings.

The print icons are in the framework resources and are not tinted
to enable usage from various places such as print spooler and
settings with different tinting. Settings was using not-tinted
print icons which were invisible on the white background. This
change switches settings to user tinted drawables.

bug:16966145

Change-Id: I2cf55d36d90b0192ba23686aac4f1d8e7e23f75a
/packages/apps/Settings/src/com/android/settings/print/PrintJobSettingsFragment.java
4a361df54b0c00dfe730b29b879abcd836a5d85a 05-Sep-2014 Svetoslav <svetoslavganov@google.com> Fix an occasional crash in print job state fragment in Settings.

There is a NPE in the print settings if the following occurs:
We open the print job state UI in settings for an ongoing print
job (now we have action bar buttons for cancel and restart);
now the print job gets completed and we update the UI and
since the print job is not longer present we nullify the current
job reference and finish the activity. But since activity
is not finished immediately there is an opportunity for the
user to click on the action bar options which results in NPE.
The fix is to not update the print job instance in the update
UI method if the job is not available, i.e. the update method
does not mutate state if the job is no longer present, as we
are finishing and performing an operation on a finished job will
have no effect.

bug:17387134

Change-Id: I501ed1e05b8b70584b3299a16e93ead5ab7f155f
/packages/apps/Settings/src/com/android/settings/print/PrintJobSettingsFragment.java
7662c1f21ff4fad232b4ae908296dc85a851beb4 15-Nov-2013 Svetoslav <svetoslavganov@google.com> am 03360cd2: am 196bc5c6: am e7b781f5: Merge "Show correct message for a print job that is being canceled." into klp-dev

* commit '03360cd23910c73c78a822c559acb3eb66a8e07b':
Show correct message for a print job that is being canceled.
97e962cd36e1a2bbadc264ec9ce8627a7decf268 15-Nov-2013 Svetoslav <svetoslavganov@google.com> Show correct message for a print job that is being canceled.

1. If a print job is being canceled we now show appropriate
message that matches what the notification shows.

2. If a print job is being canceled we do not show the cancel
button.

bug:11696928

Change-Id: I0fc4f8226c4aa9acd6a4b65811f4228e56018315
/packages/apps/Settings/src/com/android/settings/print/PrintJobSettingsFragment.java
b05be5fe0f0c0352d0b56b7ad6f584c6720591ed 10-Oct-2013 Svetoslav <svetoslavganov@google.com> am be74fb8d: am 43b8946f: am d9f156dd: Coalescing multiple print job notifications (Settings)

* commit 'be74fb8d729828642cce0514e1043c290e8ceea0':
Coalescing multiple print job notifications (Settings)
d9f156ddf072775c894db1ca3c3fe8989be4dbeb 10-Oct-2013 Svetoslav <svetoslavganov@google.com> Coalescing multiple print job notifications (Settings)

We used to show a single notificaiton for every print job but
this is against th UX guidelines. Since we have to lead by
example, this change adds coalescing of multiple notifications.

bug:11155212

Change-Id: I865450495e7e85bd6620c1f42aeef07d2f83a01a
/packages/apps/Settings/src/com/android/settings/print/PrintJobSettingsFragment.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/PrintJobSettingsFragment.java
dc00bf648338386e11ece255a8e7ce29ea3a70ab 01-Oct-2013 Svetoslav Ganov <svetoslavganov@google.com> Missing return statement if a print job is no longer present.

bug:11012251

Change-Id: I2ea925d903571aa676e4c48d78b4c0c6a91d7af1
/packages/apps/Settings/src/com/android/settings/print/PrintJobSettingsFragment.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/PrintJobSettingsFragment.java