Svetoslav Ganov
eeeebd346a
Only sync adapters with access can see an account - framework am: 5cb2973495
...
am: 721402e75a
Change-Id: I361b009afa6c6e658157e6e04bf88096e8331fd0
2016-08-24 02:08:19 +00:00
Svetoslav Ganov
721402e75a
Only sync adapters with access can see an account - framework
...
am: 5cb2973495
Change-Id: I615f02c04578fa23f182a3591419139071114aef
2016-08-23 23:35:13 +00:00
Svetoslav Ganov
5cb2973495
Only sync adapters with access can see an account - framework
...
It was possible for a sync adapter without accounts access to
see the account which it is supposed to sync which can be used to
identify the user. This change ensures that only sync adapters
with account access can run (which results in seeing the account),
otherwise we involve the user to approve access only to this account.
A sync adapter can access an account if one of these is true:
- it is signed as the authenticator for this account
- has the GET_ACCOUNTS permission
- has an auth token for the account
- it is a preinstalled app (system or privileged)
The main thing we need to figure out is if the extra prompts
for giving access to a sync adapter to the account create too
much friction.
bug:28163381
Change-Id: Ie083bb681b5a2aed81ca5f6a062193a175fad77e
2016-08-23 21:43:27 +00:00
Ned Burns
312a7289dc
DO NOT MERGE Cherry-Pick: Add ViewConfiguration.getScaledScrollFactor()
...
am: a5b41c88ec
Change-Id: I89907ec2fa66229a77f959d8b3459211a4cd0da0
2016-08-23 18:16:55 +00:00
Adrian Roos
7dd485d858
AppErrors: Don't suppress dialogs when ANR_SHOW_BACKGROUND is set am: 6a7e08920c
...
am: 5a461b65d0
Change-Id: I2915c6ee2408dbe5942e77d26acdf47e478ee8c0
2016-08-23 18:03:34 +00:00
Ned Burns
b8e74df82d
Merge "DO NOT MERGE Cherry-Pick: Add ViewConfiguration.getScaledScrollFactor()" into cw-f-dev
2016-08-23 17:52:58 +00:00
Todd Kennedy
8860c34b32
No need to check package name am: afb5269ad6
...
am: b9de7e33a3
Change-Id: If2b7a9bdf2a3cb5ae05049916596087606e8a01b
2016-08-23 16:56:16 +00:00
Fyodor Kupolov
bcc3c019d3
Added getDataPreloadsMediaDirectory am: 19551a8d8d am: c98c7e9da1
...
am: ca1a630ccf
Change-Id: I43f40049cc3fd8ae8cd6a9f7219047a260b4032e
2016-08-23 16:54:29 +00:00
Adrian Roos
5a461b65d0
AppErrors: Don't suppress dialogs when ANR_SHOW_BACKGROUND is set
...
am: 6a7e08920c
Change-Id: I0a3713010a0c6e487257995bd34165348f5fc2a4
2016-08-23 16:52:23 +00:00
Jorim Jaggi
e4af99d6b7
Change retail mode wallpaper (1/2) am: 6c902d0453 am: 9d0879c6ac
...
am: 3d19454ec9
Change-Id: Ibd859202fd2db910170e8bda6f8c947cd05486f7
2016-08-23 16:43:54 +00:00
Adam Powell
7cc5539a03
Only dispatch window visibility aggregation for targetSdk >= N am: 64e1ba4398 am: 02abbe8d4c
...
am: ca3a267478
Change-Id: I906793dda8f825882b562ab39822274cb5a0a1c7
2016-08-23 16:39:52 +00:00
TreeHugger Robot
374f9a690b
Merge "AppErrors: Don't suppress dialogs when ANR_SHOW_BACKGROUND is set" into nyc-mr1-dev
2016-08-23 16:39:45 +00:00
Todd Kennedy
b9de7e33a3
No need to check package name
...
am: afb5269ad6
Change-Id: Ic3f3eebbb40ef5ae55e0c62003550473d23a3eb2
2016-08-23 15:37:26 +00:00
Fyodor Kupolov
ca1a630ccf
Added getDataPreloadsMediaDirectory am: 19551a8d8d
...
am: c98c7e9da1
Change-Id: Ibde055a6d442b74e17bc07991e8ea6bd2497fe6b
2016-08-23 15:36:19 +00:00
Jorim Jaggi
3d19454ec9
Change retail mode wallpaper (1/2) am: 6c902d0453
...
am: 9d0879c6ac
Change-Id: I639e21420319261126227da7296e876a07976dc1
2016-08-23 15:34:06 +00:00
Adam Powell
ca3a267478
Only dispatch window visibility aggregation for targetSdk >= N am: 64e1ba4398
...
am: 02abbe8d4c
Change-Id: I66f8610e52f2aaf06b02fa8d369692fc2f89ee17
2016-08-23 15:33:49 +00:00
Teng-Hui Zhu
0b1ef056cc
Correctly report the transparent region am: f8da30dc65
...
am: 94a2f7e6fd
Change-Id: Ice979b549a74f1e8e59210f2b7c7e5a6f141b9f6
2016-08-23 15:15:06 +00:00
Tenghui Zhu
174c92aa52
Merge "Update the javaDoc for VectorDrawable and AnimatedVectorDrawable" into nyc-mr1-dev am: 5cb0c13f76
...
am: d4f839c477
Change-Id: Iba7c42c3284b1b4b8c3df90c82ce24723d3dfba3
2016-08-23 15:03:39 +00:00
Teng-Hui Zhu
94a2f7e6fd
Correctly report the transparent region
...
am: f8da30dc65
Change-Id: I2fa623c2893a6cea96843f78d46fe753913b6f4d
2016-08-23 14:45:55 +00:00
Robert Carr
d4f839c477
PopupWindow: Be more consistent about Gravity calculation.
...
am: 798fb79866
Change-Id: Ia7c49dbe2fbe751565d6c8be46586a66c535a148
2016-08-23 14:43:21 +00:00
Sailesh Nepal
2cff2417cd
resolve merge conflicts of ad31603 to cw-f-dev
...
am: bbfb97461d
Change-Id: I8c497533297df55ef4aac85ca2d0d981a057b9d4
2016-08-23 14:15:31 +00:00
Sailesh Nepal
bbfb97461d
resolve merge conflicts of ad31603 to cw-f-dev
...
Change-Id: I970fe17c234f9b99142980f685c3c4efee4767fc
2016-08-23 07:04:30 -07:00
Adrian Roos
6a7e08920c
AppErrors: Don't suppress dialogs when ANR_SHOW_BACKGROUND is set
...
Change-Id: Ie6013013ff4e23e51e471e97d15e113cc759657e
Fixes: 30929056
2016-08-23 14:26:47 +02:00
TreeHugger Robot
40db730b7f
Merge "No need to check package name" into nyc-mr1-dev
2016-08-23 00:45:15 +00:00
Fyodor Kupolov
c98c7e9da1
Added getDataPreloadsMediaDirectory
...
am: 19551a8d8d
Change-Id: Ic8ee2d35b2bca11807a7a54aee371df092b3b19c
2016-08-23 00:25:28 +00:00
Jorim Jaggi
9d0879c6ac
Change retail mode wallpaper (1/2)
...
am: 6c902d0453
Change-Id: I1ca69b6cc7450d7f7056e69e3cf7fab1ad2df624
2016-08-23 00:17:20 +00:00
Adam Powell
02abbe8d4c
Only dispatch window visibility aggregation for targetSdk >= N
...
am: 64e1ba4398
Change-Id: Id2d00bc0ae66cdfca11e34b8f1465e4ce19243dc
2016-08-23 00:17:14 +00:00
Todd Kennedy
afb5269ad6
No need to check package name
...
Change-Id: I8c403ca2bc38f2c7191b6e9a709286ac7e450ac4
Fixes: 30958291
2016-08-22 15:47:22 -07:00
Fyodor Kupolov
19551a8d8d
Added getDataPreloadsMediaDirectory
...
Bug: 31015966
Change-Id: I8b4117daae2b1f7a59d6a192b34a105f91cbac55
2016-08-22 21:59:01 +00:00
Tenghui Zhu
f05765e3c4
Merge "Correctly report the transparent region" into nyc-mr1-dev
2016-08-22 21:56:37 +00:00
Rob Carr
b19915bea8
Merge "PopupWindow: Be more consistent about Gravity calculation." into nyc-mr1-dev
2016-08-22 20:47:10 +00:00
Adam Powell
64e1ba4398
Only dispatch window visibility aggregation for targetSdk >= N
...
Some existing apps treat drawable visibility notifications as a signal
to crossfade from a placeholder to the new image for the purposes of
scrolling onscreen via a recycling collection view or similar. Since
dispatchVisibilityAggregated is now called for window visibility
changes and ImageView informs its drawable of the visiblity change,
the extra call triggers a repeat fade-in in some existing apps when
you return them to visibility.
These apps should pay attention to the second parameter of
Drawable#setVisible, which signals that animations should not restart
in response to a visibility change. Updating to targetSdkVersion=24+
will enable the new behavior.
Bug 30216207
Change-Id: I27ce9f09bc7544863f7f7980c273650949db21cc
2016-08-22 17:47:09 +00:00
Sailesh Nepal
5647c93e9e
Merge "Add carrier regex config values for VisualVoicemailSmsFilter" into nyc-mr1-dev
2016-08-21 13:40:02 +00:00
George Mount
c9373e5505
DO NOT MERGE ANYWHERE:Fix NPE during Activity transition using wrong Activity.
...
Bug 30786309
If the Activity used in makeSceneTransitionAnimation isn't
the same one used in the startActivity call, a NullPointerException
could be thrown.
Change-Id: Id21c54fcf99b353feab62f7fc160997ed06e7d23
(cherry picked from commit 3289bfa289 )
(cherry picked from commit a3edbf6a5d )
2016-08-20 22:37:45 +00:00
Phil Weaver
31f764496f
Dispatch a11y events in separate thread. am: c34649411d
...
am: d4847f282d
Change-Id: I0e55dfc4563418ebe30a690fa2348a8093187fde
2016-08-19 23:08:51 +00:00
Phil Weaver
d4847f282d
Dispatch a11y events in separate thread.
...
am: c34649411d
Change-Id: Ie19da4e16b9bc78574545bbba1d44f28ef065b3d
2016-08-19 22:46:13 +00:00
Jorim Jaggi
6c902d0453
Change retail mode wallpaper (1/2)
...
Change-Id: I7ce5711e57bc39edf10fc7151f26168c6183d71e
Fixes: 30830249
2016-08-19 21:44:48 +00:00
Ta-wei Yen
ad31603b80
Add carrier regex config values for VisualVoicemailSmsFilter
...
Verizon requires all SMS that starts with "//VZWVVM" to be treated
as a VVM SMS.
EXTRA_VOICEMAIL_SMS_MESSAGE_BODY is also added to VociemailContract
to send the message body of a SMS that matches the carrier regex but
is not parsable.
Bug: 30954955
Change-Id: Ib5449164a5290b132648cc28b1e1d3d9ddd5fea0
2016-08-19 11:43:15 -07:00
Ned Burns
a5b41c88ec
DO NOT MERGE Cherry-Pick: Add ViewConfiguration.getScaledScrollFactor()
...
This value is used to convert ACTION_SCROLL axis values into raw
pixel distances.
CP of ag/1333603 from master to feldspar-dev. New method is @hide and
@SystemApi in this version. In master, it's part of the new public
API, but feldspar will launch before O.
Change-Id: I5ee73ebcd183c43939ae8aa157e88489e05d4760
2016-08-19 13:19:20 -04:00
Phil Weaver
c34649411d
Dispatch a11y events in separate thread.
...
Moves the IPCs into a separate thread, where they should affect
jank a lot less.
Bug: 30183085
Change-Id: Ib76159d158e7a867e76cdd5c8ea3a318949fcc5b
2016-08-19 09:22:10 -07:00
Narayan Kamath
99f960f7da
Process: Fix communication with zygote.
...
am: 448be0a622
Change-Id: I530a1f04545a796d22ca59141aa8fe3de349388c
2016-08-18 23:08:49 +00:00
George Mount
05051ef82b
Fix NPE during Activity transition using wrong Activity. am: a3edbf6a5d
...
am: 34abaebd3b
Change-Id: Ia21fab56d6ca3767d270e5336334dfb1e066bf5f
2016-08-18 22:37:21 +00:00
George Mount
34abaebd3b
Fix NPE during Activity transition using wrong Activity.
...
am: a3edbf6a5d
Change-Id: Ie6ca8f9f9f251eaf844f842e0f6f0ab36a975c1e
2016-08-18 22:32:08 +00:00
George Mount
a3edbf6a5d
Fix NPE during Activity transition using wrong Activity.
...
Bug 30786309
If the Activity used in makeSceneTransitionAnimation isn't
the same one used in the startActivity call, a NullPointerException
could be thrown.
Change-Id: Id21c54fcf99b353feab62f7fc160997ed06e7d23
(cherry picked from commit 3289bfa289 )
2016-08-18 17:15:43 +00:00
Narayan Kamath
156720056b
Process: Fix communication with zygote. am: 448be0a622
...
am: 6bc7670c67
Change-Id: I37ea2a3324277340fce69fcc6a5101bee0637dca
2016-08-18 10:25:53 +00:00
Narayan Kamath
b9871c0dd3
Process: Fix communication with zygote. am: 448be0a622
...
am: ac16712d8a
Change-Id: Ief10a90dc77fa8e5cd562a39a6ddbad059353fdf
2016-08-18 10:25:51 +00:00
Narayan Kamath
6bc7670c67
Process: Fix communication with zygote.
...
am: 448be0a622
Change-Id: Iabb68084827f798f25ebe870957074d152acaea4
2016-08-18 10:19:58 +00:00
Narayan Kamath
ac16712d8a
Process: Fix communication with zygote.
...
am: 448be0a622
Change-Id: I5d496613f53c339c75a3293845670d9d8360c90f
2016-08-18 10:19:57 +00:00
Alan Viverette
122fca86b3
Announce the date for accessibility using EMMMMdy format am: a770530e12
...
am: d239411420
Change-Id: I6c2323d6e17a6497bcab0161d745586feb96076c
2016-08-17 20:23:59 +00:00
Alan Viverette
d239411420
Announce the date for accessibility using EMMMMdy format
...
am: a770530e12
Change-Id: Ibe201d5ad5d65348578f6d0153b6cbb6e7bfa0d9
2016-08-17 20:20:25 +00:00