OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Fixed CTS failure due to selecting wrong transition." into oc-dev
Wale Ogunwale [Wed, 24 May 2017 12:28:41 +0000 (12:28 +0000)]
Merge "Fixed CTS failure due to selecting wrong transition." into oc-dev

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Wed, 24 May 2017 11:22:43 +0000 (11:22 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Wed, 24 May 2017 11:22:04 +0000 (11:22 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoMerge "AutoSize TextView - correct pixel transformations" into oc-dev
Andrei Stingaceanu [Wed, 24 May 2017 09:16:42 +0000 (09:16 +0000)]
Merge "AutoSize TextView - correct pixel transformations" into oc-dev

7 years agoMerge "Fix crash due to bad maxLines defined for dialog titles on watch type devices...
TreeHugger Robot [Wed, 24 May 2017 08:07:29 +0000 (08:07 +0000)]
Merge "Fix crash due to bad maxLines defined for dialog titles on watch type devices." into oc-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 24 May 2017 06:34:39 +0000 (23:34 -0700)]
Import translations. DO NOT MERGE

Change-Id: I1398490744462a381ff3a1b49d5b2dcb1bfa49be
Auto-generated-cl: translation import

7 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 24 May 2017 04:43:45 +0000 (21:43 -0700)]
Import translations. DO NOT MERGE

Change-Id: Id0c1ec6484136daab3d72bf5b5277495b2834b25
Auto-generated-cl: translation import

7 years agoMerge "TV PIP: Dismiss notification when the PIP is over" into oc-dev
TreeHugger Robot [Wed, 24 May 2017 04:08:57 +0000 (04:08 +0000)]
Merge "TV PIP: Dismiss notification when the PIP is over" into oc-dev

7 years agoMerge "Re-pin camera odex/vdex files only if they have changed" into oc-dev
TreeHugger Robot [Wed, 24 May 2017 02:49:04 +0000 (02:49 +0000)]
Merge "Re-pin camera odex/vdex files only if they have changed" into oc-dev

7 years agoMerge "Make TextClassifier.getLinks(...) a default method." into oc-dev
Abodunrinwa Toki [Wed, 24 May 2017 01:57:46 +0000 (01:57 +0000)]
Merge "Make TextClassifier.getLinks(...) a default method." into oc-dev

7 years agoMerge "Allow media apps to receive media key events after the phone call" into oc-dev
TreeHugger Robot [Wed, 24 May 2017 01:20:52 +0000 (01:20 +0000)]
Merge "Allow media apps to receive media key events after the phone call" into oc-dev

7 years agoTV PIP: Dismiss notification when the PIP is over
Jaewan Kim [Tue, 23 May 2017 09:34:07 +0000 (18:34 +0900)]
TV PIP: Dismiss notification when the PIP is over

This fixes the regression caused by the previous commit
bad26692d05 Set notification TAG and style in TV PIP notification

Bug: 37249867
Test: Manual test (PIP notification UI was dismissed after closing th
    PIP by notification UI, or PIP controller dialog. Also checked that
    the notification UI was dismissed after the the PIPed activity
    becomes fullscreen.)
Change-Id: I4dc6d1ee8035f89583a5fb49aa6c8fdc40bb49a0

7 years agoRe-pin camera odex/vdex files only if they have changed
Calin Juravle [Tue, 23 May 2017 00:49:01 +0000 (17:49 -0700)]
Re-pin camera odex/vdex files only if they have changed

Test: Camera is re-pinned after
adb shell cmd package compile -f -m extract
com.google.android.GoogleCamera
adb shell cmd package bg-dexopt-job

Bug: 33168521
Change-Id: I5c5e76d1e40b6d433c9a0beba463c86f79ad437e

7 years agoMerge "Fix null deref crash" into oc-dev
TreeHugger Robot [Wed, 24 May 2017 00:41:17 +0000 (00:41 +0000)]
Merge "Fix null deref crash" into oc-dev

7 years agoMerge "Don't keep a reference to Service object" into oc-dev
TreeHugger Robot [Wed, 24 May 2017 00:31:37 +0000 (00:31 +0000)]
Merge "Don't keep a reference to Service object" into oc-dev

7 years agoMerge "audio service: fix rapid succession of A2DP devices connections" into oc-dev
Eric Laurent [Wed, 24 May 2017 00:11:33 +0000 (00:11 +0000)]
Merge "audio service: fix rapid succession of A2DP devices connections" into oc-dev

7 years agoMerge "Fix creating of app theme snapshots" into oc-dev
TreeHugger Robot [Tue, 23 May 2017 23:35:36 +0000 (23:35 +0000)]
Merge "Fix creating of app theme snapshots" into oc-dev

7 years agoMerge "Hide Autofill UI when non-savable id is gone." into oc-dev
TreeHugger Robot [Tue, 23 May 2017 23:28:29 +0000 (23:28 +0000)]
Merge "Hide Autofill UI when non-savable id is gone." into oc-dev

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Tue, 23 May 2017 23:22:24 +0000 (23:22 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoMerge "Resources: fix race with creating theme" into oc-dev
Adam Lesinski [Tue, 23 May 2017 23:14:11 +0000 (23:14 +0000)]
Merge "Resources: fix race with creating theme" into oc-dev

7 years agoFixed CTS failure due to selecting wrong transition.
Wale Ogunwale [Tue, 23 May 2017 17:34:48 +0000 (10:34 -0700)]
Fixed CTS failure due to selecting wrong transition.

ag/2253646 fixed an issue where a starting window can be displayed prematurely.
However, it also prevented an app from being added to the opening apps list if
it was already visible. This caused wrong transition animation to be selected
for the closing app. We now always set the visibility to true even if the app
is already visible so that the app can be added to the opening apps list and
the right transition animation selected. We don't set visibility to false if
the app isn't visible so it isn't added to the closing apps list which covers
the case ag/2253646 attempted to fix.

Bug: 34545029
Change-Id: I06363beb0c524146a8b871eff8157678452c3d1d
Fixes: 38505794
Test: cts/.../run-test android.server.cts.ActivityManagerTransitionSelectionTests

7 years agoMerge "Fix race condition triggered by quick stop/start of Dream" into cw-f-dev am...
Erik Wolsheimer [Tue, 23 May 2017 23:00:03 +0000 (23:00 +0000)]
Merge "Fix race condition triggered by quick stop/start of Dream" into cw-f-dev am: 90a6054805
am: 94b497bccc

Change-Id: I62ab41ed83aa92b12e7fa3c9111a6f97e6ef13ef

7 years agoMerge "Fix race condition triggered by quick stop/start of Dream" into cw-f-dev
Erik Wolsheimer [Tue, 23 May 2017 22:51:25 +0000 (22:51 +0000)]
Merge "Fix race condition triggered by quick stop/start of Dream" into cw-f-dev
am: 90a6054805

Change-Id: I708fda61e866a891238d6dbbfc6a9b901e6da6b3

7 years agoMerge "Respect one-shot click effect config in VibratorService" into oc-dev
TreeHugger Robot [Tue, 23 May 2017 22:46:43 +0000 (22:46 +0000)]
Merge "Respect one-shot click effect config in VibratorService" into oc-dev

7 years agoMerge "Fix race condition triggered by quick stop/start of Dream" into cw-f-dev
TreeHugger Robot [Tue, 23 May 2017 22:44:37 +0000 (22:44 +0000)]
Merge "Fix race condition triggered by quick stop/start of Dream" into cw-f-dev

7 years agoFix null deref crash
John Reck [Tue, 23 May 2017 22:32:08 +0000 (15:32 -0700)]
Fix null deref crash

Change-Id: Ic1a64e926b5faa2f4cf8d079a2b67e0261dcecd7
Fixes: 62035692
Test: manual

7 years agoFix creating of app theme snapshots
Jorim Jaggi [Tue, 23 May 2017 13:07:44 +0000 (15:07 +0200)]
Fix creating of app theme snapshots

Apparently locking a HW bitmap makes it super slow to draw.
Instead, draw it into a bitmap, copy it into a hw bitmap, and then
extract the GraphicBuffer.

Test: Open Camera, go home, reopen camera (and maybe go to recents)
Change-Id: Id2371dcdad95f07a680e6c56c0403b3ad815a3f3
Fixes: 38510859

7 years agoFix crash due to bad maxLines defined for dialog titles on watch type devices.
Michael Kwan [Tue, 23 May 2017 01:13:13 +0000 (18:13 -0700)]
Fix crash due to bad maxLines defined for dialog titles on watch type devices.

Misuse of @empty which explicitly sets the value to null, and should only be used
for objects. Replaced with @null which more accurately means undefined value.

Bug: 38431435
Change-Id: I6a59fc52c2ef9626c561f5bc344c588d22111f6e

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 23 May 2017 21:18:00 +0000 (14:18 -0700)]
Import translations. DO NOT MERGE

Change-Id: I64e965e64592f8a674b099022977a6cf5f26ff79
Auto-generated-cl: translation import

7 years agoMerge "Fix up upstream interface types for case DUN_UNSPECIFIED" into oc-dev
Jayachandran Chinnakkannu [Tue, 23 May 2017 20:42:41 +0000 (20:42 +0000)]
Merge "Fix up upstream interface types for case DUN_UNSPECIFIED" into oc-dev

7 years agoMerge "Fix starting window leak when adding/removing quickly" into oc-dev
TreeHugger Robot [Tue, 23 May 2017 20:32:26 +0000 (20:32 +0000)]
Merge "Fix starting window leak when adding/removing quickly" into oc-dev

7 years agoMake TextClassifier.getLinks(...) a default method.
Abodunrinwa Toki [Tue, 23 May 2017 20:29:39 +0000 (21:29 +0100)]
Make TextClassifier.getLinks(...) a default method.

Fixes: 37907518
Test: cts-tradefed run cts-dev -o -m CtsSignatureTestCases -t
android.signature.cts.SignatureTest

Change-Id: I876781eccb2574ea01b6b460e14afd4e970a01b4

7 years agoResources: fix race with creating theme
Adam Lesinski [Tue, 23 May 2017 20:14:54 +0000 (13:14 -0700)]
Resources: fix race with creating theme

Bug: 38353957
Test: none
Change-Id: Id78770b475b979635da6a4067db6269e3a1b04d6

7 years agoMerge "Revert "Disallow starting activities without new task from non-activity contex...
Bryce Lee [Tue, 23 May 2017 19:50:21 +0000 (19:50 +0000)]
Merge "Revert "Disallow starting activities without new task from non-activity context."" into oc-dev

7 years agoRevert "Disallow starting activities without new task from non-activity context."
Bryce Lee [Tue, 23 May 2017 19:46:59 +0000 (19:46 +0000)]
Revert "Disallow starting activities without new task from non-activity context."

This reverts commit 8b49a5c0aa18f70bc59b972e888d5ad455e4d7ca.

Change-Id: I7d2da4ac72ca578942b38fccf8b151f3a2ed081f

7 years agoMerge "Filter package manager calls" into oc-dev
TreeHugger Robot [Tue, 23 May 2017 19:26:11 +0000 (19:26 +0000)]
Merge "Filter package manager calls" into oc-dev

7 years agoMerge "Add new task flag when starting chooser activity in bug report." into oc-dev
Bryce Lee [Tue, 23 May 2017 19:21:07 +0000 (19:21 +0000)]
Merge "Add new task flag when starting chooser activity in bug report." into oc-dev

7 years agoMerge "Fix recent apps in system UI for Skia pipeline" into oc-dev
TreeHugger Robot [Tue, 23 May 2017 19:19:34 +0000 (19:19 +0000)]
Merge "Fix recent apps in system UI for Skia pipeline" into oc-dev

7 years agoHide Autofill UI when non-savable id is gone.
Felipe Leme [Thu, 18 May 2017 22:24:11 +0000 (15:24 -0700)]
Hide Autofill UI when non-savable id is gone.

AutofillManager keeps track of which views the AutofillServiec is interested to
save, so when these views are gone, the session is finished.

But when the AutofillService returns a dataset whose views it can not save,
the FillUi for these views are not hiding when the views are gone. This CL
fixes this issue by:

- Keeping track which non-savable views should be tracked.
- Pass the view (instead of it's id) when the UI on such views should be hid.

This CL also optimized some AIDL and internal calls by avoiding the creating of
unnecessary Lists.

Test: manual verification with Snapchat
Test: existing CtsAutoFillServiceTestCases pass
Test: new tests on MultipleFragmentLoginTest pass

Fixes: 38199452
Change-Id: I78fa357962dbc6667146d8e08cd6bacb63e0f337

7 years agoMerge "Fixed unminimizing during battery saving mode" into oc-dev
TreeHugger Robot [Tue, 23 May 2017 17:44:04 +0000 (17:44 +0000)]
Merge "Fixed unminimizing during battery saving mode" into oc-dev

7 years agoFix recent apps in system UI for Skia pipeline
Stan Iliev [Mon, 22 May 2017 19:02:25 +0000 (15:02 -0400)]
Fix recent apps in system UI for Skia pipeline

Enable HW Bitmaps for Skia pipelines by using a readback to
convert GraphicBuffer into a raster SkImage. Both BitmapShader
and drawing HW bitmaps into a canvas are supported.

Test: recent apps work, no memory leaks, CTS graphics and
UiRendering tests passed, HWUI unit test passed
bug: 38136140
Change-Id: I23fed5febad3b1009e0417fb7e21a347a8d11b0d
Merged-In: I23fed5febad3b1009e0417fb7e21a347a8d11b0d

7 years agoaudio service: fix rapid succession of A2DP devices connections
Eric Laurent [Tue, 23 May 2017 17:39:38 +0000 (10:39 -0700)]
audio service: fix rapid succession of A2DP devices connections

commit dae476f7330 introduced a potential problem when a different BT A2DP
device is connected just after disconnecting one.

Bug: 37499793
Test: check connection to new BT A2DP device when one is already connected.
Change-Id: I8055844822fcc1640cca67fab2cba629c93f7cfa

7 years agoMerge "Improve time to texture destruction" into oc-dev
John Reck [Tue, 23 May 2017 17:38:36 +0000 (17:38 +0000)]
Merge "Improve time to texture destruction" into oc-dev

7 years agoDon't keep a reference to Service object
Amith Yamasani [Mon, 22 May 2017 22:10:47 +0000 (15:10 -0700)]
Don't keep a reference to Service object

This is a potential fix for a global reference leak in the
system process by a JobService in an app.

Bug: 38467796
Test: manual
Change-Id: I8756c39ac77bead068c88fce750c4024f9ac1c03

7 years agoMerge "batterymeter -> just meter." into oc-dev
Daniel Nishi [Tue, 23 May 2017 17:35:14 +0000 (17:35 +0000)]
Merge "batterymeter -> just meter." into oc-dev

7 years agoMerge "Fix window affecting SysUi visibility for once and all" into oc-dev
TreeHugger Robot [Tue, 23 May 2017 16:58:38 +0000 (16:58 +0000)]
Merge "Fix window affecting SysUi visibility for once and all" into oc-dev

7 years agoMerge "Fix issue with TV PIP clobbering resize on orientation change." into oc-dev
TreeHugger Robot [Tue, 23 May 2017 16:54:44 +0000 (16:54 +0000)]
Merge "Fix issue with TV PIP clobbering resize on orientation change." into oc-dev

7 years agoMerge "Convert Shader to NativeAllocationRegistry" into oc-dev
John Reck [Tue, 23 May 2017 16:43:37 +0000 (16:43 +0000)]
Merge "Convert Shader to NativeAllocationRegistry" into oc-dev

7 years agoMerge "SurfaceView: Wait to gather transparent region." into oc-dev
Rob Carr [Tue, 23 May 2017 16:30:57 +0000 (16:30 +0000)]
Merge "SurfaceView: Wait to gather transparent region." into oc-dev

7 years agoFix starting window leak when adding/removing quickly
Jorim Jaggi [Tue, 23 May 2017 16:00:48 +0000 (18:00 +0200)]
Fix starting window leak when adding/removing quickly

The following race condition may happen when transferring starting
windows:
- Add thread (android.anim) calls Snapshot.create
- Remove thread (android.display!) checks that yes there is a
starting window, but no surface yet. Thus, it nulls out everything.
- Add thread returns from Snapshot.create: container.startingData
is null but startingWindow is also null. Thus, we never set
abort=true and we never set the starting window properly or remove
it properly.

Test: Some basic starting window sanity testing. Otherwise, pray
to the race condition gods.
Test: AppWindowContainerControllerTests#testAddRemoveRace
Fixes: 37888853

Change-Id: Ia287bfa52f708b36ff93ef7cd45a0d080bd4dd9c

7 years agoAdd new task flag when starting chooser activity in bug report.
Bryce Lee [Tue, 23 May 2017 16:02:09 +0000 (09:02 -0700)]
Add new task flag when starting chooser activity in bug report.

This flag is required whenever starting an activity from a
non-activity context.

Change-Id: Ia77e6e7801d712a20d407bc2ac92e543bc287010
Fixes: 62016780
Test: Click on generated bug report notification

7 years agoMerge "Fix FloatingToolbar refresh on menu changes." into oc-dev
TreeHugger Robot [Tue, 23 May 2017 16:01:31 +0000 (16:01 +0000)]
Merge "Fix FloatingToolbar refresh on menu changes." into oc-dev

7 years agoMerge "Ensure FloatingActionMode has a non-null FloatingToolbar." into oc-dev
TreeHugger Robot [Tue, 23 May 2017 15:57:44 +0000 (15:57 +0000)]
Merge "Ensure FloatingActionMode has a non-null FloatingToolbar." into oc-dev

7 years agoUse channel warning development setting.
Geoffrey Pitsch [Thu, 11 May 2017 16:57:22 +0000 (12:57 -0400)]
Use channel warning development setting.

Defaults to enabled for debuggable builds.

Bug: 37945054
Bug: 38380608
Test: manual
Change-Id: I1b67f55d507e31349908953abbf04ac764835915

7 years agoFix window affecting SysUi visibility for once and all
Jorim Jaggi [Tue, 23 May 2017 14:05:35 +0000 (16:05 +0200)]
Fix window affecting SysUi visibility for once and all

This unforunately introduces another quasi-visibiltiy method but
I think this is the best solution, as the code is pretty clean.

Test: Navigate through, settings, make sure no flickering
Test: Launch music from notification
Test: Launch United app
Test: Go settings -> app -> settings repeadetly 100 times, make
sure light bar transition is always clean
Fixes: 38216281

Change-Id: I0b97334dea3bfef2966ad0c7dd8bbd9907f2574c

7 years agoMerge "Ignore a bunch of systemui tests until flakes are found" into oc-dev
Geoffrey Pitsch [Tue, 23 May 2017 14:28:56 +0000 (14:28 +0000)]
Merge "Ignore a bunch of systemui tests until flakes are found" into oc-dev

7 years agoIgnore a bunch of systemui tests until flakes are found
Geoffrey Pitsch [Mon, 22 May 2017 19:20:20 +0000 (15:20 -0400)]
Ignore a bunch of systemui tests until flakes are found

Test: runtest systemui
Bug: 38500852
Change-Id: I54f0e868bd9432758ff21a344631b6888bc83a4b

7 years agoMerge "Reset Keyguard when clicking emergency call button" into oc-dev
Jorim Jaggi [Tue, 23 May 2017 11:04:21 +0000 (11:04 +0000)]
Merge "Reset Keyguard when clicking emergency call button" into oc-dev

7 years agoMerge "Re-run pinner service on camera app update and dex optimization." into oc-dev
TreeHugger Robot [Tue, 23 May 2017 09:24:13 +0000 (09:24 +0000)]
Merge "Re-run pinner service on camera app update and dex optimization." into oc-dev

7 years agoMerge "Check network info for metering state on AccessPoint." into oc-dev
TreeHugger Robot [Tue, 23 May 2017 08:29:45 +0000 (08:29 +0000)]
Merge "Check network info for metering state on AccessPoint." into oc-dev

7 years agoAllow media apps to receive media key events after the phone call
Jaewan Kim [Thu, 18 May 2017 04:23:11 +0000 (13:23 +0900)]
Allow media apps to receive media key events after the phone call

This CL makes the global priority session (i.e. media session of the
Telecom) to be received media key events only if it's active.
This makes the global priority session as an exception of the media
button handling logic, which sends the media key events to the lastly
played media app.

Bug: 37910759
Test: Run CTS tests (MediaSessionTest, MediaSessionManagerTest,
   and CtsMediaHostTestCases) and manual test (Media apps receives the
   media keys after the phone call, and was able to answer/end the call)
Change-Id: I080dfcae9c9690628ed339ad9325633d818a9591

7 years agoCheck network info for metering state on AccessPoint.
Stephen Chen [Fri, 19 May 2017 22:55:02 +0000 (15:55 -0700)]
Check network info for metering state on AccessPoint.

This resolves bug where networks manually marked as metered by Settings
UI were not tagged with a metered friction icon in the Wi-Fi picker.

Bug: 38460378
Test: runtest --path
frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/AccessPointTest.java

Change-Id: I2ffe25e898ac001549e7d7492a2aa335ee415a4e

7 years agoMerge "Revert "Changed alert window notifications to use single channel"" into oc-dev
TreeHugger Robot [Tue, 23 May 2017 03:32:38 +0000 (03:32 +0000)]
Merge "Revert "Changed alert window notifications to use single channel"" into oc-dev

7 years agoSurfaceView: Wait to gather transparent region.
Robert Carr [Mon, 22 May 2017 21:57:48 +0000 (14:57 -0700)]
SurfaceView: Wait to gather transparent region.

With the introduction of surfaceRedrawNeededAsync we may
be asked to gather the transparent region ahead of the SurfaceView
having been drawn.

Bug: 38324871
Test: Launch Chrome Canary a lot! No Flickers.
Change-Id: I35f09a1bb8316895fa704b10c912e64a8920bd90

7 years agoMerge "SurfaceView: Don't destroy Surface while Stopped." into oc-dev
TreeHugger Robot [Tue, 23 May 2017 02:32:13 +0000 (02:32 +0000)]
Merge "SurfaceView: Don't destroy Surface while Stopped." into oc-dev

7 years agoMerge "Restore resetKeyStore() logic of clearing SYSTEM uid" into oc-dev
TreeHugger Robot [Tue, 23 May 2017 01:45:37 +0000 (01:45 +0000)]
Merge "Restore resetKeyStore() logic of clearing SYSTEM uid" into oc-dev

7 years agoRevert "Changed alert window notifications to use single channel"
Wale Ogunwale [Tue, 23 May 2017 01:43:59 +0000 (01:43 +0000)]
Revert "Changed alert window notifications to use single channel"

This reverts commit 8f7bebca3656f4993edef290e62c960f245ff373.

We now want multiple channels so the user can disable which ever ones they like.

Change-Id: I6015cd5f1e3f37a8a01e1db42b57a94087780304
Fixes: 38428796
Bug: 37422870

7 years agoZygoteInit: Remove CAP_SYS_RESOURCE am: 4911af2b8c am: 1cc9ec47c8 am: 8965cd6a39...
Nick Kralevich [Tue, 23 May 2017 01:37:59 +0000 (01:37 +0000)]
ZygoteInit: Remove CAP_SYS_RESOURCE am: 4911af2b8c am: 1cc9ec47c8 am: 8965cd6a39 am: 47beaa8fab am: 55c8a1ede9 am: 66a08a5413 am: 7a06357519 am: a07389b446 am: 5f4382e2a6 am: 3946a75cb3 am: 3c529012d3
am: ce8a0dea71

Change-Id: I9cd7b091b2ce4640a1d7729fb081aef9a3186ab8

7 years agosystem_server: add CAP_SYS_PTRACE am: 966619d0ab am: b8d972e973 am: c46889e2d2 am...
Nick Kralevich [Tue, 23 May 2017 01:36:35 +0000 (01:36 +0000)]
system_server: add CAP_SYS_PTRACE am: 966619d0ab am: b8d972e973 am: c46889e2d2 am: f5bd84b82d am: 982b8018af am: 7fd2d8ea31 am: 5bfe82c3ee am: 12c5f0da9f am: dc87ac995a am: 02f0044d98 am: 6cadbad153
am: fdf1fdfc1b  -s ours

Change-Id: If386c7ba25e1c8d1730e7191abb48ba75971d8af

7 years agoMerge "Bump overlay version number." into oc-dev
TreeHugger Robot [Tue, 23 May 2017 01:20:33 +0000 (01:20 +0000)]
Merge "Bump overlay version number." into oc-dev

7 years agoFix issue with TV PIP clobbering resize on orientation change.
Winson Chung [Tue, 23 May 2017 00:41:06 +0000 (17:41 -0700)]
Fix issue with TV PIP clobbering resize on orientation change.

- When the device rotates due to a test that requests a specific
  orientation, the TV PiP logic was resizing the state back to
  mDefaultPipBounds, which doesn't change depending on orientation change,
  clobbering the bounds in the new orientation that were calculated in WM.
  Since TV does not really care about the rotation case, we can just
  ignore the configuration changes due to orientation changes for the sake
  of passing the common CTS tests across handhelds and TV.

Bug: 38246863
Test: android.server.cts.ActivityManagerPinnedStackTests
Change-Id: Id7988a0b02f14f67908d3202cdd73b186d9fea16

7 years agoZygoteInit: Remove CAP_SYS_RESOURCE am: 4911af2b8c am: 1cc9ec47c8 am: 8965cd6a39...
Nick Kralevich [Tue, 23 May 2017 00:39:49 +0000 (00:39 +0000)]
ZygoteInit: Remove CAP_SYS_RESOURCE am: 4911af2b8c am: 1cc9ec47c8 am: 8965cd6a39 am: 47beaa8fab am: 55c8a1ede9 am: 66a08a5413 am: 7a06357519 am: a07389b446 am: 5f4382e2a6 am: 3946a75cb3
am: 3c529012d3

Change-Id: I9b3ea4577928b601f81525390fa6dae525275323

7 years agosystem_server: add CAP_SYS_PTRACE am: 966619d0ab am: b8d972e973 am: c46889e2d2 am...
Nick Kralevich [Tue, 23 May 2017 00:38:33 +0000 (00:38 +0000)]
system_server: add CAP_SYS_PTRACE am: 966619d0ab am: b8d972e973 am: c46889e2d2 am: f5bd84b82d am: 982b8018af am: 7fd2d8ea31 am: 5bfe82c3ee am: 12c5f0da9f am: dc87ac995a am: 02f0044d98
am: 6cadbad153

Change-Id: I05c01c682c89b4ae42ef9f66a94da611c7378148

7 years agoZygoteInit: Remove CAP_SYS_RESOURCE am: 4911af2b8c am: 1cc9ec47c8 am: 8965cd6a39...
Nick Kralevich [Tue, 23 May 2017 00:25:35 +0000 (00:25 +0000)]
ZygoteInit: Remove CAP_SYS_RESOURCE am: 4911af2b8c am: 1cc9ec47c8 am: 8965cd6a39 am: 47beaa8fab am: 55c8a1ede9 am: 66a08a5413 am: 7a06357519 am: a07389b446 am: 5f4382e2a6
am: 3946a75cb3

Change-Id: I9992c35cfc2b2ad8c4bbff7bf4bf9ca79b6f4568

7 years agoMerge "Blanket deny instant apps from some methods" into oc-dev
TreeHugger Robot [Tue, 23 May 2017 00:24:35 +0000 (00:24 +0000)]
Merge "Blanket deny instant apps from some methods" into oc-dev

7 years agosystem_server: add CAP_SYS_PTRACE am: 966619d0ab am: b8d972e973 am: c46889e2d2 am...
Nick Kralevich [Tue, 23 May 2017 00:24:33 +0000 (00:24 +0000)]
system_server: add CAP_SYS_PTRACE am: 966619d0ab am: b8d972e973 am: c46889e2d2 am: f5bd84b82d am: 982b8018af am: 7fd2d8ea31 am: 5bfe82c3ee am: 12c5f0da9f am: dc87ac995a
am: 02f0044d98

Change-Id: I8fbd6580c4b6c1595b0ff1c34faaec5e1b9ad4de

7 years agoMerge "Align preference text to actionbar title." into oc-dev
TreeHugger Robot [Tue, 23 May 2017 00:22:44 +0000 (00:22 +0000)]
Merge "Align preference text to actionbar title." into oc-dev

7 years agoZygoteInit: Remove CAP_SYS_RESOURCE am: 4911af2b8c am: 1cc9ec47c8 am: 8965cd6a39...
Nick Kralevich [Tue, 23 May 2017 00:18:31 +0000 (00:18 +0000)]
ZygoteInit: Remove CAP_SYS_RESOURCE am: 4911af2b8c am: 1cc9ec47c8 am: 8965cd6a39 am: 47beaa8fab am: 55c8a1ede9 am: 66a08a5413 am: 7a06357519 am: a07389b446
am: 5f4382e2a6

Change-Id: Ieab172a133b0d9198cef008b037c4a1107d0746c

7 years agosystem_server: add CAP_SYS_PTRACE am: 966619d0ab am: b8d972e973 am: c46889e2d2 am...
Nick Kralevich [Tue, 23 May 2017 00:17:22 +0000 (00:17 +0000)]
system_server: add CAP_SYS_PTRACE am: 966619d0ab am: b8d972e973 am: c46889e2d2 am: f5bd84b82d am: 982b8018af am: 7fd2d8ea31 am: 5bfe82c3ee am: 12c5f0da9f
am: dc87ac995a

Change-Id: Ic7e65852a72cde3d2e285774e9cb85e9590e7fd2

7 years agoImprove time to texture destruction
John Reck [Mon, 22 May 2017 22:04:21 +0000 (15:04 -0700)]
Improve time to texture destruction

Eliminate textureCache.mGarbage which is only cleared
in a trimMemory. Instead when we hit ~Bitmap post a
message to RenderThread to release the texture immediately

Bug: 38258699
Test: manual
Change-Id: I962ba275e89afb628ba02f74769287edbab9fed4

7 years agoRe-run pinner service on camera app update and dex optimization.
Carmen Jackson [Tue, 16 May 2017 17:37:26 +0000 (10:37 -0700)]
Re-run pinner service on camera app update and dex optimization.

When the camera app updates or the dex files are optimized, the files
that have been pinned by the pinner service fall out of date. The next
time they're used, they will be paged in like normal. This change
un-pins and re-pins the Camera app when the user's camera app updates,
as well as when background dex optimization finishes.

Bug: 33168521
Test: Manual. Here's a logcat of PinnerService activity while I ran the
following commands:

$ flashall -w
$ adb install -r -d --force-sdk [new camera app].apk
Success
$ adb root
restarting adbd as root
$ adb shell cmd package bg-dexopt-job

SystemServer: PinnerService
SystemServiceManager: Starting com.android.server.PinnerService
PinnerService: Starting PinnerService
SystemServerTiming: PinnerService took to complete: 2ms
PinnerService: Pinned file = /system/framework/arm64/boot-framework.oat
PinnerService: Pinned file = /system/framework/arm64/boot-framework.vdex
PinnerService: Pinned file = /system/framework/oat/arm64/services.odex
PinnerService: Pinned file = /system/framework/oat/arm64/services.vdex
PinnerService: Pinned file = /system/framework/arm64/boot.oat
PinnerService: Pinned file = /system/framework/arm64/boot.vdex
PinnerService: Pinned file =
/system/framework/arm64/boot-core-libart.oat
PinnerService: Pinned file =
/system/framework/arm64/boot-core-libart.vdex
PinnerService: Pinned /system/app/GoogleCamera/GoogleCamera.apk
PinnerService: Pinned
/data/dalvik-cache/arm64/system@app@GoogleCamera@GoogleCamera.apk@classes.dex
PinnerService: Updating pinned files.
PinnerService: Unpinned file /system/app/GoogleCamera/GoogleCamera.apk
PinnerService: Unpinned file
/data/dalvik-cache/arm64/system@app@GoogleCamera@GoogleCamera.apk@classes.dex
PinnerService: Pinned
/data/app/com.google.android.GoogleCamera-vVji3RQcPHS1Lzqh1WjY1g==/base.apk
PinnerService: Pinned
/data/app/com.google.android.GoogleCamera-vVji3RQcPHS1Lzqh1WjY1g==/oat/arm64/base.odex
PinnerService: Updating pinned files.
PinnerService: Unpinned file
/data/app/com.google.android.GoogleCamera-vVji3RQcPHS1Lzqh1WjY1g==/base.apk
PinnerService: Unpinned file
/data/app/com.google.android.GoogleCamera-vVji3RQcPHS1Lzqh1WjY1g==/oat/arm64/base.odex
PinnerService: Pinned
/data/app/com.google.android.GoogleCamera-vVji3RQcPHS1Lzqh1WjY1g==/base.apk
PinnerService: Pinned
/data/app/com.google.android.GoogleCamera-vVji3RQcPHS1Lzqh1WjY1g==/oat/arm64/base.odex

Change-Id: I10d72d6a3d1717773324913362a638f199d49bc9

7 years agoZygoteInit: Remove CAP_SYS_RESOURCE am: 4911af2b8c am: 1cc9ec47c8 am: 8965cd6a39...
Nick Kralevich [Tue, 23 May 2017 00:07:43 +0000 (00:07 +0000)]
ZygoteInit: Remove CAP_SYS_RESOURCE am: 4911af2b8c am: 1cc9ec47c8 am: 8965cd6a39 am: 47beaa8fab am: 55c8a1ede9 am: 66a08a5413 am: 7a06357519
am: a07389b446

Change-Id: I5e8fdff89b3d8d1e36f24767dc60efa1dc352dcb

7 years agosystem_server: add CAP_SYS_PTRACE am: 966619d0ab am: b8d972e973 am: c46889e2d2 am...
Nick Kralevich [Tue, 23 May 2017 00:06:55 +0000 (00:06 +0000)]
system_server: add CAP_SYS_PTRACE am: 966619d0ab am: b8d972e973 am: c46889e2d2 am: f5bd84b82d am: 982b8018af am: 7fd2d8ea31 am: 5bfe82c3ee
am: 12c5f0da9f

Change-Id: I8ce1d6a2399967cf0408adf7ffbe1839f471e1e7

7 years agoMerge "Clearing up invalid entries when SyncStorageEngine starts" into oc-dev
TreeHugger Robot [Tue, 23 May 2017 00:02:13 +0000 (00:02 +0000)]
Merge "Clearing up invalid entries when SyncStorageEngine starts" into oc-dev

7 years agoMerge "Skip ConnOnActivityStartTest and CoreSettingsObserverTest." into oc-dev
Sudheer Shanka [Tue, 23 May 2017 00:01:54 +0000 (00:01 +0000)]
Merge "Skip ConnOnActivityStartTest and CoreSettingsObserverTest." into oc-dev

7 years agoRespect one-shot click effect config in VibratorService
Erik Wolsheimer [Mon, 22 May 2017 23:58:18 +0000 (16:58 -0700)]
Respect one-shot click effect config in VibratorService

Bug: 37248030
Change-Id: Ic0d687639bf9870813276578165132adec445a93

7 years agoMerge "Read cpu freq data only when needed." into oc-dev
Sudheer Shanka [Mon, 22 May 2017 23:51:56 +0000 (23:51 +0000)]
Merge "Read cpu freq data only when needed." into oc-dev

7 years agoZygoteInit: Remove CAP_SYS_RESOURCE am: 4911af2b8c am: 1cc9ec47c8 am: 8965cd6a39...
Nick Kralevich [Mon, 22 May 2017 23:51:48 +0000 (23:51 +0000)]
ZygoteInit: Remove CAP_SYS_RESOURCE am: 4911af2b8c am: 1cc9ec47c8 am: 8965cd6a39 am: 47beaa8fab am: 55c8a1ede9 am: 66a08a5413
am: 7a06357519

Change-Id: I9301189268f519d4b87d8c9bfa88d1da4e8a53cd

7 years agosystem_server: add CAP_SYS_PTRACE am: 966619d0ab am: b8d972e973 am: c46889e2d2 am...
Nick Kralevich [Mon, 22 May 2017 23:50:57 +0000 (23:50 +0000)]
system_server: add CAP_SYS_PTRACE am: 966619d0ab am: b8d972e973 am: c46889e2d2 am: f5bd84b82d am: 982b8018af am: 7fd2d8ea31
am: 5bfe82c3ee

Change-Id: I95333a7ff3d6ee1a3161d436a2a0b312931b663e

7 years agoMerge "Fixes landscape minimized bounds for launcher hiding widget control" into...
TreeHugger Robot [Mon, 22 May 2017 23:50:06 +0000 (23:50 +0000)]
Merge "Fixes landscape minimized bounds for launcher hiding widget control" into oc-dev

7 years agoZygoteInit: Remove CAP_SYS_RESOURCE am: 4911af2b8c am: 1cc9ec47c8 am: 8965cd6a39...
Nick Kralevich [Mon, 22 May 2017 23:36:12 +0000 (23:36 +0000)]
ZygoteInit: Remove CAP_SYS_RESOURCE am: 4911af2b8c am: 1cc9ec47c8 am: 8965cd6a39 am: 47beaa8fab am: 55c8a1ede9
am: 66a08a5413

Change-Id: Ica5cb7828a37bd597dc0d83f7a65e89380d1e31c

7 years agosystem_server: add CAP_SYS_PTRACE am: 966619d0ab am: b8d972e973 am: c46889e2d2 am...
Nick Kralevich [Mon, 22 May 2017 23:35:04 +0000 (23:35 +0000)]
system_server: add CAP_SYS_PTRACE am: 966619d0ab am: b8d972e973 am: c46889e2d2 am: f5bd84b82d am: 982b8018af
am: 7fd2d8ea31

Change-Id: I4b57d119b9b8d512a017ede0fb62658fb25f9580

7 years agoMerge "Properly defer entrance animations until after the stack is reloaded." into...
Winson Chung [Mon, 22 May 2017 23:20:09 +0000 (23:20 +0000)]
Merge "Properly defer entrance animations until after the stack is reloaded." into oc-dev

7 years agoZygoteInit: Remove CAP_SYS_RESOURCE am: 4911af2b8c am: 1cc9ec47c8 am: 8965cd6a39...
Nick Kralevich [Mon, 22 May 2017 23:19:09 +0000 (23:19 +0000)]
ZygoteInit: Remove CAP_SYS_RESOURCE am: 4911af2b8c am: 1cc9ec47c8 am: 8965cd6a39 am: 47beaa8fab
am: 55c8a1ede9

Change-Id: Ia3e4d749c5b5475640325fd47eb4260d52e61365

7 years agosystem_server: add CAP_SYS_PTRACE am: 966619d0ab am: b8d972e973 am: c46889e2d2 am...
Nick Kralevich [Mon, 22 May 2017 23:18:24 +0000 (23:18 +0000)]
system_server: add CAP_SYS_PTRACE am: 966619d0ab am: b8d972e973 am: c46889e2d2 am: f5bd84b82d
am: 982b8018af

Change-Id: I8cb5052694668ee8021f75778244e4d1b6cc3bb5

7 years agoMerge "Revert "Upgrade logging for UsbDeviceManager to narrow down bugs."" into oc-dev
Jerry Zhang [Mon, 22 May 2017 23:13:53 +0000 (23:13 +0000)]
Merge "Revert "Upgrade logging for UsbDeviceManager to narrow down bugs."" into oc-dev

7 years agoZygoteInit: Remove CAP_SYS_RESOURCE am: 4911af2b8c am: 1cc9ec47c8 am: 8965cd6a39
Nick Kralevich [Mon, 22 May 2017 23:02:54 +0000 (23:02 +0000)]
ZygoteInit: Remove CAP_SYS_RESOURCE am: 4911af2b8c am: 1cc9ec47c8 am: 8965cd6a39
am: 47beaa8fab

Change-Id: Ie697e5e8bfb7664b410d564a84ae5784be890f90

7 years agosystem_server: add CAP_SYS_PTRACE am: 966619d0ab am: b8d972e973 am: c46889e2d2
Nick Kralevich [Mon, 22 May 2017 23:02:13 +0000 (23:02 +0000)]
system_server: add CAP_SYS_PTRACE am: 966619d0ab am: b8d972e973 am: c46889e2d2
am: f5bd84b82d

Change-Id: I163a9224d6b0ff5f42f52656773e1c297661b977

7 years agoFix FloatingToolbar refresh on menu changes.
Abodunrinwa Toki [Mon, 22 May 2017 14:20:18 +0000 (15:20 +0100)]
Fix FloatingToolbar refresh on menu changes.

 Also includes some minor code clean ups.

Fixes: 38465735
Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest
bit CtsWidgetTestCases:android.widget.cts.TextViewTest

Change-Id: Ie87cc256b77b3ec5732f49c000ce4845130fc91c

7 years agoMerge "Fix Companion UI crash on configuration change" into oc-dev
Eugene Susla [Mon, 22 May 2017 22:54:34 +0000 (22:54 +0000)]
Merge "Fix Companion UI crash on configuration change" into oc-dev