Commit Graph

253881 Commits

Author SHA1 Message Date
Daniel Yu
a4fc4209c8 docs: Moving L10N versions of Scoped Dir Access docs
for each localized version, moving the Scoped Directory
Access preview doc to the new non-preview location. Also
updated image links, otherwise content is unchanged.

Bug: 30257320
Change-Id: I4b80b9a6e859d71c36ce0c02c856bd6e8829ff97
2016-07-26 15:56:10 -07:00
Amith Yamasani
7853ba63cd Merge "Persist configuration for the calling or current user" into nyc-mr1-dev 2016-07-26 22:48:14 +00:00
Adrian Roos
6da6657858 Merge "Never show transient navigation bar when empty" into nyc-mr1-dev 2016-07-26 22:41:55 +00:00
Jean-Michel Trivi
57de824d64 Merge "Change AudioRecordingConfiguration constructor parameter order" into nyc-mr1-dev 2016-07-26 22:24:44 +00:00
TreeHugger Robot
45ae57eab4 Merge "DO NOT MERGE: Change the order of 2 statements to remove race." into nyc-mr1-dev 2016-07-26 22:01:45 +00:00
George Mount
00b7846b1e Check for target SDK version for out-of-order fragment creation.
Bug 30230667

Ensure that pre-N applications initialize in the proper order,
but allow N and above applications to be created prior to
asking for a Transition.

Change-Id: I859f22a7c5518e4b496cbd7ee58ef1d3206a5c86
(cherry picked from commit 78d38fc839)
2016-07-26 14:59:23 -07:00
Jeff Davidson
24b9d96007 Add support for carrier "associated" apps.
The platform currently supports the notion of default carrier apps.
These apps are set to DISABLED_UNTIL_USED until a SIM is inserted
which grants them carrier privileges, at which point they are enabled.
Apps are not touched if they have been updated from the version on
/system or if their state has been modified externally (e.g. by the
user).

This CL extends this notion to associated apps, which may not have
carrier privileges themselves, but should be enabled/disabled
alongside a particular carrier app. This should include helper apps
that should not be visible to users who don't use the given carrier
unless the user explicitly enables the app.

As additional protection, we add a check to ensure that we never
disable apps after the first time we've run. Since we need to store
this information in secure settings, we also move the call site from
PackageManagerService#main() to PackageManagerService#systemReady(),
which enables use of secure settings but still occurs before
third-party apps can be started.

Bug: 30141427
Change-Id: Iee72ba4e70e5ca97999c9147a65af82c670a23e8
2016-07-26 14:54:53 -07:00
Jeff Sharkey
445c01b591 Merge "Polish up PRE_BOOT notification." into nyc-mr1-dev 2016-07-26 21:52:05 +00:00
Adrian Roos
1b2bf00098 ViewRootImpl: Initialize sysui visibility
Fixes a bug where the sysui visibility flags
were not dispatched when they changed if the
visibility changes the first time to a zero
value.

Change-Id: I4d6c990ca493b144f24c75e95b4ff18c4c0a029c
Fixes: 30259249
2016-07-26 14:27:37 -07:00
Daniel Yu
a93eeaa38b docs: Moving L10N versions of TV recording API docs
For each localized version, moving the TV recording preview doc
to the new non-preview location. Content is unchanged and will
need to be updated by translators.

Bug: 30224466
Change-Id: If7c6c64d5bab528e773cfa21fc9c694451eed47e
2016-07-26 14:22:37 -07:00
Fan Zhang
8089d48968 Allow system home app to show when filtering app list.
Bug: 28796031

Sometimes system app can handle CATEGORY_HOME but it doesn't have a
launcher icon in launcher itself. We should allow it to show in default
app list so user can take action on such app.

Change-Id: Ie85b8f2519be4ccb41b1bb831f4d7cf2531e466f
2016-07-26 14:08:31 -07:00
Jean-Michel Trivi
74eb6f62f8 Change AudioRecordingConfiguration constructor parameter order
Switch the device and client AudioFormat parameters in the
  AudioRecordingConfiguration constructor, so it's the same
  order as the rest of the code involved in sending a callback
  when the recording configuration changes.

Bug 30282058

Change-Id: Iea417f02dcb644e3d4dacbc0e44ea4b2eac28840
2016-07-26 14:00:44 -07:00
Michael Kwan
9f3930d3f7 Merge "Add titles to PreferenceFragments and PreferenceScreens for watches." into nyc-mr1-dev 2016-07-26 20:58:47 +00:00
Fei Wu
90cd4449bb Merge "Fix Switch in SwitchPreference on watch" into nyc-mr1-dev 2016-07-26 20:54:29 +00:00
Makoto Onuki
3858c4704c Merge "Update ShortcutManager javadoc" into nyc-mr1-dev 2016-07-26 20:40:04 +00:00
Daniel Yu
9bd8e969da docs: Moving L10N versions of Direct Boot docs
For each localized version, moving the Direct Boot preview doc
to the new non-preview location. Content is unchanged and will
need to be updated by translators.

Bug: 30256895
Change-Id: Ifba555455c25f25ead83391be3ef5e9c454c595d
2016-07-26 13:33:35 -07:00
Kevin Hufnagle
f44fbe2b4e docs: Updated layout and timestamps of developer stories.
The developer stories for Aftenposten, El Mundo, Segundamano, Tapps,
and Upbeat Games now appear closer to the beginning/top of a section
on the newly-formatted "latest" page.

Also, Tapps and Upbeat Games now appear within the "games" section,
not the "apps" section. The Glu case study also appears within the
"games" section; it was incorrectly appearing under the root
"stories" directory before.

Finally, removed a duplicate case study describing Dots increasing
installs using Store Listing Experiments.

Bug: 29240693
Change-Id: Ieec3afd2f56320da00ee4b97d8cd8de8253784dd
2016-07-26 12:50:18 -07:00
Jeff Sharkey
0711adc84d Merge "Ignore stopped/deleted users when filling cache." into nyc-mr1-dev 2016-07-26 19:36:39 +00:00
Adarsh Fernando
33aae3167d Docs: Clarified certain restrictions to whitelisted apps
Bug:30133512
Change-Id: I4494f85090b384831bc2534cbc813f28a62a29cf
2016-07-26 12:27:37 -07:00
Daniel Yu
089055f18c docs: Moving L10N versions of PIP docs
For each localized version, moving the PIP preview doc
to the new non-preview location. Updated image paths as well,
but otherwise content is unchanged and will need to be
updated by translators.

Bug: 26487936
Change-Id: I6ff1998ecfdd293ea9448934fafa33455961f8ba
2016-07-26 12:25:33 -07:00
Kevin Hufnagle
1d7a40b34d docs: Migrated \"Network Security Configuration\" page on DAC (N OTA).
am: 78747a1164

Change-Id: I095a1e37838e325f7b10146cde3efb271a315ed2
2016-07-26 19:04:18 +00:00
Kevin Hufnagle
78747a1164 docs: Migrated "Network Security Configuration" page on DAC (N OTA).
This page now resides with other pages discussing Android security
topics.

Bug: 27502850
Change-Id: I8ce3412198527a947e47e421b94c3d15cce6ec48
2016-07-26 11:46:16 -07:00
Kevin Hufnagle
1c2845238a Merge \"docs: Migrated \"key attestation\" page to a new location (for N OTA).\" into nyc-dev
am: 6e4d765f95

Change-Id: I58fdbbe4efa20d1d8f8ca8be47b715edfe07f62c
2016-07-26 18:45:45 +00:00
Kevin Hufnagle
1ebaca58c4 docs: Migrated \"key attestation\" page to a new location (for N OTA).
am: c946f9d103

Change-Id: I82716c1bfd4748d61ae01909bbed0156fa43faa9
2016-07-26 18:45:42 +00:00
Jason Monk
9448f1b74a Merge "Fix double status bar icons" into nyc-mr1-dev 2016-07-26 18:39:14 +00:00
Kevin Hufnagle
6e4d765f95 Merge "docs: Migrated "key attestation" page to a new location (for N OTA)." into nyc-dev 2016-07-26 18:34:24 +00:00
Michael Kwan
744be16ffa Add titles to PreferenceFragments and PreferenceScreens for watches.
Preferences lack a title on watch type devices due to lack of ActionBar
support. A custom ListView was added to use a custom wrapper adapter to
add a persistent header view at the top of the ListView that developers
would not be able to remove via the ListView API.

Bug: 27962897
Change-Id: I6bccecf85592d9507e0c7a04c9a035617001e9ef
2016-07-26 10:57:56 -07:00
Agnieszka Madurska
af9d5daae7 Merge "Use correct bounds for scroll bar rendering." into nyc-mr1-dev 2016-07-26 17:47:30 +00:00
Michael Wright
16ae042351 Actually compare supported color modes.
Also, provide an equals implemenation for HdrCapabilities.

Bug: 30311415
Bug: 30367543
Change-Id: Ib8b9c9283519ae9baa48ecfecb8035848a9b29f0
2016-07-26 18:18:53 +01:00
Jason Monk
c6fe61c59c Fix double status bar icons
Don't allow the status bar icon slot list to be changed because
it confuses the relationship between StatusBarIconList and
StatusBarIconController.  Set it in the constructor to enforce
this.

Change-Id: Ieeea0a9efad88179d1cccc0e5702899333de2e72
Fixes: 28524184
2016-07-26 13:04:50 -04:00
Chen Xu
a0f07728d9 Merge "add pii support for Rlog" into nyc-mr1-dev 2016-07-26 17:00:18 +00:00
Philip P. Moltmann
fe789f3189 Handle reset of recommended services
Change-Id: I778f8b7a081d433ca0f21361c2ca8dcd48303935
Fixes: 30389837
2016-07-26 09:45:53 -07:00
Aga Madurska
8cc883de9e Use correct bounds for scroll bar rendering.
Bug:30001373
Change-Id: I20c77a2d97096bda451c3a871fd6be7ad699b047
2016-07-26 17:07:28 +01:00
Jeff Sharkey
38e0d0f512 Ignore stopped/deleted users when filling cache.
Leave user checks intact on all other code paths, but quietly ignore
any trouble when filling cache after a user is started.

Bug: 30366396
Change-Id: I49458adb8fd6ddc203d6159513f4ecc50738d3e8
2016-07-26 09:47:07 -06:00
Paul Jensen
4e40413c50 Merge "Sanity check ICMP6 router advertisement packets" into nyc-mr1-dev 2016-07-26 14:30:00 +00:00
Paul Jensen
c78bd7f01f Merge "Don't let sign-in to network app appear in recents when it finishes" into nyc-mr1-dev 2016-07-26 14:26:30 +00:00
Hugo Benichi
7c731f9e1f Merge "Add CONNECTIVITY_USE_RESTRICTED_NETWORKS permission" into nyc-mr1-dev 2016-07-26 02:46:32 +00:00
Andrew Solovay
d6d4de697e docs: Removing internationalized versions of AfW preview doc
Preview "changes to Android for Work" doc is being deleted;
this CL deletes the internationalized versions, too.

Change-Id: Idf167f7f503dd8c4b767986289d2ff01d15f65bd
2016-07-25 18:12:12 -07:00
Christopher Tate
ebadfb17e7 Fix wallpaper restore from pre-N devices
The previous path "worked" but left the wallpaper bookkeeping with
incorrect SELinux labeling, which led to cascade failures later on
when apps tried to set new system wallpaper imagery or read the
current image for the picker UI.

We now (a) explicitly label wallpaper files in all change cases,
(b) let the restored imagery flow through the full crop path, as
should have been done in the first place, and as a result (c) lift
the size restrictions on the source image, because now we are doing
a device-appropriate scaling operation on the image.

The "when to crop/scale" test has been slightly relaxed such that
a restored image of exactly the right size now longer triggers a
superfluous factor-1.0 scaling operation.

Bug 30361282

Change-Id: I9a305eea2227952493f64ab78862648cafb816ff
2016-07-25 18:11:47 -07:00
Hiroshi Yamauchi
bce8866506 Use non-fast JNI for Canvas.native_drawBitmap.
To avoid long GC thread suspension in the testWidgetsContainerFling
jank test.

(cherrypick commit efbf4efba0)

Bug: 30190862

Change-Id: I63011592bd3d3e9e8536705037bbad889cb297f8
2016-07-25 18:02:56 -07:00
Amith Yamasani
034ec49b19 Persist configuration for the calling or current user
Persist the font size change to the correct user.

Bug: 30273473
Change-Id: Ia29735d4112720389a30b61f961f6c1071ce4ba2
2016-07-25 17:58:12 -07:00
Makoto Onuki
fe9c9669a4 Update ShortcutManager javadoc
Bug 30359231

Change-Id: I01f1987416fa1ac3f0669afa1f15f88ff2dd1631
2016-07-25 17:56:09 -07:00
Doris Liu
7c7052dd9b Run animation *after* property sync
VectorDrawable contains properties that can be mofidied from both
UI thread and RenderThread. The two sets of properties are synced
during prepareTree. Previously VD animations ran before prepareTree,
as a result, during prepareTree the property sync overwrote some
of the animatable properties. In other words, the first frame of
the animation wasn't correct. An example is in battery saver mode
when the animation only has one frame to animate (0-duration), the
end result looked wrong.

This CL moves the VD animation to after prepareTree to solve the
problem mentioned above. Meanwhile, in order to signal which
VD will be animated so as to have them properly damaged, all VDs
with running animators are marked dirty.

Bug: 30226711
Change-Id: I831dae9abb2908876c935b9be4c11dfd09452d5c
2016-07-26 00:42:56 +00:00
David Christie
dde12c6923 Fix vulnerability where large GPS XTRA data can be injected.
-Can potentially crash system with OOM.
Bug: 29555864

Change-Id: I7157f48dddf148a9bcab029cf12e26a58d8054f4
2016-07-25 17:13:23 -07:00
TreeHugger Robot
eaa6d6b2c9 Merge "Avoid destroying TextureView surfaces for onStop" into nyc-mr1-dev 2016-07-26 00:06:45 +00:00
TreeHugger Robot
e7e1f0b788 Merge "media: Add hidden api to set video encoding profile and level." into nyc-mr1-dev 2016-07-25 23:40:00 +00:00
Jeff Sharkey
288414e226 Polish up PRE_BOOT notification.
Show progress bar to communicate how much work is left.  When tapped,
trampoline through Settings to launch a help link.

Bug: 30033319
Change-Id: I14afe4ce111a113d1436cbfcf358753312c4ec83
2016-07-25 16:42:34 -06:00
Chris Craik
391d560402 Avoid destroying TextureView surfaces for onStop
bug:30238922

TextureViews will hold onto their backing surfaces, which will allow
them to resume gracefully when the app's surfaces are saved.

Now only resources that are destroyed for onStop are DisplayLists.

Change-Id: Ia768ba9ffc4497c26aa3a5b101a0f5fa1a258b9c
2016-07-25 15:30:00 -07:00
fionaxu
a7ab821aa1 add pii support for Rlog
bug: 30368127
Change-Id: I18b7be483ce3f86f47dfcafa9d84fcb9b8724c08
2016-07-25 15:20:51 -07:00
Michael Kwan
ad74941699 Merge "Add top and bottom panel overlay to lists in AlertDialog for watch." into nyc-mr1-dev 2016-07-25 22:15:39 +00:00