Commit Graph

309172 Commits

Author SHA1 Message Date
TreeHugger Robot
74c73c2105 Merge "Fix error logging level in WifiNetworkScoreCache." 2017-02-10 20:32:05 +00:00
Doris Liu
6d45209205 Fix reverse with start delay
Test: cts in the same topic branch

Change-Id: Ie8793f25d39e0104c880f1a873f68650b918bffa
2017-02-10 12:21:11 -08:00
TreeHugger Robot
d57f1781b1 Merge "Update framework to use new SkColorSpace API" 2017-02-10 20:20:56 +00:00
Mathias Agopian
e68b4f73a9 separate the JNI part of the NDK into their own source
Test: built and booted device
Bug: 35164655
Change-Id: I944c9f28730b82e8c428b5384dc57e1b296144b2
2017-02-10 20:07:33 +00:00
Mathias Agopian
a43d232575 Merge "fallout from view::Surface / Surface split" 2017-02-10 20:05:02 +00:00
TreeHugger Robot
ca4e4e5eae Merge "Fix incorrect header highlight when in single-pane." 2017-02-10 20:02:57 +00:00
Chris Tate
600c3f38e0 Merge "Put shell on the idle/background whitelist" 2017-02-10 19:58:25 +00:00
TreeHugger Robot
077bf66250 Merge "Clear mExtraDataKeys when clearing A11yNodeInfo." 2017-02-10 19:58:09 +00:00
Christopher Tate
3283079e5e Put shell on the idle/background whitelist
Bug 35229549

Change-Id: I9f7dd66c37af9c28c9f0714be4358b94930c2d32
2017-02-10 11:42:23 -08:00
Romain Guy
e8d2ebb5c2 Report bitmap config when decoding only metadata
With the introduction of support for 16 bit images, bitmaps returned
by BitmapFactory may be using the RGBA_F16 configuration. Some apps
and libraries assume the returned configuration is always ARGB_8888
and make assumptions based on that to compute cache sizes, etc.

This changes extract the output config when BitmapFactory is invoked
with the inJustDecodeBounds option. Despite its name, this option
is already used (and documented!) to decode more than bounds as it
also decodes the MIME type.

Bug: 35108998
Test: CtsGraphicsTestCases
Change-Id: If71959751458816678e42b21ab26c889aba5dea0
2017-02-10 11:37:54 -08:00
Vladislav Kaznacheev
4d2c60145c Introduce a minimum scrollbar touch target size
Currently a default scrollbar is fairly hard to grab with
a mouse as it is sometimes as narrow as 8dp.

Introduce a larger touch target configured by
config_minScrollbarTouchTarget

Bug: 35114313
Test: manual
Change-Id: Ib15b24e5a82ea912ec5837d965319b758b4d9b6b
2017-02-10 11:27:10 -08:00
TreeHugger Robot
62185042fa Merge "Import translations. DO NOT MERGE" 2017-02-10 19:10:35 +00:00
Yifan Hong
41894b468d Merge "android.os.HwBinder.getService() in Java respects VINTF." am: 01f374c635 am: 71e77c865b am: 2e943c5379
am: 229e2d09ce

Change-Id: I12223be235ec60ef67c8e327226b816d7843bad9
2017-02-10 18:57:22 +00:00
Yifan Hong
229e2d09ce Merge "android.os.HwBinder.getService() in Java respects VINTF." am: 01f374c635 am: 71e77c865b
am: 2e943c5379

Change-Id: Ibbf18bc51e146abef1ab211614a98ec59031b1b9
2017-02-10 18:53:07 +00:00
Fyodor Kupolov
456d7c1ffc Merge "Log.wtf all privapp-permissions in a single message" 2017-02-10 18:50:32 +00:00
Yohei Yukawa
0d7aff8ab2 Inline IMMS#resetAllInternalStateLocked()
Currently IMMS#resetAllInternalStateLocked(boolean, boolean) has
only two call sites, and the first parameter is the constant for
each call site.  We can get much simpler code by inlining the
method in question into those two call sites. It actually revealed
that UNBIND_REASON_RESET_IME should have been called
UNBIND_REASON_SWITCH_USER.

Test: no behavior change
Test: adb shell dumpsys input_method | grep "mMethodMapUpdateCount="
      to make sure that switching users can cause the same count
      increase.
Test: adb shell dumpsys input_method | grep "mMethodMapUpdateCount="
      to make sure that switching the device locale can cause the
      same count increase.
Bug: 35079353
Change-Id: I63388402369f58d11fdb21b508eb2051ff39fa5b
2017-02-10 10:50:32 -08:00
Yohei Yukawa
e073306d77 Track update count of IMMS#mMethodMap
InputMethodManagerService#buildInputMethodListLocked() is known be
one of the biggest contributors to CPU and I/O bandwidth consumed
by InputMethodManagerService (IMMS). To check when it gets called
and to see how a CL would affect its call count, it would be useful
if we can easily get the call count of that method.

With this CL, how many times IMMS#mMethodMap was rebuilt will be
included in the dumpsys.

Test: adb shell dumpsys input_method | grep "mMethodMapUpdateCount="
      to make sure the count is increasing.
Bug: 32343335
Change-Id: I05850578cbf2e6adfea6c7e9b1fb9ec4e9d5e2c9
2017-02-10 10:50:31 -08:00
Yifan Hong
2e943c5379 Merge "android.os.HwBinder.getService() in Java respects VINTF." am: 01f374c635
am: 71e77c865b

Change-Id: I37c99d5135046c6b0d2589f321cd8e4b235392e7
2017-02-10 18:48:14 +00:00
Alan Viverette
6b524c9c53 Merge "Don't scroll popup parent in response to parent scrolling" into nyc-mr2-dev am: 41023417e7
am: 07a6ff6989

Change-Id: If7b5bd47dd0582ea2b6dec98207cac16058f4bc5
2017-02-10 18:48:13 +00:00
Alan Viverette
07a6ff6989 Merge "Don't scroll popup parent in response to parent scrolling" into nyc-mr2-dev
am: 41023417e7

Change-Id: I4e42386e1f227e2cb48bf37eb05bcf7f81b6d709
2017-02-10 18:43:47 +00:00
Yifan Hong
71e77c865b Merge "android.os.HwBinder.getService() in Java respects VINTF."
am: 01f374c635

Change-Id: I1db3c946211861e6edd7c03d9eaeae7a0cb412c4
2017-02-10 18:43:37 +00:00
Paul Lawrence
39139358e5 Expand seccomp whitelist
Bug: 34763393
Test: cts test android.os.cts.SeccompTest now passes
Change-Id: I8907074485395015a03119700543ff33fdd8e214
2017-02-10 10:42:07 -08:00
Geoffrey Pitsch
63b55435e8 Disable StatusBarTests due to flakes.
Looks like it relies on some global state.

Test: runtest systemui
Change-Id: If4add9e551bbaef5580df2532f937345c9e69d32
2017-02-10 13:37:03 -05:00
TreeHugger Robot
41023417e7 Merge "Don't scroll popup parent in response to parent scrolling" into nyc-mr2-dev 2017-02-10 18:35:37 +00:00
Yifan Hong
01f374c635 Merge "android.os.HwBinder.getService() in Java respects VINTF." 2017-02-10 18:33:42 +00:00
Matt Sarett
89ddb1f164 Update framework to use new SkColorSpace API
Test: This compiles with SK_USE_LEGACY_NAMED_COLOR_SPACE
turned off.

Change-Id: Ie573f59e0aa475bab06b38589db3c6158ad82c5a
2017-02-10 13:32:09 -05:00
Geoffrey Pitsch
df44b606f3 Updated Inline Notification Controls
Removed old xml resources, strings, dimens, etc
Different behavior when sent from the default channel.
Display how many notification categories are used by the app.
Group label when channel is associated with group.
Add package icon.
Fix tap-away-to-save behavior

Test: runtest systemui
Change-Id: Ib41a536a5c4e7c7747a2453eddc3b4b4b99ffa7a
2017-02-10 13:24:54 -05:00
Shreyas Basarge
b6e73c9670 BackupAgent#getBackupQuota() API
This cl adds a getBackupQuota() method
to the BackupAgent abstract class. This
can be used by the agent to determine
how much data it can back up.

Ref: https://docs.google.com/document/d/18MnfwkDfKNtXQBPRmL8vpVgfLgSWJsDja1Nm1QV5hOw/edit#heading=h.unncio2r7de2

Bug: 33750400

Test: GTS test at ag/1850525

Change-Id: I2eb5c0066c99732ec84cae9211f3a1edaad2baf1
2017-02-10 18:11:40 +00:00
Phil Weaver
9b83ffbfae Clear mExtraDataKeys when clearing A11yNodeInfo.
Bug: 35244501
Test: Ran Accessibilitiy CTS. I can no longer get the test mentioned
in the bug to fail.

Change-Id: I69e5e1b5c8f12226837ced928fbd10ff77bcd235
2017-02-10 10:10:01 -08:00
Neil Fuller
2b653dcc63 TimeZoneBundleInstaller -> TimeZoneDistroInstaller
Rename TimeZoneBundleInstaller to TimeZoneDistroInstaller
to avoid the term "Bundle".

Bug: 31008728
Test: make droid
Change-Id: Ib2408495e0a3e011ac544aa87c622878421453e9
2017-02-10 18:03:08 +00:00
Filip Pavlis
eadd5a9084 Fix incorrect header highlight when in single-pane.
Bug: 35216626
Test: Case will be covered in ag/1761868

Change-Id: I877823762a44d6545c80f4f59b29f190c389ba09
2017-02-10 18:00:43 +00:00
Jean-Michel Trivi
0a54d4bbed Merge "Fix PlaybackActivityMonitor unmute path" 2017-02-10 17:55:19 +00:00
TreeHugger Robot
35d5e36f14 Merge "Move auto-fill shell command off IPC" 2017-02-10 17:52:10 +00:00
Daniel Nishi
e767e087d5 Merge "Add storage management days to retain to settings for backup." 2017-02-10 17:50:22 +00:00
Jean-Michel Trivi
579c511765 Fix PlaybackActivityMonitor unmute path
Clear the list of muted played after iterating over it.

Test: see repro test in b/35229719
Bug 35229719

Change-Id: I2e9860f8afbb625933091e45ea705903c74d629e
2017-02-10 09:47:30 -08:00
Narayan Kamath
b8a33125b4 Merge "Partially revert commit ff5659fbc3026e621bdd926e96096e2957cfd42e." 2017-02-10 17:07:46 +00:00
Makoto Onuki
b23cd8ece5 Merge "Stop using IntentService and use async receiver (2/2 - contract)" 2017-02-10 16:27:52 +00:00
Mikhail Naganov
7b79b6313b Merge "SchedulingPolicyService: specify the beneficiary of priority boost" 2017-02-10 16:19:46 +00:00
Julia Reynolds
71b60b86e3 Merge "Let apps link to noti settings and vice versa." 2017-02-10 16:05:10 +00:00
Abodunrinwa Toki
fd9d0ee9f8 Merge changes from topic 'smartselect'
* changes:
  Introduce a model file for language detection.
  Change package for LangId and SmartSelection.
2017-02-10 15:56:40 +00:00
Stefano Tommasini
afcea28827 Merge "Add instrumentation for BackupManager during restore." 2017-02-10 15:46:06 +00:00
Jason Monk
23f85ec14d Move Keyguard to SystemUI
Test: make
Change-Id: I3abb67e2b022737d2aa0226bb07f3966ad68fff7
2017-02-10 07:45:58 -08:00
Bryce Lee
ac84ed9975 Merge "Revert "Set correct focus activity when using FLAG_ACTIVITY_REORDER_TO_FRONT"" 2017-02-10 15:40:53 +00:00
Svet Ganov
ef0c1885cb Move auto-fill shell command off IPC
Auto-fill has a shell command that is useful for development
which is currently exposed as a remote method allowing any app
to call it reflectively. Since only case this method is called
is when handling a shell command there is no need to expose it
to IPC over binder.

Test: manual

Change-Id: Iac20b4a39c7065e254f8aa277d1f2fd1c38b24a8
2017-02-10 15:14:49 +00:00
Narayan Kamath
e714927b19 Partially revert commit ff5659fbc3.
ff5659fbc was intended to be a clean revert of 660cf30e21
that fixed a DOA issue. However, the author incorrectly rebased that
revert and picked up pieces of a separate change as well. This reverts
those sections of the change so that they can be submitted with the
correct attribution and with proper review.

Bug: 34415265
Bug: 34914977
Test: make

Change-Id: I977c3ba10bb05f04ac8cfd95d17954c454c83340
2017-02-10 14:56:57 +00:00
Stefanot
f4e237c685 Add instrumentation for BackupManager during restore.
This CL adds more instumentation to
backup/restore operation in the BackupManager. For more details please
point to:
https://docs.google.com/document/d/1sUboR28LjkT1wRXOwVOV3tLo0qisiCvzxIGmzCVEjbI/edit#
This first Cl introduces 3 events that we sent to the monitor.
The base cl is ag/1835775

Test: TODO

BUG: 34873525
Change-Id: I127fe739a7522078eecce2ae689a4607203a98da
2017-02-10 13:52:02 +00:00
TreeHugger Robot
02d3a61690 Merge "AutoSize TextView (part 9) - sanitize APIs naming" 2017-02-10 13:38:25 +00:00
Andrei Stingaceanu
d834c58252 TextView/LinkMovementMethod/ClickableSpan - touch up revert
Reverts the change which adds a gesture detector in
TextView for detecting clicks on ClickableSpans. A click
is considered MotionEvent.ACTION_UP. Revert needed because
the singleTapUp refactoring has a potential to break
existing apps.

Bug: 23692690
Test: attached in the same topic
Change-Id: Ife47fd0608480130123091bc60a7e9dd1efe8785
2017-02-10 12:55:01 +00:00
Peeyush Agarwal
64f0cae9f4 Fix KeyboardShortcuts show
The keyboard shortcuts should be shown only if they have not been
dismissed already (by using the dismiss method). Check that sInstance is
not null just before displaying the shortcuts popup.

Test: Manual
Bug: 35163857
Change-Id: I17079bc893808c84ccee8e9a6e31130921b7db28
2017-02-10 12:53:09 +00:00
Stefano Tommasini
7a1c94cc89 Merge "Add monitoring to backup in BackupManager." 2017-02-10 12:52:32 +00:00