Lorenzo Colitti
00c8a9d60a
am 5bbbf8ed: am 3b03916d: am c7a86e90: am c70348c1: am 496a9d26: Merge "Stop supporting legacy ConnectivityManager routing methods in M." into mnc-dev
...
* commit '5bbbf8edfd74389f9b38d3497d6d86afb543b8f2':
Stop supporting legacy ConnectivityManager routing methods in M.
2015-07-31 05:49:08 +00:00
Lorenzo Colitti
5bbbf8edfd
am 3b03916d: am c7a86e90: am c70348c1: am 496a9d26: Merge "Stop supporting legacy ConnectivityManager routing methods in M." into mnc-dev
...
* commit '3b03916de7d1d2c91d5d8c9d1f0f555814a9242f':
Stop supporting legacy ConnectivityManager routing methods in M.
2015-07-31 05:43:26 +00:00
Lorenzo Colitti
c7a86e90ea
am c70348c1: am 496a9d26: Merge "Stop supporting legacy ConnectivityManager routing methods in M." into mnc-dev
...
* commit 'c70348c194a26176ac54720fe4eabeeb7e4d9993':
Stop supporting legacy ConnectivityManager routing methods in M.
2015-07-31 05:31:04 +00:00
Lorenzo Colitti
c70348c194
am 496a9d26: Merge "Stop supporting legacy ConnectivityManager routing methods in M." into mnc-dev
...
* commit '496a9d269b0778ffa1965f3b11d768fe70fd7719':
Stop supporting legacy ConnectivityManager routing methods in M.
2015-07-31 05:24:49 +00:00
Lorenzo Colitti
496a9d269b
Merge "Stop supporting legacy ConnectivityManager routing methods in M." into mnc-dev
2015-07-31 05:17:08 +00:00
Dave Langemak
1b748f77d3
am 66cff122: am 2e802cac: am 72dcb47d: am b880a036: am 02565c36: Merge changes from topic \'fix-notification-inflation-2\' into mnc-dev
...
* commit '66cff122cc6d123b947be5f28186dc233a7be1aa':
Make DateTimeView more robust to weird contexts.
Make the RemoteViews context safe for Icons.
2015-07-31 03:23:50 +00:00
Dave Langemak
66cff122cc
am 2e802cac: am 72dcb47d: am b880a036: am 02565c36: Merge changes from topic \'fix-notification-inflation-2\' into mnc-dev
...
* commit '2e802cac1dc036e62d6744d07d0cad56eb37052a':
Make DateTimeView more robust to weird contexts.
Make the RemoteViews context safe for Icons.
2015-07-31 03:18:01 +00:00
Dave Langemak
72dcb47d94
am b880a036: am 02565c36: Merge changes from topic \'fix-notification-inflation-2\' into mnc-dev
...
* commit 'b880a036b12c8a8613fbd7fb41328ca93146bf85':
Make DateTimeView more robust to weird contexts.
Make the RemoteViews context safe for Icons.
2015-07-31 03:04:26 +00:00
Dave Langemak
b880a036b1
am 02565c36: Merge changes from topic \'fix-notification-inflation-2\' into mnc-dev
...
* commit '02565c3622aa9007d3d5eb4612f200decd05b55c':
Make DateTimeView more robust to weird contexts.
Make the RemoteViews context safe for Icons.
2015-07-31 02:57:24 +00:00
Dave Langemak
02565c3622
Merge changes from topic 'fix-notification-inflation-2' into mnc-dev
...
* changes:
Make DateTimeView more robust to weird contexts.
Make the RemoteViews context safe for Icons.
2015-07-31 02:52:30 +00:00
Dan Sandler
4b67713709
Make DateTimeView more robust to weird contexts.
...
In particular, some clients (*ahem* SystemUI) have been
known to inflate RemoteViews with unusual derived contexts
that may not have valid application contexts. DateTimeView
can now resist this.
Bug: 22852700
Change-Id: I5e91ae0e66859f5f5efd7b19c0ae6dfbc26bcc54
2015-07-30 22:33:12 -04:00
Dan Sandler
706274f7ff
Make the RemoteViews context safe for Icons.
...
Icon needs the RemoteViews' internal context to reflect not
just the Resources of the originating application, but its
package name as well.
Bug: 22840771
Bug: 22852700
Change-Id: I1164cd38d99283982b00daadcf927c7cf63539b3
2015-07-30 22:32:54 -04:00
Lorenzo Colitti
ffc42b0b7b
Stop supporting legacy ConnectivityManager routing methods in M.
...
The methods startUsingNetworkFeature, stopUsingNetworkFeature and
requestRouteToHost were @removed in all the M preview builds, but
internal and external developers have noted that this imposes
additional burden for applications that need to work across
multiple platform versions because it causes compile-time errors.
We switched from @removed back to @deprecated to avoid these
problems. In order to effectively deprecate these methods, which
are error-prone and insecure, make them throw
UnsupportedOperationException if the app's target SDK is M or
above.
Because there are still one or two places in system code that use
these APIs, exempt Process.SYSTEM_UID and the OMA-DM client from
the check for now.
Bug: 22728205
Change-Id: I790bd32f3aa8067cbb625962a209bb9232f4b58c
2015-07-31 11:08:27 +09:00
Adam Lesinski
81b80d3ebf
am 59bd2ae1: am c8c3539d: am eec946aa: am ee6046ad: am 00f7cb92: Merge "BatteryStats: include mobile radio active count and unknown time in checkin" into mnc-dev
...
* commit '59bd2ae1af5d1236dae14f0539d48acfa08d5e80':
BatteryStats: include mobile radio active count and unknown time in checkin
2015-07-31 00:31:45 +00:00
Adam Lesinski
59bd2ae1af
am c8c3539d: am eec946aa: am ee6046ad: am 00f7cb92: Merge "BatteryStats: include mobile radio active count and unknown time in checkin" into mnc-dev
...
* commit 'c8c3539de720449d60b754aabc19bf2693eaa09b':
BatteryStats: include mobile radio active count and unknown time in checkin
2015-07-31 00:20:23 +00:00
Adam Lesinski
eec946aacd
am ee6046ad: am 00f7cb92: Merge "BatteryStats: include mobile radio active count and unknown time in checkin" into mnc-dev
...
* commit 'ee6046add136d4791e71fb17a07076b425b7250c':
BatteryStats: include mobile radio active count and unknown time in checkin
2015-07-31 00:05:22 +00:00
Adam Lesinski
ee6046add1
am 00f7cb92: Merge "BatteryStats: include mobile radio active count and unknown time in checkin" into mnc-dev
...
* commit '00f7cb924e6964c5403c55ae5e7348aad1c8ec7b':
BatteryStats: include mobile radio active count and unknown time in checkin
2015-07-30 23:58:30 +00:00
Adam Lesinski
00f7cb924e
Merge "BatteryStats: include mobile radio active count and unknown time in checkin" into mnc-dev
2015-07-30 23:50:27 +00:00
Adam Lesinski
782327bde7
BatteryStats: include mobile radio active count and unknown time in checkin
...
These are important values to help diagnose modem related wakeup issues.
Bug:22803686
Bug:22857991
Change-Id: Ie0164ebd194567bc10d1165d671a583674a39829
2015-07-30 23:50:10 +00:00
Carlos Valdivia
d4d85ed240
am 670598b8: am 880ad006: am f725a702: am e195d179: am 26ae600b: Merge "Permissions: GET_ACCOUNTS permission cleanup" into mnc-dev
...
* commit '670598b88db55106624d5bb0600daa31682d8040':
Permissions: GET_ACCOUNTS permission cleanup
2015-07-30 22:37:36 +00:00
Carlos Valdivia
670598b88d
am 880ad006: am f725a702: am e195d179: am 26ae600b: Merge "Permissions: GET_ACCOUNTS permission cleanup" into mnc-dev
...
* commit '880ad006d9142f5a59eca126d591890257f9112c':
Permissions: GET_ACCOUNTS permission cleanup
2015-07-30 22:28:36 +00:00
Carlos Valdivia
f725a702aa
am e195d179: am 26ae600b: Merge "Permissions: GET_ACCOUNTS permission cleanup" into mnc-dev
...
* commit 'e195d179490754bc9358afe8ba74ecc38aed2360':
Permissions: GET_ACCOUNTS permission cleanup
2015-07-30 22:13:08 +00:00
Carlos Valdivia
e195d17949
am 26ae600b: Merge "Permissions: GET_ACCOUNTS permission cleanup" into mnc-dev
...
* commit '26ae600b5fb8c657b4f8dc2700374c701c9e50ec':
Permissions: GET_ACCOUNTS permission cleanup
2015-07-30 22:07:31 +00:00
Carlos Valdivia
26ae600b5f
Merge "Permissions: GET_ACCOUNTS permission cleanup" into mnc-dev
2015-07-30 21:58:16 +00:00
Simranjit Kohli
637e4ab837
am 7525da02: am 99033332: am b6af87ca: am e5bf7064: am 964a4121: Merge "[Improve docs for AccountManager] Currently, the docs for AccountManager are somewhat misleading and may cause developer errors. To avoid them, we are properly documenting it." into mnc-dev
...
* commit '7525da02b86be6406922151b5fdb436b9de5c971':
[Improve docs for AccountManager] Currently, the docs for AccountManager are somewhat misleading and may cause developer errors. To avoid them, we are properly documenting it.
2015-07-30 17:50:37 +00:00
Alan Viverette
d46304cfd6
am 30a7a77f: am 38271527: am 82c14e68: am 92360585: am 559daf7a: Merge "Include non-zero dimension views in excess space calculation" into mnc-dev
...
* commit '30a7a77f7792f48ee635658b0de546c81503859d':
Include non-zero dimension views in excess space calculation
2015-07-30 17:44:42 +00:00
Simranjit Kohli
7525da02b8
am 99033332: am b6af87ca: am e5bf7064: am 964a4121: Merge "[Improve docs for AccountManager] Currently, the docs for AccountManager are somewhat misleading and may cause developer errors. To avoid them, we are properly documenting it." into mnc-dev
...
* commit '99033332222fff7084d211a90465f9ddaeeeb321':
[Improve docs for AccountManager] Currently, the docs for AccountManager are somewhat misleading and may cause developer errors. To avoid them, we are properly documenting it.
2015-07-30 17:43:02 +00:00
Alan Viverette
30a7a77f77
am 38271527: am 82c14e68: am 92360585: am 559daf7a: Merge "Include non-zero dimension views in excess space calculation" into mnc-dev
...
* commit '382715273d962f2be27bb5948a61efbf234bfaba':
Include non-zero dimension views in excess space calculation
2015-07-30 17:33:30 +00:00
Simranjit Kohli
b6af87ca90
am e5bf7064: am 964a4121: Merge "[Improve docs for AccountManager] Currently, the docs for AccountManager are somewhat misleading and may cause developer errors. To avoid them, we are properly documenting it." into mnc-dev
...
* commit 'e5bf70649499b3d3404d5df156ad38f106ce158a':
[Improve docs for AccountManager] Currently, the docs for AccountManager are somewhat misleading and may cause developer errors. To avoid them, we are properly documenting it.
2015-07-30 17:24:43 +00:00
Dan Sandler
ba36e0c2d1
am acb8f91d: am 936420a0: am 06e544f0: am a93ed128: am 7bd8e6a8: DateTimeView: don\'t assume you have an ApplicationContext.
...
* commit 'acb8f91d107c209d02f72166056b1480d8e00d68':
DateTimeView: don't assume you have an ApplicationContext.
2015-07-30 17:19:19 +00:00
Alan Viverette
82c14e6865
am 92360585: am 559daf7a: Merge "Include non-zero dimension views in excess space calculation" into mnc-dev
...
* commit '92360585abfb96736f5b55b5410425eb4ad7669c':
Include non-zero dimension views in excess space calculation
2015-07-30 17:18:44 +00:00
Simranjit Kohli
e5bf706494
am 964a4121: Merge "[Improve docs for AccountManager] Currently, the docs for AccountManager are somewhat misleading and may cause developer errors. To avoid them, we are properly documenting it." into mnc-dev
...
* commit '964a41214d19f00e8420500ccaa29e0902933c7e':
[Improve docs for AccountManager] Currently, the docs for AccountManager are somewhat misleading and may cause developer errors. To avoid them, we are properly documenting it.
2015-07-30 17:17:49 +00:00
Alan Viverette
92360585ab
am 559daf7a: Merge "Include non-zero dimension views in excess space calculation" into mnc-dev
...
* commit '559daf7a749514065c6c482503a86a528addc985':
Include non-zero dimension views in excess space calculation
2015-07-30 17:11:58 +00:00
Dan Sandler
acb8f91d10
am 936420a0: am 06e544f0: am a93ed128: am 7bd8e6a8: DateTimeView: don\'t assume you have an ApplicationContext.
...
* commit '936420a06232dfc68a021b8fb407e423c6ac69a3':
DateTimeView: don't assume you have an ApplicationContext.
2015-07-30 17:10:11 +00:00
Simranjit Kohli
964a41214d
Merge "[Improve docs for AccountManager] Currently, the docs for AccountManager are somewhat misleading and may cause developer errors. To avoid them, we are properly documenting it." into mnc-dev
2015-07-30 17:09:44 +00:00
Alan Viverette
559daf7a74
Merge "Include non-zero dimension views in excess space calculation" into mnc-dev
2015-07-30 17:02:45 +00:00
Dan Sandler
06e544f0be
am a93ed128: am 7bd8e6a8: DateTimeView: don\'t assume you have an ApplicationContext.
...
* commit 'a93ed1288176e7f4789923f361e798bce6ef1618':
DateTimeView: don't assume you have an ApplicationContext.
2015-07-30 16:54:03 +00:00
Dan Sandler
a93ed12881
am 7bd8e6a8: DateTimeView: don\'t assume you have an ApplicationContext.
...
* commit '7bd8e6a8f2d0d200fd9a74b55469492cc02de6a4':
DateTimeView: don't assume you have an ApplicationContext.
2015-07-30 16:45:51 +00:00
Carlos Valdivia
e7ed827a10
Permissions: GET_ACCOUNTS permission cleanup
...
First, getAccounts*() will now return all available accounts depending
on both GET_ACCOUNTS grants and signature matching. This is different
from before where a caller of getAccounts() would need GET_ACCOUNTS to
get any accounts, but if that same caller called getAccountsByType, they
might have gotten back accounts if they shared a signature with the same
developer.
Second, cleaned up some NPEs and javadoc.
This change was motivated by progress on the cts tests.
Change-Id: I2f36226780e074fdf58214b46de3b79d8319ace1
2015-07-30 09:18:53 -07:00
Dan Sandler
7bd8e6a8f2
DateTimeView: don't assume you have an ApplicationContext.
...
Bug: 22840771
Change-Id: I3be6369936f90e9ce4e61a59ea81b0d3408a0f99
2015-07-30 11:59:30 -04:00
Alan Viverette
da2f304409
Include non-zero dimension views in excess space calculation
...
Bug: 22840778
Change-Id: Iba44c59bbaa48f63b26f342e0510b4c421e8748b
2015-07-30 11:44:12 -04:00
Derek Sollenberger
897863baeb
Merge "Support High Contrast Text for all canvas types"
2015-07-30 13:15:14 +00:00
Daniel Sandler
8515917246
am 202dd44a: am 5ea22216: am 82935916: am 033fe243: am bbe1682b: Merge changes from topic \'fix-media-notifications\' into mnc-dev
...
* commit '202dd44a90439eb823566b718c5a8fb159d73a73':
Fully support Icons in Notification actions.
Fix media notification action icons.
2015-07-30 04:05:19 +00:00
Daniel Sandler
202dd44a90
am 5ea22216: am 82935916: am 033fe243: am bbe1682b: Merge changes from topic \'fix-media-notifications\' into mnc-dev
...
* commit '5ea22216dda8cd13f68f4dc8f405c9809d6c9e37':
Fully support Icons in Notification actions.
Fix media notification action icons.
2015-07-30 03:52:22 +00:00
Daniel Sandler
829359163d
am 033fe243: am bbe1682b: Merge changes from topic \'fix-media-notifications\' into mnc-dev
...
* commit '033fe243a75f6e5e7ba8f75bd829bddaf213c7c2':
Fully support Icons in Notification actions.
Fix media notification action icons.
2015-07-30 03:25:12 +00:00
Daniel Sandler
033fe243a7
am bbe1682b: Merge changes from topic \'fix-media-notifications\' into mnc-dev
...
* commit 'bbe1682b1652c37b66609676e5829517279ff141':
Fully support Icons in Notification actions.
Fix media notification action icons.
2015-07-30 03:15:17 +00:00
Paul Jensen
722113aa5f
am 917b275d: am 06287d1c: am 9a2314b0: am 682fd6ae: am a991c66c: Merge "Fix missing onLost NetworkCallbacks when network loses capability" into mnc-dev
...
* commit '917b275d6b54b08edb6326512d7e48a02163e730':
Fix missing onLost NetworkCallbacks when network loses capability
2015-07-30 03:12:21 +00:00
Paul Jensen
917b275d6b
am 06287d1c: am 9a2314b0: am 682fd6ae: am a991c66c: Merge "Fix missing onLost NetworkCallbacks when network loses capability" into mnc-dev
...
* commit '06287d1c1859c9eafb0b4e195e57215a7e9af59c':
Fix missing onLost NetworkCallbacks when network loses capability
2015-07-30 02:57:30 +00:00
Daniel Sandler
bbe1682b16
Merge changes from topic 'fix-media-notifications' into mnc-dev
...
* changes:
Fully support Icons in Notification actions.
Fix media notification action icons.
2015-07-30 02:57:06 +00:00
Simranjit Singh Kohli
210baceaa1
[Improve docs for AccountManager]
...
Currently, the docs for AccountManager are somewhat misleading and may
cause developer errors. To avoid them, we are properly documenting it.
Bug: 21924096
Change-Id: If775a54a09219b0f1623d2ff903085b9d12aa863
2015-07-29 19:43:16 -07:00