Disable notifications and posts for suspended apps by
verifying if the package is suspended in NotificationManagerService
where AppOpsManager.OP_POST_NOTIFICATION is checked.
Note that the notificationEnabled user preference is
preserved when unsuspending.
In a following CL will make the "Block all" notifications
setting while an app is suspended (in Settings -> App Info)
readonly so that the user can not turn notifications on.
Bug: 22776761
Change-Id: Ie8edba508bd23406445f9a014404b6d3b17cb223
This package has no test coverage, and we don't
know if it was ported properly. This package will
be added in future, with a test suite.
Bug: 26786186
Change-Id: I024c9b7a0caf607ad597753f998b01d243f650cd
Overload the methods to take int option flags indicating the conversion
behavior. This guards against large disruptions in legacy applications.
Change-Id: I0f47180bbb78884b67aa200fe5156e903eeaa6f6
Also introduce new supported RAW image file formats, PEF and SRW.
RAW image file formats are not defined in PTP 1.2 specification except
for DNG. They are mostly built on top of TIFF or TIFF/EP. (Fuji's RAF
is the exception).
In this CL, image file formats are classified newly as below:
DNG: dng
TIFF: cr2, nrw, arw, rw2, orf, pef, srw
TIFF/EP: nef
Unknown Image Formats(FORMAT_DEFINED): wbmap, webp, raf
I referred to the following documents for defining MTP formats of RAW
images:
* http://www.rags-int-inc.com/PhotoTechStuff/RawStandards/RawSummary.html
* https://en.wikipedia.org/wiki/Raw_image_format
Bug: 26552863, Bug: 26626825
Change-Id: Ia218f6320c4c1ff051a23ca0060ceac46134b0d7
- New activity action for initiating a message to someone by voice.
The message could be text, audio, video or image(photo). The action
supports messaging with a specific contact regardless of the underlying
messaging protocol used.
- Set of extras to support identification of such contact.
Primary use case for this action is to be originated by the Voice
Assistant as a voice interaction. In such scenario receiving activity
could verify the source and send a message right away, without any
further input from the user. It allows for a smooth user experience when
sending a message by voice.
Bug: 22791113
Change-Id: I86d55af04d13acbc1390938fa6b914990716cb39
This CL exposes a new meta-data, IN_CALL_SERVICE_RINGING. If this is set
to true then ringing is played by the dialer instead of Telecom.
This CL also adds a new silenceRinger() API to InCallService. This is
needed to implement ringer silence on volume key down.
BUG: 22857261
Change-Id: I498538282eddbb727104f5b879f25adbef4e6cf6
1. Unhide MSIM APIs in TelephonyManager that already have non-MSIM equivalent
APIs public.
2. Make MSIM API naming consistent (overloaded, no suffix).
3. Unhide APIs in SubscriptionManager that are necessary for MSIM.
Bug: 26772894
Change-Id: Ibebab7379ea79c8e4812bbd190342827048e30e2
LEVEL_3 is a new high-level label for camera devices that support more
than the existing FULL-level capabilities.
Bug: 25114814
Change-Id: Ibed66ed6b83e4f28598455255d86b13b78f1f13b
Previously, locale resolution happened at Resources level, which
could result in different Resources in the same app using different
locales.
This change moves the locale negotiation to ResourcesManager, which
remembers the locales supported by each Resources as they are
created, and negotiates the locale based on their union.
It also makes sure that the old model of apps getting the default
locale by accessing it through the Configuration's locale attribute
continues to work, since the negotiated locale will be moved to the
top of the list before Resources are created and when they are
updated with a Configuration change.
Bug: 25800576
Bug: 26404653
Change-Id: I0dd81df288327fd8d1229188c9544ee2209c161a
This key will allow the carrier to specify to prefetch audio data on
new voicemail arrival. The default value it true.
This setting is not available to the user because it add too much
complexity.
Bug:23945351
Change-Id: I5ca6b4f64c3818c5f37ba608f4ab450c8b0ed9dc
Adding a sensor type that returns the device pose as a -
. quaternion representing rotation from a vector due north
and zero pitch and roll &&
. a translation from an initial position
Change-Id: I8764b8c0b9a2518632f75c7a19c203836dd04b1a
Remove @hide, and add parameter for specifying profile owner. The PO
has to live in the same package as the device owner.
Bug: 25288732
Bug: 25860170
Change-Id: I40e8984a71ee9d1ff74e57d4e79e298deef9bc35