189237 Commits

Author SHA1 Message Date
Deepanshu Gupta
d981c0d4f0 Merge "Add resources to recyclerview dependency." 2015-04-21 18:31:46 +00:00
Deepanshu Gupta
6c04e5e916 Add resources to recyclerview dependency.
Change-Id: I03c1dbacf8c83149de3ee01fe6d7dbb288d1948a
(cherry picked from commit 202cbbe45383b871129743d55179cf1c6429fffc)
2015-04-21 11:21:38 -07:00
Jim Miller
93ea09a376 Merge "Make fingerprint enroll/authenticate haptic feedback part of framework." 2015-04-21 17:45:52 +00:00
Deepanshu Gupta
a120e9fcc9 Merge "Add resources to recyclerview dependency." into lmp-mr1-ub-dev 2015-04-21 17:34:20 +00:00
Chris Wren
217f93a129 Merge "Add optional package context to sysui action metrics." 2015-04-21 17:24:32 +00:00
Chris Wren
640e387ce4 Add notification lifetime to the cancel message.
Also track the total lifetime in the notificaiton record.

Bug: 20122735
Change-Id: I09668be0161de0e1d8201b069e533a9a2203c83c
2015-04-21 13:23:18 -04: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
Craig Mautner
c21ae9ed22 Add API for putting up locktask pinning toast.
Fixes bug 18993662.

Change-Id: Ic1753285044857f8ea897784485fd1a9580acf25
2015-04-21 10:11:12 -07:00
Andrei Kapishnikov
8d505ff025 Merge "Introduced DO_NOT_ASK_CREDENTIALS_ON_BOOT flag" 2015-04-21 16:38:06 +00:00
Quddus Chong
8408cbe3ad cherrypick from lmp-docs docs: Added 3rd-party Javadocs for Android Support
Testing Library v0.2. Original Change-Id: I0fab71be55f5c3c6d017ba585b92f8493050274a
bug: 20304402

Change-Id: I697f57335b671d5f17685c1f82d7c9158e6d4ce6
2015-04-21 09:33:09 -07:00
Chris Craik
2099ee8ab5 Merge "Rename native DisplayListRenderer to DisplayListCanvas" 2015-04-21 16:30:08 +00:00
Jae Seo
b55b838c17 Merge "TIF: Fix incorrect uses of INPUT_STATE_XXX" 2015-04-21 16:13:01 +00:00
Jae Seo
82fce64530 TIF: Fix incorrect uses of INPUT_STATE_XXX
Also changed TvInputManager.getTvInputState to return
INPUT_STATE_DISCONNECTED for removed inputs and fixed documentation.

Bug: 18563677, Bug: 20435950
Change-Id: Idb81cee852b797eb3f5113d68468905f327928e7
2015-04-21 09:11:29 -07:00
Andreas Gampe
189d2785c3 Merge "Frameworks/base: Fix comment" 2015-04-21 16:10:28 +00:00
Olawale Ogunwale
8ac2478b97 am f7be8b67: am fa147b5c: Merge "[ActivityManager] Move UI operation to UI handler"
* commit 'f7be8b6739f174919ad01dcd32788b1b67c6820a':
  [ActivityManager] Move UI operation to UI handler
2015-04-21 16:08:49 +00:00
Olawale Ogunwale
9e6c83abaf am acaa886c: am 0408187e: Merge "[ActivityManager] Avoid unnecessary restart provider process"
* commit 'acaa886ce765c58c1e71b440b623a16ae419f5da':
  [ActivityManager] Avoid unnecessary restart provider process
2015-04-21 16:08:45 +00:00
Wei Jia
4f2be32a79 Merge "MediaSync: update code example for setCallback." 2015-04-21 16:03:01 +00:00
Andreas Gampe
dd8e5fbe96 Frameworks/base: Fix comment
Fix comment in ZygoteInit.

Change-Id: I853581c8d44ee52ee8e113c67ea68621643ecb39
2015-04-21 09:01:51 -07:00
Luan Nguyen
5c1e306502 am 2da31b1e: am 886e8e11: am 2fdd83a9: am d2545775: am 4c20df0b: am 4aebbfbb: Merge "docs: Add Channel API summary for Wear." into lmp-docs
* commit '2da31b1ef75f239ee33fea4592cbf0159a0af8b4':
  docs: Add Channel API summary for Wear.
2015-04-21 15:59:24 +00:00
Olawale Ogunwale
f7be8b6739 am fa147b5c: Merge "[ActivityManager] Move UI operation to UI handler"
* commit 'fa147b5caf7b44f76aee515afecda639fbc52c22':
  [ActivityManager] Move UI operation to UI handler
2015-04-21 15:53:53 +00:00
Olawale Ogunwale
acaa886ce7 am 0408187e: Merge "[ActivityManager] Avoid unnecessary restart provider process"
* commit '0408187e7d2e7bdb6d0cb0521f49859a3d9a7396':
  [ActivityManager] Avoid unnecessary restart provider process
2015-04-21 15:53:45 +00:00
Luan Nguyen
2da31b1ef7 am 886e8e11: am 2fdd83a9: am d2545775: am 4c20df0b: am 4aebbfbb: Merge "docs: Add Channel API summary for Wear." into lmp-docs
* commit '886e8e1137fa7acad558c297891e61c20b43b036':
  docs: Add Channel API summary for Wear.
2015-04-21 15:47:42 +00:00
Craig Mautner
c5e73bf9f8 am da506ffa: am 14818725: am 80f99121: Merge "Prevent infinite layout and wallpaper flashing"
* commit 'da506ffabadd551241e23aecf08e378e7d0f30b1':
  Prevent infinite layout and wallpaper flashing
2015-04-21 15:41:26 +00:00
Luan Nguyen
886e8e1137 am 2fdd83a9: am d2545775: am 4c20df0b: am 4aebbfbb: Merge "docs: Add Channel API summary for Wear." into lmp-docs
* commit '2fdd83a97a0dd3de36264928ff42dcc0a098018f':
  docs: Add Channel API summary for Wear.
2015-04-21 15:35:41 +00:00
Olawale Ogunwale
fa147b5caf Merge "[ActivityManager] Move UI operation to UI handler" 2015-04-21 15:31:59 +00:00
Joseph Cooper
b201110437 Merge "Introduces navigation keycodes." 2015-04-21 15:31:46 +00:00
riddle_hsu
758f714ca8 [ActivityManager] Move UI operation to UI handler
Because ANR will dump cpu usage, stack traces in ActivityManager
thread, if system is busy or in low-end device, it may spend more
than 5s to dump. So when there is UI operation (e.g. pop dialog)
in ActivityManager thread, it may meet key dispatch timeout.

Change-Id: Ie550e31a7cff65bdcfc9af2c32989e9deb5fb2cf
2015-04-21 15:31:39 +00:00
Craig Mautner
da506ffaba am 14818725: am 80f99121: Merge "Prevent infinite layout and wallpaper flashing"
* commit '148187255ecaaaf6a35920f779fa6a171433ccd4':
  Prevent infinite layout and wallpaper flashing
2015-04-21 15:30:44 +00:00
Olawale Ogunwale
0408187e7d Merge "[ActivityManager] Avoid unnecessary restart provider process" 2015-04-21 15:29:09 +00:00
Luan Nguyen
2fdd83a97a am d2545775: am 4c20df0b: am 4aebbfbb: Merge "docs: Add Channel API summary for Wear." into lmp-docs
* commit 'd2545775568694c75c9589eaf7c894583e37de4e':
  docs: Add Channel API summary for Wear.
2015-04-21 15:24:36 +00:00
Craig Mautner
148187255e am 80f99121: Merge "Prevent infinite layout and wallpaper flashing"
* commit '80f99121ea96cdabea6260ab165e7183431be513':
  Prevent infinite layout and wallpaper flashing
2015-04-21 15:19:06 +00:00
Luan Nguyen
d254577556 am 4c20df0b: am 4aebbfbb: Merge "docs: Add Channel API summary for Wear." into lmp-docs
* commit '4c20df0bbec2774e8829245547cfe8a42c5faea7':
  docs: Add Channel API summary for Wear.
2015-04-21 15:12:51 +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
Luan Nguyen
4c20df0bbe am 4aebbfbb: Merge "docs: Add Channel API summary for Wear." into lmp-docs
* commit '4aebbfbb9ba54d77ac99508fb66db6c9fd24343a':
  docs: Add Channel API summary for Wear.
2015-04-21 15:00:56 +00:00
Craig Mautner
80f99121ea Merge "Prevent infinite layout and wallpaper flashing" 2015-04-21 14:54:44 +00:00
Luan Nguyen
4aebbfbb9b Merge "docs: Add Channel API summary for Wear." into lmp-docs 2015-04-21 14:53:04 +00:00
Dan Sandler
225d06624a Merge "Fix build." 2015-04-21 14:31:40 +00:00
Robin Lee
0fa9987b5b Merge "SecurityController: track VPN for all users" 2015-04-21 14:30:55 +00:00
Robin Lee
9cb1d5f641 SecurityController: track VPN for all users
Fixes inconsistencies when switching users.

Bug: 17763561
Bug: 17506956
Bug: 18419023
Change-Id: I65988e6c45afd00a402d1e266922d5648fd12743
2015-04-21 15:28:20 +01: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
Thiemo Nagel
fb6f8b4f63 Merge "Remove unsed failedAttemptWarning in reportFailedUnlockAttempt()." 2015-04-21 11:29:31 +00:00
Andrei Stingaceanu
fbafc78648 Cleanup unused icons on the floating toolbar.
Floating toolbars move to a text based actionMode.

Bug: 20212703
Change-Id: Id94599487c2c70712f20d7044cd7ba1248813945
2015-04-21 11:55:47 +01:00
Neil Fuller
44e440cc7e Add checks for types in Parcel / avoid class initialization
Make Parcel more stringent to avoid initializing classes
that are not related to Parcelable.

Two new checks:
1) That the class found on the stream implements Parcelable.
2) That the type of the CREATOR field declared on the class
found on the stream actually implements Parcelable.Creator.

For (1) the new check that a class in the stream is actually
Parcelable. This will affect handling of invalid streams or
code that didn't obey the requirements.

For (2) this change could break some apps that had a CREATOR
field in a Parcelable class that was not declared to be
(at least) a Parcelable.Creator: it is no longer sufficient
for the type to implement Parcelable.Creator, the field
must be declared as such.

This change includes doc updates for Parcelable to make
the requirement around the declared type of the CREATOR
field more concrete.

This change also makes the generics slightly tidier/explicit,
annotates code as unchecked where needed and removes some
assumptions that can not be guaranteed with Java's type
system and the current definitions.

For example, there's no guarantee right now that
Parcelable.Creator returns objects that are actually
Parcelable, or that the CREATOR object associated
with a Parcelable will return objects of the surrounding
class. The first we can't do something about without
breaking the public API (due to implementations like
TextUtils.CHAR_SEQUENCE_CREATOR). The second is
currently typically implicitly enforced with an implicit
cast in the (app's) calling code (e.g. callers to
readParcelable() that causes a language-introduced cast
to the type expected). A larger refactoring of Parcel
would be required to ensure that the class that is
produced by Creator is of a type compatible with the
class that declared CREATOR, and is not a goal for this
change.

A fix is included for a class that doesn't implement
Parcelable like it should and would probably fail
check (1).

Bug: 1171613
Change-Id: I31d07516efee29a320e80f4bc4f96aaac628f81c
2015-04-21 11:32:44 +01:00
Benjamin Franz
78c05f9742 Check for null packages in setLockTaskPackages
Bug: 20416611
Change-Id: Ibbadc952da29a34de0cf02408093b7bfc01f8779
2015-04-21 09:45:19 +01: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
Erik Kline
d0388299a7 Merge "Listen for CONNECTIVITY_ACTION instead of _IMMEDIATE" 2015-04-21 06:06:43 +00: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
3bbd87dd1f am 1f4f92ed: am b6feabcf: Merge "Frameworks/base: Use better Class.forName in ZygoteInit"
* commit '1f4f92ed7401b1bb2a1cacb5d82122729357d133':
  Frameworks/base: Use better Class.forName in ZygoteInit
2015-04-21 04:36:27 +00:00