This sets a threshhold for both the curation animation as well as the
snap back animation. It now limits these to 500ms and 250ms, respectively.
Cleaned up misc log spew.
Updated after review.
Change-Id: Ie11a2fc4556b396257c33c3ebd7513c4c220ff95
Fixed layout in landscape mode where recents only filled half the screen
because "match_parent" in the layout was being ignored. The fix is to
have a temporary ViewGroup as the parent to ensure the layout parameters
are valid.
Changed to solid 70% opaque background on phone.
Removed "dismiss" chevron from phone layout.
Removes glow on phones.
Change-Id: Id5319eeba4fdd8c9ef5792168b35162cc1bbfe38
New methods for full backup/restore have been added to BackupAgent
(still hidden): onFullBackup() and onRestoreFile(). The former is the
entry point for a full app backup to adb/socket/etc: the app then writes
all of its files, entire, to the output. During restore, the latter
new callback is invoked, once for each file being restored.
The full backup/restore interface does not use the previously-defined
BackupDataInput / BackupDataOutput classes, because those classes
provide an API designed for incremental key/value data structuring.
Instead, a new FullBackupDataOutput class has been introduced, through
which we restrict apps' abilities to write data during a full backup
operation to *only* writing entire on-disk files via a new BackupAgent
method called fullBackupFile().
"FullBackupAgent" exists now solely as a concrete shell class that
can be instantiated in the case of apps that do not have their own
BackupAgent implementations.
Along with the API change, responsibility for backing up the .apk
file and OBB container has been moved into the framework rather than
have the application side of the transaction do it.
Change-Id: I12849b06b1a6e4c44d080587c1e9828a52b70dae
When someone tries to revoke packageA, it is possible that packageA is
already revoked by packageB. In this case packageB should not be revoked,
and the new prepare() can help solve this problem.
Change-Id: Iee056a191dd99467b8ad1b5379a17b02d404bad1
- Use PendingIntent to start activities.
- Handle configs without package names.
- Switch to system UID.
Change-Id: Ia78112a97e3628b603d9e059705e32694ebe142b
Also update metrics to match clarified spec; in particular,
the navbar is now 48dp tall.
Bug: 4689070
Change-Id: Ia05ae840076df5a984ac85bb63df997943356eb8
Starring, in order of appearance:
BACK
and
HOME
and introducing in his first starring role on phones
RECENTS
with a special guest appearance by
MENU
presented in PORTRAVISION and LANSCOPE
Change-Id: I0b8459a6f648a4336a0e1a943e02ba82728a75cb
Due to the property trigger on persist.sys.usb.config,
setting the default function also sets the current function.
Now we combine both of these methods into setCurrentFunction, which has
a "makeDefault" option to make the new function the default.
This change should eliminate some problems with setting properties due to
multiple property triggers happening at the same time.
Change-Id: I9851299e9c2ee20475eada1a8104c0d50bf5a9e1
Signed-off-by: Mike Lockwood <lockwood@android.com>
The compatibility mode dialog (shown only once, ever) was clobbering its layout params.
Bug: 4723617
Change-Id: I7899293b72c8e480a97a10a88f62754ff415f343
This change adds a notification when USB is connected.
Selecting the notification brings up a dialog to allow switching between
MTP and PTP modes, and also allows mounting a CD image for installing AFT.
The UI design is not final - this is a temporary implementation of the UI.
Change-Id: Idd678537aba595fd4cb183ea755bf437f372d826
Signed-off-by: Mike Lockwood <lockwood@android.com>
Of note:
1. There is no "X" (veto) button anymore. (Well, there is,
but it's offscreen so it should still be available to
assistive devices.) Users can use "Clear all" or the new
swipe-to-veto gesture to clear notifications.
2. As a consequence of #1, your layout goes all the way to
the right edge of the notifications panel again. Enjoy
the extra space!
3. The numeric bubble in the notification icon is now capped
at "999+" like it is in the expanded notification view.
(Note that this involves a couple of new public framework
resources: one to indicate the number beyond which the
substitution string will be used, and one specifying a
localizable substitution string.)
Bug: 4651514
Bug: 4686329
Bug: 4501990
Change-Id: I0e6bdb6aec4fe5bfc927eb1aba955d444a9414ec
- wire up to long press on home
- remove unused recents activity
- remove duplicate recents resources in -large directories (using -sw600dp instead)
- fix issue with zoom/scale translation when recents was brought up
Change-Id: I45538ccaff49b46ac3659c4828f9e2b0cd075241