Commit Graph

55649 Commits

Author SHA1 Message Date
Edward Cunningham
18832a7134 Merge "Extend the DownloadManager.addCompletedDownload() method to support origin details." 2016-02-16 19:06:49 +00:00
Wale Ogunwale
f84f0408d0 Merge "Force resize pre-N apps that don\'t have fixed orientation." into nyc-dev am: b305e16051
am: 933b668859

* commit '933b668859306edfeec361fa5fc286facc8cd79b':
  Force resize pre-N apps that don't have fixed orientation.
2016-02-16 18:07:26 +00:00
Wale Ogunwale
933b668859 Merge "Force resize pre-N apps that don\'t have fixed orientation." into nyc-dev
am: b305e16051

* commit 'b305e16051192540e2e19863d4c3c0fb3e980db2':
  Force resize pre-N apps that don't have fixed orientation.
2016-02-16 18:00:24 +00:00
Wale Ogunwale
b305e16051 Merge "Force resize pre-N apps that don't have fixed orientation." into nyc-dev 2016-02-16 17:54:33 +00:00
George Mount
266f8cba21 Merge "Null check for fade start alpha value." into nyc-dev am: 21eb4e2684
am: a096e57ef5

* commit 'a096e57ef5dd5377f8e3ab6f6ed3c5b07acf9a2e':
  Null check for fade start alpha value.
2016-02-16 15:33:08 +00:00
George Mount
a096e57ef5 Merge "Null check for fade start alpha value." into nyc-dev
am: 21eb4e2684

* commit '21eb4e2684e8490deedab002dd2b867b6d35147a':
  Null check for fade start alpha value.
2016-02-16 15:26:51 +00:00
George Mount
21eb4e2684 Merge "Null check for fade start alpha value." into nyc-dev 2016-02-16 15:20:43 +00:00
Wale Ogunwale
508ff55e8c Force resize pre-N apps that don't have fixed orientation.
We were previously only doing it for SCREEN_ORIENTATION_UNSPECIFIED,
but there are other orientation settings that aren't fixed that we
need to handle.

Change-Id: If21fcd8312b6267407d94b6646158ac6eae44b44
2016-02-15 19:31:50 -08:00
Jeff Sharkey
5a9e38ec19 Merge "Add path cache to avoid SharedPreferences jank." into nyc-dev am: 3104a9ffd6
am: 1cac868cb2

* commit '1cac868cb262ae3a11732602148e316f23d252ff':
  Add path cache to avoid SharedPreferences jank.
2016-02-16 01:56:27 +00:00
Jeff Sharkey
1cac868cb2 Merge "Add path cache to avoid SharedPreferences jank." into nyc-dev
am: 3104a9ffd6

* commit '3104a9ffd61ed04946a405e0fc78e3904366e35e':
  Add path cache to avoid SharedPreferences jank.
2016-02-16 01:49:28 +00:00
Jeff Sharkey
3104a9ffd6 Merge "Add path cache to avoid SharedPreferences jank." into nyc-dev 2016-02-16 01:38:05 +00:00
Jeff Sharkey
be78258e55 Add path cache to avoid SharedPreferences jank.
The old getSharedPreferences() API had a side-effect behavior that
subsequent calls wouldn't touch disk if there was a cache hit.  Now
that we're using File as the cache key, we were generating the path
every time, which resulted in touching disk.

To bring back the old behavior, let's add yet another cache!

Bug: 26979210
Change-Id: Ib8346c6f69ae25f8f164e3b7e05bc6358de38906
2016-02-15 18:36:01 -07:00
Jeff Sharkey
5cb5f09748 Merge "Add feature versions for devices and apps." into nyc-dev am: 9c6d9753a0
am: c0681ba3c7

* commit 'c0681ba3c7e2521ddf90557859e42c4c7b329fc1':
  Add feature versions for devices and apps.
2016-02-16 00:59:25 +00:00
Jeff Sharkey
c0681ba3c7 Merge "Add feature versions for devices and apps." into nyc-dev
am: 9c6d9753a0

* commit '9c6d9753a0f1651c639fe8158b86a1f7ffc3f60a':
  Add feature versions for devices and apps.
2016-02-16 00:53:15 +00:00
Jeff Sharkey
9c6d9753a0 Merge "Add feature versions for devices and apps." into nyc-dev 2016-02-16 00:47:49 +00:00
Jeff Sharkey
115d2c189a Add feature versions for devices and apps.
We're starting to see more instances of device features that will
increment separately from the SDK API level, such as camera HAL,
GPU capabilities, Bluetooth, and other hardware standards.

This change adds the ability for device features to specify a
version, which is defined to be backwards compatible.  That is, apps
requesting an older version of a feature must continue working on
devices with a newer version of that same feature.

When a version is undefined, we assume the default version "0".

Bug: 27162500
Change-Id: If890bf3f3dbb715e8feb80e7059a0d65618482ea
2016-02-15 17:45:42 -07:00
Andre Eisenbach
3bc623be8d Read Bluetooth interop database entries from settings (1/2)
Interop database entries are stored in the system settings entry
"BluetoothInteropDatabase". The format is a list of entries separated by
";". An entry consists of a BDA fragment, followed by a comma and an
integer representing a feature from interop.h.

Example:
To disable LE secure connections for devices starting with BDA 11:22:33,
use "11:22:33,0".

Bug: 26548845
Change-Id: I6a9fd34f6af4d3bdfcaa0e051eafebdfbf2a4949
2016-02-15 22:24:10 +00:00
Jeff Sharkey
c8873268b5 Explicitly chmod() for compatibility. am: 46ed6f4bd6
am: 1dd0b14f1d

* commit '1dd0b14f1d37c6a13416249f9294a9ba2195f233':
  Explicitly chmod() for compatibility.
2016-02-15 21:33:39 +00:00
Jeff Sharkey
1dd0b14f1d Explicitly chmod() for compatibility.
am: 46ed6f4bd6

* commit '46ed6f4bd6d28a1319a90eb7c58dca5c20b36670':
  Explicitly chmod() for compatibility.
2016-02-15 21:27:06 +00:00
Jeff Sharkey
46ed6f4bd6 Explicitly chmod() for compatibility.
Apps typically have a umask() that prevents the mkdir() from setting
the requested permissions.

Bug: 27116987
Change-Id: Ia14e7e31531328ab36e902a864b3d2891feec544
2016-02-15 14:16:10 -07:00
Nicolas Prévot
4e8bbd23e5 Merge "Allow privileged apps to set the organization color." into nyc-dev am: eff90bd5ff
am: 2da7b6ebdb

* commit '2da7b6ebdb3ade426fa7b69ed0b47779d15ab109':
  Allow privileged apps to set the organization color.
2016-02-15 10:57:17 +00:00
Nicolas Prévot
2da7b6ebdb Merge "Allow privileged apps to set the organization color." into nyc-dev
am: eff90bd5ff

* commit 'eff90bd5ff6bd50325149a5010183277bd76f4c6':
  Allow privileged apps to set the organization color.
2016-02-15 10:51:42 +00:00
Nicolas Prévot
eff90bd5ff Merge "Allow privileged apps to set the organization color." into nyc-dev 2016-02-15 10:47:41 +00:00
Vladislav Kaznacheev
fc819c9370 Merge "Update pointer icon when View.setPointerIcon is called" into nyc-dev am: 477243b058
am: b40130134c

* commit 'b40130134c4977513c5f83032d323736dcefe3e0':
  Update pointer icon when View.setPointerIcon is called
2016-02-13 02:18:39 +00:00
Vladislav Kaznacheev
b40130134c Merge "Update pointer icon when View.setPointerIcon is called" into nyc-dev
am: 477243b058

* commit '477243b058bbc303bea6ba3aab445fd82a9f9155':
  Update pointer icon when View.setPointerIcon is called
2016-02-13 02:11:50 +00:00
Vladislav Kaznacheev
989b58a633 Update pointer icon when View.setPointerIcon is called
Currently the updated pointer icon is only displayed after
the next mouse move.

Bug:27107871
Change-Id: Ieed57b07fe44699735179cf57968a9bb08981396
2016-02-12 16:55:53 -08:00
John Reck
9bf6280b7a Merge "Include containing window title in SurfaceView\'s title" into nyc-dev am: 182bd38430
am: b707ce7837

* commit 'b707ce7837d471a79c100348db0af75e21a42513':
  Include containing window title in SurfaceView's title
2016-02-12 22:36:18 +00:00
John Reck
b707ce7837 Merge "Include containing window title in SurfaceView\'s title" into nyc-dev
am: 182bd38430

* commit '182bd384304c7b96b197298e5bc866858da01bf4':
  Include containing window title in SurfaceView's title
2016-02-12 22:30:54 +00:00
John Reck
182bd38430 Merge "Include containing window title in SurfaceView's title" into nyc-dev 2016-02-12 22:24:01 +00:00
Aurimas Liutikas
eadaeee848 Merge "Start saving iconified state of SearchView." into nyc-dev am: 3043c7b19d
am: f878fdd68a

* commit 'f878fdd68add8e38104e00c90eef6630eb41f52f':
  Start saving iconified state of SearchView.
2016-02-12 21:11:54 +00:00
Aurimas Liutikas
f878fdd68a Merge "Start saving iconified state of SearchView." into nyc-dev
am: 3043c7b19d

* commit '3043c7b19d873fdeb578fe84b003162fc85f923e':
  Start saving iconified state of SearchView.
2016-02-12 21:06:12 +00:00
Aurimas Liutikas
3043c7b19d Merge "Start saving iconified state of SearchView." into nyc-dev 2016-02-12 20:58:05 +00:00
Julia Reynolds
463b8f9f31 Merge "Show topic settings inline if user has configured topics." into nyc-dev am: 597c6d8c5d
am: acfdf4b6ee

* commit 'acfdf4b6eeb4c6dd03aa54afad7aeb885e26a21f':
  Show topic settings inline if user has configured topics.
2016-02-12 20:46:04 +00:00
Julia Reynolds
acfdf4b6ee Merge "Show topic settings inline if user has configured topics." into nyc-dev
am: 597c6d8c5d

* commit '597c6d8c5de14340550313607d0925b8ee40fea9':
  Show topic settings inline if user has configured topics.
2016-02-12 20:40:37 +00:00
Julia Reynolds
597c6d8c5d Merge "Show topic settings inline if user has configured topics." into nyc-dev 2016-02-12 20:31:55 +00:00
Sunny Goyal
c7ccff4b20 Changing hashmaps to sparseArrays and other similar conversions
Change-Id: I1905120a2dc109e8f383b973e599e2c23e005d0e
2016-02-12 12:25:28 -08:00
Adrian Roos
d2598d345b Add setting for allowing remote input from keyguard am: 3aec638a7b
am: f86c39d1d7

* commit 'f86c39d1d7d4eadc40d34edb1b9e53969e130ee0':
  Add setting for allowing remote input from keyguard
2016-02-12 19:29:48 +00:00
Adrian Roos
f86c39d1d7 Add setting for allowing remote input from keyguard
am: 3aec638a7b

* commit '3aec638a7b7f7200f7c82bca527e6aec75440d82':
  Add setting for allowing remote input from keyguard
2016-02-12 19:02:16 +00:00
Adrian Roos
3aec638a7b Add setting for allowing remote input from keyguard
Bug: 26440855
Change-Id: I539b1c7ee6a874283df1104fe0743ef0495f9510
2016-02-12 18:54:58 +00:00
Amith Yamasani
2d155ee9ca Merge "onAccountsUpdated shouldn\'t be called back after listener unregistered" am: b96673847a
am: f2c5157919

* commit 'f2c51579194204f104c4f52ffb7143898d73d1fc':
  onAccountsUpdated shouldn't be called back after listener unregistered
2016-02-12 18:02:42 +00:00
Amith Yamasani
f2c5157919 Merge "onAccountsUpdated shouldn\'t be called back after listener unregistered"
am: b96673847a

* commit 'b96673847a4680c384b7335df37affc0bba36f3f':
  onAccountsUpdated shouldn't be called back after listener unregistered
2016-02-12 17:58:47 +00:00
Sunny Goyal
dde1f57a74 Merge "Using AppWidgetHostView in RemoteViewsAdapter instead of managing the RemoteViews inflation itself" 2016-02-12 17:51:52 +00:00
Amith Yamasani
b96673847a Merge "onAccountsUpdated shouldn't be called back after listener unregistered" 2016-02-12 17:50:17 +00:00
Paul Miller
0b651a0096 Merge "Fail nicely in Activity.requestPermissions when requestCode < 0" 2016-02-12 17:41:32 +00:00
Julia Reynolds
fec58c263c Show topic settings inline if user has configured topics.
Change-Id: Icf51faad61b3ae4261991691a1d679b190ea712a
2016-02-12 11:42:02 -05:00
Sunny Goyal
89699a2811 Using AppWidgetHostView in RemoteViewsAdapter instead of managing the RemoteViews inflation itself
Change-Id: If6dd8a778096a07c58b543efe892bbffbe24098f
2016-02-12 08:36:38 -08:00
Kenny Guy
15f6de3dd2 Merge "Support FBE for managed profiles." into nyc-dev am: 716a9e1892
am: 86dd0f2a9b

* commit '86dd0f2a9b907f2f8a9cdce2fc7f052916778cd7':
  Support FBE for managed profiles.
2016-02-12 15:10:00 +00:00
Kenny Guy
86dd0f2a9b Merge "Support FBE for managed profiles." into nyc-dev
am: 716a9e1892

* commit '716a9e189297beba9e2205a335614e1750b9fdd4':
  Support FBE for managed profiles.
2016-02-12 15:07:08 +00:00
Kenny Guy
b1b302660c Support FBE for managed profiles.
Allow launcher to see and attempt to launch non-crypto
aware application when profile is locked.
Hide unlock notification until parent user is unlocked.
Have unlock notitication use confirm credentials to unlock
the profile.
Updated notification strings as per suggestions in mocks
to make it clearer between users and profiles.

Bug: 27038260

Change-Id: If2d2c8148670d814544f4edd44193d15da32a289
2016-02-12 14:29:37 +00:00
Clara Bayarri
c1a258c813 Merge "Add support for current failed lock attempts and max attempts" into nyc-dev am: 29b13190cd
am: ecc95de0f3

* commit 'ecc95de0f33aa3e63d34ed0cd3fc4597b04c93be':
  Add support for current failed lock attempts and max attempts
2016-02-12 14:04:13 +00:00