Dianne Hackborn
8888aedc1f
Fix issue #32125907 : Intent.replaceUnsafeExtras() corrupts original bundle am: 851ec49de7 am: 9774ea3646
...
am: 50468217c4
Change-Id: I949e6337546835a0673b85ee6e2ad67fb0a0fec4
2016-10-13 20:44:47 +00:00
Dianne Hackborn
50468217c4
Fix issue #32125907 : Intent.replaceUnsafeExtras() corrupts original bundle am: 851ec49de7
...
am: 9774ea3646
Change-Id: I7e27381f7fa4ca8770ca06cdc6c0bdd18a549ae2
2016-10-13 20:38:04 +00:00
Dianne Hackborn
851ec49de7
Fix issue #32125907 : Intent.replaceUnsafeExtras() corrupts original bundle
...
We now recursively generate new Bundle objects if we need to
do any stripping.
Change-Id: I4ca7896a0771c25264591ae7c79df85816d630d4
2016-10-12 18:17:58 -07:00
Chet Haase
5cde9305e4
Fix small typo in ShortcutManager header docs am: c158431f8e am: 5aa0dfcc0a
...
am: 3267a2462d
Change-Id: I9417c0a15bbc2125dd0c370bc09b2315706005f1
2016-10-12 00:43:30 +00:00
Chet Haase
3267a2462d
Fix small typo in ShortcutManager header docs am: c158431f8e
...
am: 5aa0dfcc0a
Change-Id: Ia3a1a14cf561e6846245fa8265e96e954d8a185d
2016-10-12 00:31:31 +00:00
Chet Haase
c158431f8e
Fix small typo in ShortcutManager header docs
...
Bug: 32093275 fix typo in ShortcutManager javadocs
Test: no test, just words in the header docs
Change-Id: Icd33481a7f285686429d908cf92de0f6f886f962
2016-10-11 21:48:55 +00:00
John Reck
32995223a8
Convert utils fastjni -> @FastNative
...
Test: builds & boots, refactor no behavior change
Change-Id: Ieb569a70fd05b88a8d2bd7b285099c1fc1888a75
2016-10-10 07:59:25 -07:00
Nicolas Prévot
4fc56e2c10
Merge "Don't allow the shell to change admin-locked app permissions."
2016-10-06 13:36:11 +00:00
Robin Lee
f1ac71dbe2
Merge "Redact work notifications separately from personal"
2016-10-05 14:59:31 +00:00
Nicolas Prevot
700e1e7ee8
Don't allow the shell to change admin-locked app permissions.
...
BUG:27432532
Change-Id: I67f8794ea923edb5024033bb2a4474a1fb6d5fd9
2016-10-03 16:17:04 +01:00
Kevin Hufnagle
9c3cbe634c
docs: Added note in getCacheDir() that developers can use directory obtained from getExternalCacheDir() to store app caches larger than 1 MB. am: e9681e192a am: ba65a92855
...
am: cf7a2e1efd
Change-Id: Ica7b4c4a6544a4b7f71ddb26dbc979b11abab81c
2016-09-27 06:50:25 +00:00
Kevin Hufnagle
e49b2ac9ee
docs: Removed all instances of "i.e." in IntentFilter parameter descriptions. am: e20b3d78e3 am: e0360165d3
...
am: ffafee82cd
Change-Id: I5a367c279f88f6046df67fd19312067984bb1edc
2016-09-27 06:46:02 +00:00
Kevin Hufnagle
5b4664b2de
docs: Fixed example of ACTION_VIEW intent am: aedfd75b1b am: 108623004f
...
am: 978be65ce7
Change-Id: Ib487f0b406faf94d32a67444a4068840301f03bd
2016-09-27 01:18:42 +00:00
Kevin Hufnagle
9dc7f07f26
docs: Adjusted return value desc. for getApplicationEnabledSetting am: 5add769f59 am: 1fb3dec4be
...
am: 5ca3c61069
Change-Id: I4bc998a8b1848068d030b3c826189836de3c7375
2016-09-27 01:04:33 +00:00
Kevin Hufnagle
cf7a2e1efd
docs: Added note in getCacheDir() that developers can use directory obtained from getExternalCacheDir() to store app caches larger than 1 MB. am: e9681e192a
...
am: ba65a92855
Change-Id: Ia3fc2e6cfc85269a04a721d7c6fe14e04555a121
2016-09-27 00:03:58 +00:00
Kevin Hufnagle
e83639f66a
docs: Added note in getCacheDir() that developers can use directory obtained from getExternalCacheDir() to store app caches larger than 1 MB. am: e9681e192a
...
am: 2e8026acc0
Change-Id: I93a1abe6b80a441f8c441390dacbff2824d52e57
2016-09-27 00:02:44 +00:00
Kevin Hufnagle
ffafee82cd
docs: Removed all instances of "i.e." in IntentFilter parameter descriptions. am: e20b3d78e3
...
am: e0360165d3
Change-Id: I02e413c1dbf2cfe684a0b73aafd7075b4db4c090
2016-09-27 00:02:16 +00:00
Kevin Hufnagle
abfc0340d7
docs: Removed all instances of "i.e." in IntentFilter parameter descriptions. am: e20b3d78e3
...
am: 9402b319fe
Change-Id: Id7d4b705073802abcb2d902b50673a09933ff3da
2016-09-27 00:01:00 +00:00
Kevin Hufnagle
2e8026acc0
docs: Added note in getCacheDir() that developers can use directory obtained from getExternalCacheDir() to store app caches larger than 1 MB.
...
am: e9681e192a
Change-Id: Ide8f3c2dd5414737c798c20c1fe9f11dcd9640ce
2016-09-26 23:36:25 +00:00
Kevin Hufnagle
ba65a92855
docs: Added note in getCacheDir() that developers can use directory obtained from getExternalCacheDir() to store app caches larger than 1 MB.
...
am: e9681e192a
Change-Id: I4d84c62b039746cd70c74a0bc9edbffc6df3a44c
2016-09-26 23:35:11 +00:00
Kevin Hufnagle
9402b319fe
docs: Removed all instances of "i.e." in IntentFilter parameter descriptions.
...
am: e20b3d78e3
Change-Id: I8d677ebcf03c28f46874514408240162cd6331c5
2016-09-26 23:34:58 +00:00
Kevin Hufnagle
e0360165d3
docs: Removed all instances of "i.e." in IntentFilter parameter descriptions.
...
am: e20b3d78e3
Change-Id: I37821ca96243491cf642a58475dd96e5e7b52962
2016-09-26 23:33:43 +00:00
Kevin Hufnagle
978be65ce7
docs: Fixed example of ACTION_VIEW intent am: aedfd75b1b
...
am: 108623004f
Change-Id: I7efbc417f5cd7ebfa8a6e19d110a742a22bdd465
2016-09-26 23:17:11 +00:00
Kevin Hufnagle
ee3fc61cf9
docs: Fixed example of ACTION_VIEW intent am: aedfd75b1b
...
am: 2c885fc5ea
Change-Id: I1d94ee6938726736d6cbccafea848dd6f3d6a350
2016-09-26 23:16:02 +00:00
Kevin Hufnagle
2c885fc5ea
docs: Fixed example of ACTION_VIEW intent
...
am: aedfd75b1b
Change-Id: Iaaaa1cb0f6d796ad5c5c178c70850fd83e635013
2016-09-26 23:00:51 +00:00
Kevin Hufnagle
bec2e99f95
docs: Adjusted return value desc. for getApplicationEnabledSetting am: 5add769f59
...
am: d23fc43965
Change-Id: I27847f0935c047e74ab986c501fce160679a80d7
2016-09-26 23:00:16 +00:00
Kevin Hufnagle
108623004f
docs: Fixed example of ACTION_VIEW intent
...
am: aedfd75b1b
Change-Id: I2ac1bd94b7cacc2b1aaed6caf2f7044db5a892c6
2016-09-26 22:59:37 +00:00
Kevin Hufnagle
5ca3c61069
docs: Adjusted return value desc. for getApplicationEnabledSetting am: 5add769f59
...
am: 1fb3dec4be
Change-Id: I0137a54c007b590891486fbb5a4c167b2fd52961
2016-09-26 22:56:36 +00:00
Kevin Hufnagle
d23fc43965
docs: Adjusted return value desc. for getApplicationEnabledSetting
...
am: 5add769f59
Change-Id: Ic0566aa6e2764a9d0db58c6f66ad028229a8fdca
2016-09-26 22:52:54 +00:00
Kevin Hufnagle
1fb3dec4be
docs: Adjusted return value desc. for getApplicationEnabledSetting
...
am: 5add769f59
Change-Id: Ibffca6373a01e74bc25a4f44afbc7c4463810124
2016-09-26 22:46:08 +00:00
Kevin Hufnagle
e9681e192a
docs: Added note in getCacheDir() that developers can use directory
...
obtained from getExternalCacheDir() to store app caches larger than
1 MB.
Bug: 22505268
Change-Id: I9972ba5ef7b43a135c00ac48a2e5ccb1fcc5b103
2016-09-23 16:44:03 -07:00
Kevin Hufnagle
e20b3d78e3
docs: Removed all instances of "i.e." in IntentFilter parameter
...
descriptions.
Bug: 5877117
Change-Id: Iccb16589a72d3180330f13ec224578a0c5ad81c6
2016-09-22 18:33:57 -07:00
Svet Ganov
973edd19db
Don't show account access request UI until app launched.
...
Sync adapters that don't have account access cannot run until
the user explicitly approves in the UI. This is spammy given
the user may not use the app right away. This change doesn't
show the notificaiton until the app has run.
bug:31162498
Change-Id: I1f4f2d2e9426f78763590e8aa542b94d6e93e488
2016-09-21 13:55:02 +00:00
TreeHugger Robot
2a9b220608
Merge "While-list apps to access account if already saw it"
2016-09-21 07:03:05 +00:00
Svet Ganov
f6d424f133
While-list apps to access account if already saw it
...
Sync adapters without an account access cannot run until the
user approves the account access (for the case the account
access is not allowed by other policy such as being singed
with the same cert as the authenticator). However, if the
sync adapter package already got the account from another
app which means it already saw the account we white-list
the sync adapter app to access the account as it already
saw it - the bird is out of the cage.
bug:31162498
Change-Id: I2b72f3b0d6307561ed68db2f2e9c900b15e8d098
2016-09-20 22:21:07 -07:00
Svetoslav Ganov
8b6456bc88
Merge "Move device serial behing a permission"
2016-09-21 03:32:47 +00:00
Andrii Kulian
b10330d519
Use Configuration#unset() instead of #setToDefaults() for clearing
...
Now Configuration.EMPTY has fontScale set to 0 instead of default 1.
To get config equal to empty unset() method should be used.
Because of incorrect usage of setToDefaults() there was a black flash
when exiting split-screen because override config was no completely
empty. Fixing that also allows us to simplify things a bit when checking
if override config changed.
Bug: 31533188
Test: manual - long-press overview to enter split-screen, repeat to exit.
Change-Id: I6bf7994ff88ebb42db2e2357b762857710432a58
2016-09-19 11:34:22 -07:00
TreeHugger Robot
944b003747
Merge "Support for specifying orientation in WindowContainer"
2016-09-14 21:21:21 +00:00
liulvping
83a219be68
Merge "fix NullPointerException in RegisteredServicesCache" am: 4b1a8f46d6 am: 506bf0741a am: 5f4f8d2441
...
am: 9eadea585c
Change-Id: I928d9cccf7c99f36540dcde1cf31c4e35b3d79ff
2016-09-14 20:11:40 +00:00
Wale Ogunwale
5136249a71
Support for specifying orientation in WindowContainer
...
Also,
- Fixed failing tests when they are ran as a package vs.
individual classes due to multiple window manager instance.
- Correct some isVisible logic to so a window container that
is invisible is not said to be visible, because one of its
children is visible.
Bug: 30060889
Change-Id: I1bb8730361be2a9f5ce88cd59b7d57d5a459bde6
2016-09-14 08:43:12 -07:00
Todd Kennedy
f3a88c353d
Add filter ordering am: c2e96d45d2 am: cdda4eed12
...
am: 792cac6fd6
Change-Id: I94c998b9b32c4e6d3e7162cda4ff8bc7723dd2d9
2016-09-13 23:26:22 +00:00
liulvping
9eadea585c
Merge "fix NullPointerException in RegisteredServicesCache" am: 4b1a8f46d6 am: 506bf0741a
...
am: 5f4f8d2441
Change-Id: Iedcf57ee7856fb9abac459230e686a351370543d
2016-09-13 21:15:51 +00:00
liulvping
5f4f8d2441
Merge "fix NullPointerException in RegisteredServicesCache" am: 4b1a8f46d6
...
am: 506bf0741a
Change-Id: I0ec538fc78a512441517d1205ac3d34232ce992e
2016-09-13 21:10:22 +00:00
Svet Ganov
37e43275ee
Move device serial behing a permission
...
Build serial is non-user resettable freely available deivice
identifier. It can be used by ad-netowrks to track the user
across apps which violates the user's privacy.
This change deprecates Build.SERIAL and adds a new Build.getSerial()
API which requires holding the read_phone_state permission.
The Build.SERIAL value is set to "undefined" for apps targeting
high enough SDK and for legacy app the value is still available.
bug:31402365
Change-Id: Iddd13430b2bd1d9ab4966e31038ecabdbdcec06d
2016-09-11 18:44:38 +00:00
Svet Ganov
c78be8772a
[DO NOT MERGE] Don't show account access request UI until app launched. am: d63cde7ba4
...
am: 99d29ddf42
Change-Id: I1e6977d2478bf695d9840a72cba6e0e1b600b1e6
2016-09-10 01:01:50 +00:00
Svet Ganov
99d29ddf42
[DO NOT MERGE] Don't show account access request UI until app launched.
...
am: d63cde7ba4
Change-Id: I06a6b98c9c4a1cd67ed155d42cf4fe5149015675
2016-09-10 00:54:43 +00:00
Svetoslav Ganov
32ce3c8797
Merge "[DO NOT MERGE] Don't show account access request UI until app launched." into nyc-mr1-dev
2016-09-10 00:36:21 +00:00
Svet Ganov
d63cde7ba4
[DO NOT MERGE] Don't show account access request UI until app launched.
...
Sync adapters that don't have account access cannot run until
the user explicitly approves in the UI. This is spammy given
the user may not use the app right away. This change doesn't
show the notificaiton until the app has run.
bug:31162498
Change-Id: I1f4f2d2e9426f78763590e8aa542b94d6e93e488
2016-09-09 15:13:07 -07:00
Todd Kennedy
792cac6fd6
Add filter ordering am: c2e96d45d2
...
am: cdda4eed12
Change-Id: I6c4782393a5f694cba8238a05e60939169bd464f
2016-09-09 20:08:58 +00:00
Todd Kennedy
cdda4eed12
Add filter ordering
...
am: c2e96d45d2
Change-Id: I9bc8994293a45684238c7d1377d30ef8c049ce81
2016-09-09 20:04:30 +00:00