Commit Graph

51108 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
Chris Wren
217f93a129 Merge "Add optional package context to sysui action metrics." 2015-04-21 17:24:32 +00:00
Chris Wren
3db024afeb Add optional package context to sysui action metrics.
Bug: 20451514
Change-Id: I3c671d9aa05e02d66168211b77128443c544609d
2015-04-21 13:21:47 -04: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
Andreas Gampe
c147278276 am 3bbd87dd: am 1f4f92ed: am b6feabcf: Merge "Frameworks/base: Use better Class.forName in ZygoteInit"
* commit '3bbd87dd1f6b7f6b767885a56ad062897bb25642':
  Frameworks/base: Use better Class.forName in ZygoteInit
2015-04-21 04:47:39 +00:00
Andreas Gampe
1f4f92ed74 am b6feabcf: Merge "Frameworks/base: Use better Class.forName in ZygoteInit"
* commit 'b6feabcfce080c2dc906434cf05ff606489cf39d':
  Frameworks/base: Use better Class.forName in ZygoteInit
2015-04-21 04:26:53 +00:00
Andreas Gampe
c917f74d92 Frameworks/base: Use better Class.forName in ZygoteInit
Use the three-argument version of Class.forName. This saves an
expensive stack lookup for the caller's class-loader on each
invocation.

Bug: 19498458
Change-Id: I859affde31e580fd2de3f70ee0a9295936c2d9f4
2015-04-20 19:17:54 -07: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
Abodunrinwa Toki
dcba951d54 Merge "Fix FloatingToolbar animation interruptions." 2015-04-20 19:25:30 +00: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
Abodunrinwa Toki
b90443724a Fix FloatingToolbar animation interruptions.
This CL makes sure animations don't conflict with one another.
Cancelling an animation should also set the animating object to
the end state.

Change-Id: Ib74515bb99090ce11a6ccd840aba0baee9fc1bf5
2015-04-19 18:55:42 +01:00
Abodunrinwa Toki
7270d07aab Implement FloatingToolbar.hide()
Bug: 20148125
Change-Id: I62e43df565801ada8230fc4a8d5d3f9e1fc842df
2015-04-19 15:43:56 +01: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