Commit Graph

47067 Commits

Author SHA1 Message Date
ztenghui
57c78290e4 Merge "Being extra careful, reset some more variables on ValueAnimator." 2015-04-21 22:13:03 +00:00
Alex Klyubin
d14a15a754 Merge "Document that WebView doesn't honor "uses cleartext traffic" flag." 2015-04-21 22:11:34 +00:00
Alex Klyubin
fbf4599a8e Document that WebView doesn't honor "uses cleartext traffic" flag.
Bug: 19215516
Change-Id: I5dbbaa03f3cae007c0b9b68fcf8cc8f250c16a62
2015-04-21 14:50:39 -07:00
Chris Craik
6eededad96 Merge "More state cleanup in View#draw" 2015-04-21 21:47:27 +00:00
Chris Craik
b309825138 More state cleanup in View#draw
bug:20254728

Change-Id: I988077aac59165dd1fcb3ebbcd5abded586256b5
2015-04-21 14:45:53 -07:00
Christopher Tate
f7cb8a0b50 Compress the preferred-app backup payloads
They can be Very Very Large, so take advantage of the new BlobBackupHelper
infrastructure to keep them tiny!

Also fix an issue in which the restore path wasn't properly passing
notification payloads along for processing, and an issue in which the
blob helper wasn't handling empty states properly.

Change-Id: I11a7ca3cd2e26f634a8971e874ac97385b0b500c
2015-04-21 14:36:22 -07:00
ztenghui
e1b5c2b48a Being extra careful, reset some more variables on ValueAnimator.
No real bug found related to these set of variables yet, just a clean up.

b/20457797

Change-Id: I8443718b1c289ccc87e6b227d417825838277361
2015-04-21 14:20:32 -07:00
ztenghui
fe7cca3d27 Merge "Reset the Node status when clone." 2015-04-21 21:03:12 +00:00
Jeff Brown
a93311f917 Merge "Make activity manager sleep top activity when dreaming." 2015-04-21 20:38:14 +00:00
ztenghui
b1e80d826b Reset the Node status when clone.
b/20457797

Change-Id: I5f1b0e2238fdc4a69a9c09c1e6e0272f7ede3685
2015-04-21 13:00:09 -07:00
Jeff Sharkey
e0ef7e8c60 Merge "Blend in force adoptable flag when set." 2015-04-21 19:45:02 +00:00
Jeff Sharkey
74acbbb2cd Blend in force adoptable flag when set.
Bug: 19993667
Change-Id: Ic7f348d171a89e889281b7efb1aa0cbade048975
2015-04-21 12:18:31 -07:00
Jim Miller
93ea09a376 Merge "Make fingerprint enroll/authenticate haptic feedback part of framework." 2015-04-21 17:45:52 +00:00
Dan Sandler
994349c61e Rediscover your own notifications.
This new API, NotificationManager.getActiveNotifications(),
allows an app to recover the set of notifications it has
posted that are still active (un-cleared, un-canceled,
visible by the user). Along with the Notification object
you'll get the original tag and id you used to post it,
wrapped up in the somewhat awkwardly-named
StatusBarNotification data structure (previously only used
internally by NoMan/SysUI and NotificationListenerServices).

Bug: 17320461
Change-Id: I8cd610956fafed4e31526b663cebdc31231ad930
2015-04-21 17:14:17 +00:00
Andrei Kapishnikov
8d505ff025 Merge "Introduced DO_NOT_ASK_CREDENTIALS_ON_BOOT flag" 2015-04-21 16:38:06 +00:00
Chris Craik
2099ee8ab5 Merge "Rename native DisplayListRenderer to DisplayListCanvas" 2015-04-21 16:30:08 +00:00
Joseph Cooper
b201110437 Merge "Introduces navigation keycodes." 2015-04-21 15:31:46 +00:00
Andrei Kapishnikov
4eb6a36922 Introduced DO_NOT_ASK_CREDENTIALS_ON_BOOT flag
A new flag for DPM.resetPassword() method that specifies that the
device should be decrypted without asking for the password or pattern.

Bug 19250601

Related CL in Settings App: https://googleplex-android-review.git.corp.google.com/#/c/670206

Change-Id: I9ca3472dc18e66e618ff772dee16ca4a450e9997
2015-04-21 11:07:09 -04:00
Dan Sandler
aa861666ed Fix build.
Change-Id: I0e419fdb36cedba67fc6da7f71134d9728f66150
2015-04-21 10:26:13 -04:00
Dan Sandler
954863ab9b Merge "Add ashmem stats to Parcels." 2015-04-21 14:10:20 +00:00
Erik Kline
17e11fad0a Final removal of CONNECTIVITY_ACTION_IMMEDIATE.
Since the demise of the connectivity change delay,
CONNECTIVITY_ACTION_IMMEDIATE has been sent out back to back with
CONNECTIVITY_ACTION.

Interested parties should watch for CONNECTIVITY_ACTION.

Bug: 20013379
Change-Id: I072dddf95adb3bbd17fa1f7159d4ea848ade8f19
2015-04-21 17:02:34 +09:00
Jim Miller
af281ca0d3 Make fingerprint enroll/authenticate haptic feedback part of framework.
Change-Id: Icc2e9ec4b30a6f3a21e3bbe8476efc56361d6944
2015-04-20 19:04:21 -07:00
Sunny Goyal
02a2a1b237 Merge "Potential fix for apps disappearing in launcher on system server crash" 2015-04-21 00:40:24 +00:00
Alan Viverette
33f0c93fa9 Merge "Update the popup reveal animation to more closely match window reveal" 2015-04-21 00:29:36 +00:00
Rubin Xu
97e2f7d5af Merge "Rename public OTA policy APIs in DevicePolicyManager" 2015-04-20 23:56:27 +00:00
Rubin Xu
5faad8e4cd Rename public OTA policy APIs in DevicePolicyManager
Use the term "SystemUpdate" instead of "OTA", in public
DevicePolicyManager APIs that handle OTA policies.

Bug: 19650524
Change-Id: Iebdaea91337d617147cb411b6f47e0f3fae8671c
2015-04-20 23:27:14 +01:00
Chris Craik
db663fe83f Rename native DisplayListRenderer to DisplayListCanvas
Change-Id: I33e6f8cc85da1e7da7ff7bf18d4ebde64222067a
2015-04-20 14:20:47 -07:00
Christopher Tate
f9767d680d Infrastructure for notification backup/restore
Introduce a fairly general "store byte[] blobs as backup keys" helper, and
use that to integrate with the Notification Manager.  The helper provides all
the machinery of managing prior state, compressing the blob on the wire, etc.

Bug 19848954
Bug 20105530
Bug 17755700

Change-Id: I4aa808172244af6db0ab2f4440cc266a797655d7
2015-04-20 14:08:25 -07:00
Sunny Goyal
5892c9a2e2 Potential fix for apps disappearing in launcher on system server crash
Based on Ifda3fda209141b361a286fc033217acfa0ec196e

Bug: 20420558
Change-Id: Icfcaf585b8a19853fe2c0fd0e4f06a2efc087938
2015-04-20 13:53:06 -07:00
Stuart Scott
f1fb39763d Move factoryReset to service and protect.
bug:16161518
Change-Id: I02d1bbae1887c62ee426e6f03e8bc1f18c6666bf
2015-04-20 10:52:35 -07:00
Andrei Stingaceanu
19f1faa376 Merge "Text processing - stop showing an empty toast." 2015-04-20 16:57:44 +00:00
Gustav Sennton
0d703f74d0 Merge "Fix loading of null webview if there is no webview package." 2015-04-20 15:23:27 +00:00
Andrei Stingaceanu
6154b0909c Text processing - stop showing an empty toast.
If the text processing app returns empty or null text don't show the toast.

Bug: 20326103
Change-Id: Ib8534b851d2046fe7c17f674f170f9630e4a364d
2015-04-20 15:03:55 +01:00
Gustav Sennton
a8366e78b5 Fix loading of null webview if there is no webview package.
In the change in go/ag/672863 we throw an AndroidRuntimeException
instead of a PackageManager.NameNotFoundException when no webview
package exists. This should break devices not using webview since
the NameNotFoundException is used to detect webview not being present
(so that the null webview can be loaded instead). In this patch we
create a new type of exception and look for that one instead when we
want to determine whether the device should or should not have webview
installed.

Change-Id: Ia75dec718d7a5b2c3517671c54be3950badb8bba
2015-04-20 14:56:23 +01:00
Sander Alewijnse
e94787a027 Merge "Add certificate checksum extras." 2015-04-20 10:31:28 +00:00
Keisuke Kuroyanagi
65769551df Merge "Enable mouse drag text selection for unfocused TextView." 2015-04-20 04:49:50 +00:00
Svet Ganov
5a71f4fbaf Merge "Add OP_ADD_VOICEMAIL app op - framework" 2015-04-19 20:05:08 +00:00
Svet Ganov
c3300090f5 Add OP_ADD_VOICEMAIL app op - framework
Change-Id: Id21063b93958c9e372dcbaac8ff9f4fa8b5f0cb3
2015-04-19 13:00:32 -07:00
Jeff Sharkey
e6c04f9417 Broadcast hidden volumes, notification polish.
Send limited broadcast intent when certain volume state changes
occur; the only customer for now is ExternalStorageProvider.

Change notification flow to be less bumpy.  Pick USB icon based on
disk type, and avoid using "generic" disk labels.

Bug: 19993667
Change-Id: I263bc9e9aae2ae57eb4d1afe76da686aee5475fb
2015-04-18 23:11:00 -07:00
Jeff Sharkey
529f91fc8e Always send volume UUID with installd commands.
Since packages can be moved to other volumes, all relevant commands
to installd now require an explicit volume UUID parameter.

Bug: 20275577
Change-Id: Ie84f5bc43c7aada5800b8d71692c7928b42b965e
2015-04-18 21:11:58 -07:00
Jeff Sharkey
355df8f16a Merge "Wire up non-visible volumes, more states." 2015-04-18 23:25:31 +00:00
Jeff Sharkey
27de30d31c Wire up non-visible volumes, more states.
Adds logic to ExternalStorageProvider to scan non-visible volumes,
such as USB OTG devices.  We use internal paths when surfacing these
volumes, which also optimizes around the FUSE daemon for public
devices.  Also dumps internal state when requested.

VolumeInfo now directly contains DiskInfo, which means it's
snapshotted when sending events, avoiding teardown races.  Switch
notifications to use this DiskInfo directly.

Finish wiring up new volume state, including helper methods to make
it readable/writable state clearer.  Handle disks and volumes with
spaces in their labels.

Bug: 19993667
Change-Id: I5c75e5658a6415976811477aebafee7694bde0f4
2015-04-18 16:20:30 -07:00
Clara Bayarri
641207d180 Merge "Enable Text Selection Action Mode for seach boxes and action bar components." 2015-04-18 07:11:24 +00:00
Jeff Brown
061ea99546 Make activity manager sleep top activity when dreaming.
Added the concept of a sleep token to represent a demand to sleep.
We grab this token whenever a dream window is visible.

This change also deletes a special condition in shouldSleepLocked()
which would tend to keep activities running when the lock screen
was shown unless they had previously been sleeping.  I believe this
condition is no longer necessary and the policy is much simpler
without it.  Let's see if anything breaks.

NOTE: This can currently only be used within the system server process
but it might make sense to move it to IActivityManager (guarded by
DEVICE_POWER permission) so that keyguard can use it.  If we added
a callback on release to inform the client that the underlying activity
has finished drawing then we could untangle a bunch of keyguard
specific logic.

Bug: 18866521
Change-Id: I84b2118f5b990a71a1647d1cee536ad3d99f3a24
2015-04-17 20:00:09 -07:00
Amith Yamasani
eab852cb34 Merge "Add isSystemUser API" 2015-04-18 02:01:18 +00:00
Amith Yamasani
5760e1786b Add isSystemUser API
Bug: 20348316
Bug: 19945747
Change-Id: Ibb81f0b2fccec621e26e4543bf9f26ffddfafb15
2015-04-17 18:52:26 -07:00
Jeff Sharkey
6b875a7497 Merge "Volumes know parent disks; unsupported disks." 2015-04-18 01:12:25 +00:00
Jeff Sharkey
7e92ef3a11 Volumes know parent disks; unsupported disks.
This is cleaner and more direct than the reverse of having the disk
publish child volume membership.  Rename state constants to match
public API.  Add state representing bad removal.  Make it clear that
volume flags are related to mounting.

Send new unsupported disk event when we finish scanning an entire
disk and have no meaningful volumes.

Splice disk labels into description when known.  Only adoptable
slots are directly visible to apps.

Bug: 19993667
Change-Id: I12fda95be0d82781f70c3d85c039749052dc936b
2015-04-17 17:35:11 -07:00
Svetoslav
6c589570c4 Remove unnecessary WRITE_SMS permission - framework
Currently only one app can write to the SMS provider and it has to
be set as the default SMS app by the user in the UI. The default
SMS app is set by enabling the write SMS app op for it and keeping
this op off for other SMS apps. Hence, this permission does not
guard anything and can be taken out. The API change is fine as if
an app refers to the permission in the manifest as string it will
be ignored and if it was referred in Java the value is statically
compiled in the source.

Change-Id: I1128c3b034e6c7dda4baa051500ac1ef46a53575
2015-04-18 00:18:53 +00:00
Doris Liu
b1b0aa58bf Merge "Revert "Use real screen size to scale duration"" 2015-04-18 00:14:38 +00:00