445 Commits

Author SHA1 Message Date
Oleksandr Peletskyi
8e9316cdde Merge "Added restriction that disallows ability to set wallpaper. BUG: 24890474" 2016-02-01 21:30:43 +00:00
Julia Reynolds
3588e597d2 Merge "Re-SystemApi some fields/method that aren't in use." 2016-02-01 20:37:41 +00:00
Wale Ogunwale
f6f5f4ed94 Merge "Made some changes to window caption APIs" 2016-02-01 19:06:18 +00:00
Oleksandr Peletskyi
f2519814cc Added restriction that disallows ability to set wallpaper.
BUG: 24890474

Change-Id: I424aa80d914e3b6f3f9eba8ccb4802bad6f54907
2016-02-01 20:00:25 +01:00
Ruben Brunk
33e0a5f7ed Merge "Add feature tag for high-performance VR devices." 2016-02-01 18:20:00 +00:00
Julia Reynolds
a62496d8f7 Re-SystemApi some fields/method that aren't in use.
Bug: 26816334
Change-Id: Ib01e7856cd65e294c018017c600f8b3dce2be844
2016-02-01 12:55:39 -05:00
Rubin Xu
cae0627461 Merge "Canel all work notification when the profile is turned off" 2016-02-01 16:32:21 +00:00
Rubin Xu
7eadc1bf68 Canel all work notification when the profile is turned off
When the work profile is turned off, all work apps are killed and the
profile marked as stopped. Cancel all pending work notifications
immediately in this case, with a new reason.

Bug: 22541941
Change-Id: I97935c3bac3eba1e9c38f7449ebcc182f6c66769
2016-02-01 16:13:45 +00:00
Shreyas Basarge
a491c07f36 Merge "SyncManager on JobScheduler" 2016-02-01 15:32:58 +00:00
Wale Ogunwale
3b93a4d351 Renamed Activity class multi-window APIs
As requested by API council.

Bug: 26507736
Change-Id: I2a87c5eb3c1b48d52703103c2a4f72c250a9a827
2016-02-01 06:58:31 -08:00
Kenny Root
1c008de8db Track libcore change
Internal master also has test-current.txt which needs the new Java8 SNI
things added to it.

Change-Id: I36ad96ffc57cbcec4f0996e4f9dd390aff260017
2016-02-01 03:24:05 -08:00
Rubin Xu
c3cd05f8a4 Add DevicePolicyManager APIs for process logging.
Add Device Owner APIs for controlling and retrieving the logs. Retrieving the
logs should be rate limited unless we are at the risk of losing logs due to
constrained buffer space.

Bug: 22860162
Change-Id: I80658f5a14e86d7cfd42402fbc5e98dc11698c0e
2016-02-01 10:28:24 +00:00
Tomasz Mikolajewski
7fa765a40e Merge "Cleanup copyDocument and moveDocument in SAF." 2016-02-01 00:17:30 +00:00
Wale Ogunwale
14a79bd12a Merge changes I8d546487,Ib62d357f
* changes:
  Allow resizeableActivity to be specified at the application level
  Renamed manifest attributes initialWidth/Height to defaultWidth/Height
2016-01-31 20:02:45 +00:00
Wale Ogunwale
174d36d87a Merge "Renamed FLAG_ACTIVITY_LAUNCH_TO_SIDE to FLAG_ACTIVITY_LAUNCH_ADJACENT" 2016-01-31 19:57:16 +00:00
Wale Ogunwale
1902169600 Merge "API council recommended changes to bounds APIs in ActivityOptions" 2016-01-31 19:51:37 +00:00
Jeff Sharkey
35871f2c2b Offer to migrate databases and SharedPreferences.
Databases and SharedPreferences often involve multiple files under
the hood, so developers wanting to migrate them between different
storage contexts should ask us to make sure all relevant files are
migrated correctly.

This makes a best-effort attempt to recover from battery pulls
during migration, while still trying to alert developers to
conflicting files.

Bug: 26668510, 25860525
Change-Id: I9ffa3e8cb6191dfd4237b9466a081d6d77df3ba0
2016-01-30 17:03:23 -07:00
Wale Ogunwale
a504ca3988 Made some changes to window caption APIs
As recommended by API council.

Bug: 26509365
Change-Id: I4efca89e2e14ffcf66ab8372f694e8bbf58d6fef
2016-01-30 16:02:13 -08:00
Wale Ogunwale
b12e1099ce Renamed manifest attributes initialWidth/Height to defaultWidth/Height
Per feedback from API council.

Bug: 26508215
Change-Id: Ib62d357f0e6309ad6f6305ba5ac376c5e3ab04e7
2016-01-30 12:24:44 -08:00
Wale Ogunwale
2a25a62739 Renamed FLAG_ACTIVITY_LAUNCH_TO_SIDE to FLAG_ACTIVITY_LAUNCH_ADJACENT
Per feedback from API council.

Bug: 26508215
Change-Id: Id17166fe981587c9c16c382ccbdf0846ed2ae5d6
2016-01-30 11:27:21 -08:00
Wale Ogunwale
5122df094b API council recommended changes to bounds APIs in ActivityOptions
Bug: 26509660
Change-Id: Id90fbda0e15e83145ecc85c214b0ae5763fcc902
2016-01-29 22:33:38 -08:00
Shreyas Basarge
8c834c0767 SyncManager on JobScheduler
SyncManager now uses JobScheduler for scheduling
and persistence purposes.

Change-Id: I38c92aedbf4d891ca297644d0b706835aaedfcd6
2016-01-29 22:15:15 +00:00
Alan Viverette
04415b4765 Merge "Add DENSITY_DEVICE_STABLE constant" 2016-01-29 21:41:38 +00:00
Alan Viverette
d7bbc8a92f Add DENSITY_DEVICE_STABLE constant
The existing DENSITY_DEVICE gets updated by ActivityThread following
configuration changes that affect density, so just a docs update there.

Bug: 26854123
Change-Id: I69dfca99a6038ed9cf8b2f2c007cdbc4a399dd8a
2016-01-29 15:40:38 -05:00
Jeff Davidson
3c2feda8a5 Merge "Revert Network Stats API stub for tracking of metered networks." 2016-01-29 19:08:52 +00:00
Dongwon Kang
f14a39398f Merge "TIF: Make RecordingCallback static" 2016-01-29 18:53:24 +00:00
Dongwon Kang
397b1447ab TIF: Make RecordingCallback static
Change-Id: I5138713fe21f49d43e9c70af8c2ba66318aa8342
2016-01-29 10:47:21 -08:00
Jeff Davidson
921d15b58a Revert Network Stats API stub for tracking of metered networks.
Bug: 25813958
Change-Id: I9d2835b7bacfffef05b1588f1301afc70f5f582f
2016-01-29 10:36:52 -08:00
Jae Seo
c7cbd7b21f Merge "TIF: Unhide TvInputCallback.onInputUpdated()" 2016-01-29 18:06:09 +00:00
Anna Galusza
f3e5d1d483 Merge "Add API for IME control by Accessibility Services." 2016-01-29 16:58:07 +00:00
Benjamin Franz
dd231a16a1 Merge "Add policy to set the organization name" 2016-01-29 11:38:54 +00:00
Benjamin Franz
3e8a709064 Add policy to set the organization name
We allow the profile owner of a managed profile to set the name of the
managed organization.

This name is used as the default header message shown in the confirm
credentials screen a.k.a. work challenge.

Bug: 26638631
Change-Id: I03c5acc9fffe06cdb9d0d60dd1580b20e21783b1
2016-01-29 11:15:12 +00:00
Neil Fuller
cab2e5d1d1 Merge "Unhide @Repeatable" 2016-01-29 11:01:45 +00:00
Jae Seo
631052954d TIF: Unhide TvInputCallback.onInputUpdated()
Needed to load proper resources when the TV input app is updated

Bug: 26851344
Change-Id: If3d143a254a9585e90ab1d91abcdb68bf39eaa9f
2016-01-29 05:34:23 +00:00
Andy Hung
d89cb1eb81 Merge "Add AudioRecord timestamps" 2016-01-29 03:23:19 +00:00
Svetoslav Ganov
cda8cddaef Merge "Optionally support accessibility with UiAutomator" 2016-01-29 02:57:46 +00:00
Jeff Sharkey
d24544322f Merge "Exposing file:// beyond your app is bad, m'kay?" 2016-01-29 02:43:28 +00:00
Jeff Sharkey
344744b496 Exposing file:// beyond your app is bad, m'kay?
For several releases now we've told developers that sharing raw files
between apps is a recipe for trouble.  There are at least three major
problems with sending raw files:

-- Apps sending generic intents can't know who is at the other end,
so they may not have access to shared storage locations.  This is
more likely now that runtime permissions require apps to explicitly
ask users for permission.

-- Apps making files in their private storage world-readable has been
deprecated for several releases, and now in N it's fully blocked.  If
we let these intents through, the receiving app would fail to open
the file, when the real blame rests on the sending app.

-- Devices with user profiles can't share raw files when using
cross-profile intent filters, since filesystem access is fully
locked down between users.

The time has finally come to communicate clearly that if you're
sharing content between apps, you need to use content:// Uris.  We
added the simple FileProvider several years ago to give apps a clean
way to migrate with minimal work on their part.

Bug: 26860922, 9069185
Change-Id: I075f627f6a0d6c7fca2c090ca133b9aae9801c64
2016-01-28 19:20:12 -07:00
Jae Seo
03c75de39f Merge "TIF: Notify of a change to TvInputInfo regardless of service connection" 2016-01-29 02:15:56 +00:00
Jae Seo
c2a89510dd TIF: Notify of a change to TvInputInfo regardless of service connection
Also removed unnecessary input ID in various methods

Change-Id: I50a2da924e9442312ccf16278e9123f837ec8942
2016-01-28 17:54:26 -08:00
Andy Hung
0ad99c0597 Add AudioRecord timestamps
API change

Bug: 13569372
Bug: 22886739
Change-Id: Ic250fd0c39901f4e99c58281e371f27c241b6bed
2016-01-28 17:19:11 -08:00
Donghyun Cho
b3c06c2f50 Merge "MediaSession: Define an extra field for staying paused after play" 2016-01-29 01:15:36 +00:00
Yohei Yukawa
e8faad6b54 Merge "Add ACTION_KEYBOARD_LAYOUT_SETTINGS." 2016-01-28 20:17:01 +00:00
Jeff Sharkey
087ee8952e Merge "Make PreferenceActivity/Fragment encryption ready." 2016-01-28 19:10:20 +00:00
Jeff Sharkey
fd37abe9d5 Make PreferenceActivity/Fragment encryption ready.
Developers using these classes can getPreferenceManager() and
explicitly set the storage location for any SharedPreferences values
persisted through it.

Bug: 26747519
Change-Id: I133045df6a69aa99f33b6b6c447f52605468b927
2016-01-28 12:04:06 -07:00
Phil Weaver
1dd872260b Optionally support accessibility with UiAutomator
Adding a flag to AccessibilityServiceInfo that only works
for UIAutomator that supresses other services. This flag
is set by default for UIAutomation to match the current
behavior, but tests may clear the flag and enable other
services.

Needed to improve cts coverage of AccessibilityService.

Bug: 26592034
Change-Id: Icfc2833c1bd6546a22a169008d88a6b15e83989c
2016-01-28 10:09:05 -08:00
Stephan Linzner
e97bce53df Merge "Deprecated platform Android testing APIs" 2016-01-28 16:40:25 +00:00
Michal Karpinski
bc0ce99043 Merge "Logging of keyguard actions into security log" 2016-01-28 11:47:23 +00:00
Michal Karpinski
31502d3d95 Logging of keyguard actions into security log
Bug: 22860162
Change-Id: I7dbe68fff7d9d45b6c417d960cf025c8d0694917
2016-01-28 11:07:56 +00:00
Lajos Molnar
153d7ada2e Merge "MediaExtractor: add getDrmInitData API" 2016-01-28 05:55:07 +00:00