OSDN Git Service

Changed the action executed when "Take bug report" is selected.
authorFelipe Leme <felipeal@google.com>
Tue, 15 Dec 2015 22:15:56 +0000 (14:15 -0800)
committerFelipe Leme <felipeal@google.com>
Tue, 15 Dec 2015 22:34:00 +0000 (14:34 -0800)
commite974f7ef2b2cccb5cfbe7d09111d5f40390a6c7c
tree67ca63f33c3c78e2b29895d8acaf09ca2b31a79d
parent5144d154b5bdea65000d349fee958a303083aa99
Changed the action executed when "Take bug report" is selected.

By default, it executes the new, enhanced bugreport (service
'bugreportplus'), which is more user-friendly (it shows a system
notification with the progress, allow user to cancel, etc...), but
causes more interference in the system operations.

But on long press, it executes the old, lighter workflow (service
'bugreport'), which is less user-friendly but causes less
interference (and hence should be used in the cases where the device is
slow or unresponsive).

BUG: 26034608
Change-Id: I6759e4c8c2c2a970d0a2bb99ca3471854d01780a
services/core/java/com/android/server/policy/GlobalActions.java