Commit Graph

309172 Commits

Author SHA1 Message Date
TreeHugger Robot
1dd026d981 Merge "TIF: add BaseProgramColumns in TvContract" 2017-02-08 09:51:52 +00:00
TreeHugger Robot
74b16a1e6b Merge "GET_ACCOUNTS_PRIVILEGED permission check for Account Discovery API." 2017-02-08 09:44:56 +00:00
TreeHugger Robot
c534f4ca8a Merge "Remove unnecessary if-else statement from TextUtils#isEmpty. " 2017-02-08 09:42:48 +00:00
TreeHugger Robot
61294f4c8b Merge "Removed value from AutoFillManager.virtualFocusChanged()." 2017-02-08 09:37:22 +00:00
TreeHugger Robot
df6438325f Merge "BootAnimation: change log format when animation starts" 2017-02-08 09:17:19 +00:00
Paul Duffin
b5c09b5487 Fix problem with JavaDoc
Test: make checkbuild
Change-Id: Ia321e0a57ff63aa62adee16d611c063a22807176
2017-02-08 09:16:18 +00:00
TreeHugger Robot
084f004ad4 Merge "BatteryManager: Add battery status to getProperty" 2017-02-08 09:11:15 +00:00
Manu Cornet
017a3acc3c 2D Recents: Slightly darken header to differentiate from thumbnail
Bug: 34771148
Test: Locally on sw600dp device, sent screenshot to UX to confirm
Change-Id: I74282c6ed81d3b48d554f9acf55d4fafca2c73f4
2017-02-08 00:40:34 -08:00
Yohei Yukawa
3bcef52d7c Merge "Propagate StartInputReason to attachNewInputLocked" 2017-02-08 07:29:30 +00:00
Erik Wolsheimer
84aa5a864f DO NOT MERGE Guard against null entries in process list during updateOomAdjLocked
BUG: 34312358
Change-Id: I9b303d443b082bba8b440e6e1ef68b050a970386
2017-02-07 20:54:20 -08:00
Felipe Leme
0221887e6a Get rid of VirtualViewDelegate.
VirtualViewDelegate was used by views providing virtual children to:
- auto-fill the chidren
- notify system about children changes

Since the notification logic moved to the AutoFillManager class, it's
kind of an overkill to provide a delegate just for autoFill(); instead,
it's simpler to add a new autoFillVirtual(virtualId, value) method on
View.

BUG: 31001899

Test: manual verification
Test: CtsAutoFillServiceTestCases passes

Change-Id: Ia7670aa665918496a009017a11c3de72c4ed3fa2
2017-02-07 20:05:51 -08:00
Winson Chung
ef4d6f3787 Merge "Fixing crash when fetching stack bounds." 2017-02-08 03:25:00 +00:00
songjinshi
9bf2271511 [NotificationManagerService]: Fixes the thread-safe issue.
Add missed sync for backup realted access.

https://code.google.com/p/android/issues/detail?id=233435

Change-Id: I8499f79f491cec545d348bc9c3204aa79ccb6706
Signed-off-by: songjinshi <songjinshi@xiaomi.com>
2017-02-08 03:15:10 +00:00
Wei Wang
dbdda2b60e BootAnimation: change log format when animation starts
Bug: 34499826
Test: on marlin
Change-Id: I719485d399406abc08360620c09d90f4b87934a6
2017-02-07 18:59:58 -08:00
Christine Franks
27fde39cc2 Add new MetricsEvent for carrier demo mode dialog
Bug: 34341567
Test: manual - builds

Change-Id: Ibd9f7b2a3e857d712bbc10fd10ddf477a69267cc
2017-02-07 18:28:14 -08:00
Eugene Susla
d44f9334ed Companion device chooser UI enchancements
Test: Ensure the device chooser dialog looks nicer.
Bug: 30932767
Change-Id: I62e6437e26f229aedb051998a8745a6e1918dbdc
2017-02-07 18:27:15 -08:00
Wyatt Riley
e5d975cdff Merge "GNSS Batching - Default Implementation" 2017-02-08 02:08:06 +00:00
Ian Pedowitz
4561f90194 Merge "Logging and partial fix for BatteryStats lock contention" 2017-02-08 02:02:17 +00:00
Suprabh Shukla
11015dd446 Merge "Deprecating secure setting install_non_market_apps" 2017-02-08 01:53:28 +00:00
Daniel Nishi
c12a9bd148 Remove downloads backup related Settings.
Bug: 32338407
Test: Coretest doesn't fail
Change-Id: Idc28db30af9228e57c6bc775a15d703fbe25798a
2017-02-07 17:49:41 -08:00
Craig Donner
99015fe465 Merge "Use gralloc1 flags to allocate AHardwareBuffers" 2017-02-08 01:42:35 +00:00
Winson Chung
dce0b5fe20 Fixing small issues with drag-to-dismiss window.
- Ensure that it fills the height under the nav bar
- Prevent flash by removing window immediately

Test: Enable drag-to-dismiss and drag the PiP
Change-Id: I60036263321ff99be24a0762eb2e622faa609786
2017-02-08 01:36:44 +00:00
Winson Chung
db2ad5d974 Fixing crash when fetching stack bounds.
Bug: 35115909
Bug: 35112703
Test: Manual
Change-Id: I708501f2d94682e5e945e2ade52c5c53c2fb8067
2017-02-07 17:28:25 -08:00
jackqdyulei
597b10f6db Move the logic of batteryMeterDrawable to settingslib
In Settings, we also need a BatteryMeterDrawable to show battery meter,
that's why I move it to settingslib.

In this cl, what I have changed is listed below:
1. Create BatteryMeterDrawableLib that contains logic of battery
drawing.
2. Still Keep the battery control logic in systemui.
3. Remove hardcoded battery color by using the color state lists.
4. Move some tests to settingslib

Bug: 34771849
Test: make SettingsLibTests

Change-Id: I39c0f0e31ca5e1b958467298db1d0590d16c9f6d
2017-02-07 17:27:00 -08:00
Felipe Leme
7f60d35d94 Removed value from AutoFillManager.virtualFocusChanged().
BUG: 31001899

Test: manual verification
Test: CtsAutoFillServiceTestCases passes

Change-Id: I71c9f9b4b02b210121a1d15860c3c7172d26a62d
2017-02-07 17:23:56 -08:00
Shreyas Basarge
0c4f715a14 Merge "Fix requiresCharging false value ignored issue" into nyc-mr2-dev am: f47b9cf1c1
am: d54303a1b5

Change-Id: Idaace935baa4834f1ceeb3ce931cf7003f64eb60
2017-02-08 01:08:49 +00:00
Shreyas Basarge
f0812b996f Fix requiresCharging false value ignored issue am: e33c3c81af
am: faf365dd5e

Change-Id: Ia3d29cfb59e0eba6aaa536c28e48c17c4d4f9ac9
2017-02-08 01:07:48 +00:00
Jiaquan He
9561b827b8 Merge "2D Recents: Fix the thumbnail radius." into nyc-mr2-dev am: 85016506c6
am: 5e4c6a675f

Change-Id: Ibfaa0542c432c7c30fd40de214560d6e08a8fbb6
2017-02-08 01:03:13 +00:00
Jiaquan He
41b8a3af18 2D Recents: Fix the thumbnail radius. am: 083c6fbbd0
am: 5207be100b

Change-Id: Ic2912d940a877730165a8188ca39ada17ebfa540
2017-02-08 01:02:05 +00:00
Peter Qiu
07ffcc42a3 Merge changes from topic 'Passpoint API Rename' am: 93d66c83cf am: 322c9a9ec5 am: 1c8845c6b0
am: ac562839f5

Change-Id: I2d0d4756003ef63fe7cd824d53169ce758d597ab
2017-02-08 01:01:01 +00:00
Shreyas Basarge
d54303a1b5 Merge "Fix requiresCharging false value ignored issue" into nyc-mr2-dev
am: f47b9cf1c1

Change-Id: Id1488228df87b0facf59f8ad24054ea09f1e94c0
2017-02-08 00:58:52 +00:00
Shreyas Basarge
faf365dd5e Fix requiresCharging false value ignored issue
am: e33c3c81af

Change-Id: Ia96915b00e274ed6c7c8fdaea46ee5a0ba83bdcb
2017-02-08 00:58:47 +00:00
Peter Qiu
c3336a2917 hotspot2: expose Passpoint APIs as public am: bffe405e1f am: b898025e8c am: 1a8cb5dfec
am: 7d172feb01

Change-Id: I0758a871ddbb65b7fe4f46a392020f3584115148
2017-02-08 00:58:17 +00:00
Peter Qiu
7f53158499 hotspot2: fix class/function/variable names to comply with API guideline am: da8a67e8a6 am: 7fec249699 am: 57375308dc
am: 97f04b5efa  -s ours

Change-Id: Ie33e7db651aa4de47ffcc06ab1e7cf93e94c3c48
2017-02-08 00:57:10 +00:00
Peter Qiu
00eb503954 hotspot2: rename classes to comply with API guideline am: a77809766c am: c4f4a1ac9e am: 9bddb8ccd8
am: 6c3bed61c9  -s ours

Change-Id: Id291951c26f5947622f7ce6520d7e343e9f3cf4e
2017-02-08 00:56:12 +00:00
Shreyas Basarge
f47b9cf1c1 Merge "Fix requiresCharging false value ignored issue" into nyc-mr2-dev 2017-02-08 00:49:59 +00:00
Daniel Nishi
baa381119c Fix a bug where the last used times could be wrong.
If a newer UsageStats came along, it would wipe away
the older UsageStats' last used times because it was
newer and, therefore, a source of truth. This is an
improper assumption, however. The newer UsageStat
may cover a timeframe which does not even have a last
use and, thus, destroys valid data.

Bug: 34857041
Test: FrameworksCoreTest
Change-Id: I5111b0d5a184a31a0a8fbdf12984cc7ef90ccd6e
2017-02-07 16:47:57 -08:00
Hakan Seyalioglu
afa21fac6a Merge "Use default icons while disambig sheet is loading" 2017-02-08 00:44:45 +00:00
Jean-Michel Trivi
62b8634f06 AudioService: mute media/game players during phone calls
When the device is ringing or in a call, mute all media/game audio
  players.

Test: run a MediaPlayer, receive call
Bug 30258418

Change-Id: Idb3bd8d33f89aea6ac3293d21801b4b3387d969a
2017-02-07 16:27:59 -08:00
Winson Chung
b0103abff7 Fixing issue with play/pause buttons being inverted.
Test: Launch PiP with media session and no custom actions
Change-Id: Ib58b36fba19068dc9c96199b7b6e511fd41dc7ed
2017-02-08 00:06:53 +00:00
Jiaquan He
5e4c6a675f Merge "2D Recents: Fix the thumbnail radius." into nyc-mr2-dev
am: 85016506c6

Change-Id: Id0a029ed2120e7c040332a0e6fb46b05c5c4b947
2017-02-08 00:06:29 +00:00
Jiaquan He
5207be100b 2D Recents: Fix the thumbnail radius.
am: 083c6fbbd0

Change-Id: I93ff98979bcffa0c3724807ec9caac8f39025fa6
2017-02-08 00:06:22 +00:00
Amith Yamasani
d2450862f4 Logging and partial fix for BatteryStats lock contention
Don't try to grab the write lock while holding BatteryStats lock.

Add some debugging to see if cpu stats gathering is causing a
delay in some cases.

Bug: 34961340
Test: Manual
Change-Id: I8c7d1abb239abd81a07171cd65be1fbfdbca5fdb
2017-02-07 16:00:32 -08:00
TreeHugger Robot
85016506c6 Merge "2D Recents: Fix the thumbnail radius." into nyc-mr2-dev 2017-02-08 00:00:26 +00:00
Jason Monk
421a9410b4 SysUI: Add method for plugins to keep status bar full screen
Lots of things detect overlays these days (installing apps) and the
only way to avoid the problems associated with this is to live in
the status bar window. So allow plugins to hold the window open
when they want to so they can have overlays be in that.

Move StatusBarWindowManager to Dependency to make things easier
as well.

Test: Install the example plugin, test can access QS and interact
      with apps

Change-Id: Ib2288bf56704960847217bad01a480ab407e0ffe
2017-02-07 18:58:14 -05:00
Tyler Gunn
ca5cdb2d10 Change prototype for "setCamera" in IMS VideoProvider.
Changing "setCamera" prototype to include the uid.

Test: Unit test, manual test.
Bug: 32747443
Merged-In: I7e6eb617d724972b0fcbd2f9a27f5c3ee91efd2d
Change-Id: I7e6eb617d724972b0fcbd2f9a27f5c3ee91efd2d
2017-02-07 23:55:04 +00:00
Peter Qiu
ac562839f5 Merge changes from topic 'Passpoint API Rename' am: 93d66c83cf am: 322c9a9ec5
am: 1c8845c6b0

Change-Id: Id22714a3ab72ce5a0b5e1dcd294a7ef7db33da57
2017-02-07 23:54:40 +00:00
Paul Lawrence
f4872e4110 Merge "Expand seccomp whitelist" am: 10e7aed13f am: 0ab0d47516 am: 53e6c94c0b
am: ce8f7cb388

Change-Id: Ia626354e255a0e8bc66529174460e53ddf72f067
2017-02-07 23:52:03 +00:00
Brad Ebinger
7544631c83 Merge "Perform camera permission and app ops check when setting camera for VT." am: ed5c217fc0 am: 3d6f878b75 am: ac3f482f15
am: 63073e0ae8

Change-Id: I5454a51f0f07052f8304606eed9c3d4ec2739582
2017-02-07 23:50:33 +00:00
Peter Qiu
7d172feb01 hotspot2: expose Passpoint APIs as public am: bffe405e1f am: b898025e8c
am: 1a8cb5dfec

Change-Id: I75201e7f464e7228458b62d9f79565097b602752
2017-02-07 23:49:35 +00:00