History log of /packages/apps/UnifiedEmail/src/com/android/mail/ui/RestrictedActivity.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
52882ff08fe9420fe2dbb3f681545a330222e9c8 27-Jul-2014 Andrew Sapperstein <asapperstein@google.com> switch to appcompat. b/16664350

Currently only for MailActivity, ComposeActivity,
and FolderSelectionActivity.

Any activity that inherits from ActionBarActivity must
use an Appcompat-derived style. Three styles currently
exist: UnifiedEmail.Appcompat, UnifiedEmail.Appcompat.Toolbar,
and ShortcutWidgetTheme are all based on appcompat.

go/appcompat-material-doc contains the full migration guide.

The fast version is:
All MenuItem-related work that relates to actions must use
the MenuItemCompat-equivalent.
Any theming should use the appcompat versions which don't require
a namespace prefix. For instance, use actionBarStyle instead of
android:actionBarStyle.

There are a few missing styles on views that can't use appcompat versions.
Those still use style overrides for v21 changes. All others use appcompat versions.

A few methods on activity should now use the support equivalents:
getSupportActionBar()
supportInvalidateOptionsMenu()
startSupportActionMode()

Change-Id: Ic6f5964f4115ab4bde49c19df5fe49c9086df965
/packages/apps/UnifiedEmail/src/com/android/mail/ui/RestrictedActivity.java
313ac13095a386be366bd25f8106fbb34b4a7098 05-Mar-2013 Andy Huang <ath@google.com> fix search hard key handling

onSearchRequested(String) -> executeSearch(String)
No sense getting this confused with the very-different
Activity.onSearchRequested().

Bug: 8309831
Change-Id: I20dfaa854d6dfb1b8a774337ae2ae1b0db17abce
/packages/apps/UnifiedEmail/src/com/android/mail/ui/RestrictedActivity.java
5ddd1dd97bfd168f00fe5cf553cccbe6989c9b64 14-Jan-2013 Paul Westbrook <pwestbro@google.com> Check the activity's focus state

Fragment#isVisible() can return true when it isn't visible to the user, so
we need to check the Activity's focus state before marking a conversation as
seen.

Bug: 7996654
Change-Id: Idd2fe81a7997d3602d485cf68a285740935a95df
/packages/apps/UnifiedEmail/src/com/android/mail/ui/RestrictedActivity.java
7c401b7896910c00e6234e8774aab0be45740d32 14-Aug-2012 Vikram Aggarwal <viki@google.com> Get the Account through a listener

Every object that needs an account gets it from the ActivityController
by registering for future updates. This should reduce some of the
headaches with account objects going out of sync.

Fix b/6969950

Change-Id: I0449b482ecd84bdb947304db5f0504c77dd1dc7a
/packages/apps/UnifiedEmail/src/com/android/mail/ui/RestrictedActivity.java
4765c5c90802d0abcf2b05c4967e7dd7d2284f9a 19-Jul-2012 Mindy Pereira <mindyp@google.com> Make sure we hold on to pending undo ops.

its possible the converesation list fragment isn't visible yet, since
onepanecontroller doens't always have it around.

In this case, store the pending action in the activity and show it
once the fragments attaches.

Fixes b/6779210 Deleting a Conversation in a Label in Conversation View Does Not Show Undo

Change-Id: Ib8c41dceef67dcdac1c331ed777daf6dfb0b6702
/packages/apps/UnifiedEmail/src/com/android/mail/ui/RestrictedActivity.java
5ff63747a1b5c6e2197528972cbc3ba808b09d8d 17-Mar-2012 Andy Huang <ath@google.com> show subject and labels in conversation view

Show labels only for accounts that support multi-folder
conversations.
Move some classes into smaller 'browse' package.
Special-case subject/labels overlay for now. Full adapterization
is coming soon when super-collapsed blocks are in.

Change-Id: I458009776eb2e3840dd9e441de9e4ead3cc94d0b
/packages/apps/UnifiedEmail/src/com/android/mail/ui/RestrictedActivity.java
68f2e222b4ffccd9f67f02b3a9cfdb3841a7eb43 07-Mar-2012 Mindy Pereira <mindyp@google.com> Hookup search in the UI.

Remove ActionBarView interface and rename MailActionBar
to actionbarview. We needed this for pre v-14 support, but no longer.
Change-Id: I539b6751313e561311921010b03250df632260bc
/packages/apps/UnifiedEmail/src/com/android/mail/ui/RestrictedActivity.java
efe3d25aa19da172fd5c3ec39539cdd91f29e927 01-Mar-2012 Mindy Pereira <mindyp@google.com> Destructive action dialogs.

Use delete/ archive settings to determine if we should show a confirmation dialog.
Show confirm discard dialog in Compose and actually discard.

Change-Id: I992bdf598af72a62deadfdfe695a64b89fad5c24
/packages/apps/UnifiedEmail/src/com/android/mail/ui/RestrictedActivity.java
2861b6a649090ce1401b4bb04dd87df5bb26472b 16-Feb-2012 Paul Westbrook <pwestbro@google.com> Settings uri

Support for the UI provider to specify the uri for the
intent that should be used for launching settings

Change-Id: Ibcaf35b15774d87436f83475a3971ceae0ede6fd
/packages/apps/UnifiedEmail/src/com/android/mail/ui/RestrictedActivity.java
cd8bf0a4c081f95ac8666025adb85d4908c2018a 14-Feb-2012 Vikram Aggarwal <viki@google.com> Allow RestrictedActivity to return the context of the activity.

Change-Id: I5b1553e7c034523000dddd60fb9a90239c178cb0
/packages/apps/UnifiedEmail/src/com/android/mail/ui/RestrictedActivity.java
1ddcf0f2bf44d3c9db89112ef52510d9b2433ac4 13-Jan-2012 Vikram Aggarwal <viki@google.com> Adding more ActivityController dependencies

ui.ControllableActivity added from Gmail.
One pane layout files brought in.
Minor changes to make everything work with the test activity.

Change-Id: I8cacd5f36394fe4a786590e2e381369a3afb5494
/packages/apps/UnifiedEmail/src/com/android/mail/ui/RestrictedActivity.java