When FLAG_WILL_BE_FOREGROUND is set on a job (such as a download), we
need to treat the job as if it had a foreground service running so
it can continue making forward progress. We already ignore the device
idle state when offering to start the job, so this just avoids the
hiccup of stopping the job only to restart it a minute later.
Bug: 26571724
Change-Id: I348903dd3a7dd7104b0c1bf4310e2a48655d2588
Previously, wrong valueType error is swallowed in jni. As a result,
some animations are quietly skipped without letting developers know.
This CL maintains that behavior for pre-N, and throws Exception
to notify developers of the error for N and above.
Bug: 29009391
Change-Id: I3e8f003cdb97d214da72af3f93a84f64797b1c2c
am: 71a7976e35
* commit '71a7976e35ceec565c62e969ba055772919b32ef':
QS: Protect against crash with no icon
Change-Id: Ia0d657c1935662f880604be702ce5858522e41b2
am: 8f79bc6c77
* commit '8f79bc6c7799e2edf3bc13cb82c0972ceeb5edab':
Add an intent extra to force master clear
Change-Id: I4af0022ec5834d2669321d5c9c76956539c8ead7
am: d97994962d
* commit 'd97994962d0d5e691d4f1df51623685c2af1341a':
trim and strip html tags for load safe label name
Change-Id: I569bea23e9b867fa84c456accb7d24fd03853970
When ejecting a storage device, the system process needs to rapidly
release any open FDs to prevent itself from being killed by vold.
This change examines all ResourceImpls cached inside the system
process and evicts any that reference the storage device being
ejected. (ResourcesManager will gladly recreate any evicted entries
when asked again in the future.)
Also replace broken use of WeakHashMap, since we want the values to
be weak references, not the keys.
Bug: 28867548
Change-Id: Ib9cfc66497149b6d3f8d49213e9779408a331d2a
am: 6df8a9a89f
* commit '6df8a9a89fc87649595926592bf895768c861b68':
Only call finish on operations that have started.
Change-Id: I59f9c9a74cf2beba8f14906820b65ae8d22ed8ce
refactor status bar transition mode computation
logic into separate method.
Bug: 28942131
Change-Id: I5f46b6964ab431f009afcb9caf41e69e345090dd
(cherry picked from commit d8c64f23ea7020f9043a8e462b0903131560a875)
Negative values of the field CONFIGURATION_STATE, DATA_CHANNEL_STATE,
NOTIFICATION_CHANNEL_STATE is reserved to voicemail source for its'
specific errors. SOURCE_TYPE can be set to help interpret the error
codes.
Typically the OMTP visual voicemail source will set SOURCE_TYPE to the
same value of visual voicemail type set with
CarrierConfigManager.KEY_VVM_TYPE_STRING, such as "vvm_type_omtp".
For example, the OMTP visual voicemail source could set
CONFIGURAITON_STATE to -5 and SOURCE_TYPE to "vvm_type_foo", and the
client can find -5 for "vvm_type_foo" means "PIN is not set by the user"
+ Field SOURCE_TYPE
+ Docs to specify negative values are reserved for the source
- Removed hidden helper method SetStatus() and SetQuota(). The 'ignore'
value is conflicting with reserved values.
Bug:26944391
Change-Id: I0930f684dadd25ae94e3ea68a7658c7ae423e3e3
am: 65f1973ba9
* commit '65f1973ba9f91c6727a7131b31b6c563cd880ee0':
Do not sanitize override config for fullscreen
Change-Id: I65d2c03274f8b78d9a041ff1306f33ee88b9942b
RemoteInputView failed to notice updates where the
reapply failed, causing it to reopen upon success.
Change-Id: I4fdd4d3240da6e38878d281fbf8c654ee9a682c3
Fixes: 29057180
am: 42621023cf
* commit '42621023cfac084b8c74fd4d362bc2c64d61674e':
Fixes a few bugs on the keyguard with font density changes
Change-Id: Ia5ab8a7269eb3bfcb88bdfc98926bdbd0bff0af8
am: be718d8836
* commit 'be718d8836e85b8bff0de83e4fefbd92675c0855':
Revert "Merge "Add 900 for Russia - Short code used by Sberbank.""
Change-Id: Ie1371d5dd1458038a2a2a93bba7c2e45f1d671ea
am: ce82f1c16a
* commit 'ce82f1c16a4c10e003a11020fcb3c232010c40c6':
Revert "Merge "Add 900 for Russia - Short code used by Sberbank.""
Change-Id: Id0b350da8369340a4ac538358481577b22bc73d3
When updating a notification we were not checking if it is the summary
with children, but about the existence of the childrencontainer, which
can change and is never removed. This is now done correctly.
Change-Id: Ie3838613f414d7fcb158dc92c24e8939cfb7c2ea
Fixes: 29055879
am: 56bd06fc3e
* commit '56bd06fc3e29290ba90b792a7f7353864cbf772a':
Revert "Merge "Add 900 for Russia - Short code used by Sberbank.""
Change-Id: I0450be79c583cd2fc27156460b32b23830fc3c68