Commit Graph

164750 Commits

Author SHA1 Message Date
Jinsuk Kim
07b481a9f7 Merge "CEC: Add missing protections for some HdmiControlService API - DO NOT MERGE" into lmp-dev
automerge: 0c74939  -s ours

* commit '0c74939024cb2aec9e8348808366170d77d6e8e7':
  CEC: Add missing protections for some HdmiControlService API - DO NOT MERGE
2014-10-22 01:16:26 +00:00
Craig Mautner
5a3c231dc8 Debug for bug 18017409
Log adding and removing windows. Log activity state changes.

Change-Id: I544be89ff9af6b13ffde70dedec291793b46a420
2014-10-21 18:15:20 -07:00
Deepanshu Gupta
568f16ccfb Merge "Check Bridge init before disposing." into lmp-dev 2014-10-22 00:57:34 +00:00
Alan Viverette
c4a12a7ad0 am bb852b0b: Merge "Format ListPreference summary with empty string if entry is null" into lmp-mr1-dev
* commit 'bb852b0b6b743aeca3a6daceafc89166ec6022d8':
  Format ListPreference summary with empty string if entry is null
2014-10-22 00:39:27 +00:00
Alan Viverette
bb852b0b6b Merge "Format ListPreference summary with empty string if entry is null" into lmp-mr1-dev 2014-10-22 00:35:29 +00:00
Alan Viverette
13e13ddd4e Format ListPreference summary with empty string if entry is null
Adding serif-monospace and sans-serif-monospace font families bumped
out the previous monospace, which left the summary as %s. Returning
an unformatted summary is never correct, and we should simply return
a summary populated with an empty string.

BUG: 17666124
Change-Id: Ic22dc5dc87d9ba3ad6f6b92ee059f5c98cbf103a
2014-10-21 17:05:07 -07:00
Wale Ogunwale
be23ff4949 Fix issue #17674789: Recents icon resets if persist mode is 'persistNever'
Changed TaskPersister worker thread to not delete task information on disk
for tasks that are in recents but not persistable.

Also, changed logic that writes tasks information (excluding thunmbnail)
to disk to not write information for tasks that are not persistable.

Bug: 17674789
Change-Id: Iff7c5d24677f8a75157bb6be504fc2d9d6bcc098
2014-10-21 16:47:58 -07:00
Santos Cordon
40f1589544 am 028217eb: Merge "Add hidden method to access a connection\'s service." into lmp-dev
* commit '028217eb6789e82c96ef5ff5fe0a5a9e0c740d97':
  Add hidden method to access a connection's service.
2014-10-21 23:29:41 +00:00
Jinsuk Kim
0c74939024 Merge "CEC: Add missing protections for some HdmiControlService API - DO NOT MERGE" into lmp-dev 2014-10-21 23:25:58 +00:00
Santos Cordon
028217eb67 Merge "Add hidden method to access a connection's service." into lmp-dev 2014-10-21 23:22:02 +00:00
Paul Jensen
1de55d3cc8 Show ProgressDialog when waiting for radio to turn on when provisioning.
Turning on the cellular radio when user selects the provisioning notification
can take 30-60s so a UI is needed to keep the user informed that the radio is
coming up. This is only for provisioning APN support (only AT&T tablets now).

bug:15990642
Change-Id: Ibea894ee934bae2045c0462ae79bfa39d0ef3f05
2014-10-21 16:06:35 -07:00
Bryce Lee
584a445179 [Theater Mode] framework implementation through global setting
Bug: 17684570
Change-Id: I64a9c9c0620049cdfcca0150648fa201281f7178
2014-10-21 15:55:55 -07:00
Filip Gruszczynski
baecc0b2d1 Merge "Disable activity's translucency until it starts being swiped away." into lmp-sprout-dev 2014-10-21 22:14:40 +00:00
Guang Zhu
55bc7dc428 am ccbeb61a: Block monkey from creating user profiles
* commit 'ccbeb61ac21527839deb115199cbe98fa2b73c05':
  Block monkey from creating user profiles
2014-10-21 22:12:38 +00:00
Filip Gruszczynski
3f8dd14451 Disable activity's translucency until it starts being swiped away.
Change-Id: Ia5dceac7bd9ff57920a43736f9db6a33175e01ac
2014-10-21 15:12:00 -07:00
Jinsuk Kim
5c0f472d82 CEC: Add missing protections for some HdmiControlService API - DO NOT MERGE
A few methods are found to be missing protection with system permission.
Add enforceAccessPermission() like other methods.

Bug: 17408780

Change-Id: I58a336b5cc9df2d195bdfe7b928898dde5ff169f
(cherry picked from commit b22d9ee0a3)
2014-10-21 21:57:34 +00:00
Svetoslav
7e9c21547a Grant the shell user a permission to let apps host widgets.
An app can host widgets only if it has a special signature premission
or the user allowed this app to be able to bind to widgets. This change
grants the permission to whitelist an app to bind to app widgets to the
shell user. Now a test can have a host that will have some widgets. Note
that this is different from whitelisting corp widgets.

bug:17993121

Change-Id: Ic6b866cb2a822254e94a130b876ee5db66ed4fbf
2014-10-21 14:52:31 -07:00
Svetoslav
3a5c721072 APIs for an accessibility service to put interaction tracking overlays.
An accessibility service may register to observe the interactive windows
on the primary display. These windows are the one that has input focus and
ones a sighted user can touch. It is sometimes beneficial for an
accessibility service to overlay a window to intercept user interaction
and based on that introspect and perform an action on the windows that
are on the screen. This is problematic as overlaying a full screen window
that is touchable prevents the accessibility service to introspect the
content under this window.

This change adds a special type of window that only an accessibility service
can place which does not affect what an accessibility service can "see" on
the screen. Hence, even putting such a window full screen the service will
be able to interact with the other interactive windows it covers.

Change-Id: I053ccc3a5c6360a98dc40bdb172b54dab35d8b31
2014-10-21 14:45:53 -07:00
Adam Powell
e055c95b77 am 054e8be5: Merge "Intent chooser callback" into lmp-mr1-dev
* commit '054e8be5e0f9c83dd9792bb1bc118b1a7fd70e17':
  Intent chooser callback
2014-10-21 21:44:26 +00:00
Adrian Roos
c19586a805 am 7b4a38b1: Delay discovery of system trust agents
* commit '7b4a38b197ce43cb286d80fc6c4e9713b2807f13':
  Delay discovery of system trust agents
2014-10-21 21:43:05 +00:00
Adam Powell
054e8be5e0 Merge "Intent chooser callback" into lmp-mr1-dev 2014-10-21 21:41:19 +00:00
Guang Zhu
ccbeb61ac2 Block monkey from creating user profiles
Bug: 17721767
Change-Id: Ibf686d6aa5da29411ee23f8ce6826ed93c1fa970
2014-10-21 14:36:13 -07:00
Andrew Lee
ba2f181aa1 am 74af6700: Merge "Add video calling setting to TelephonyManager." into lmp-mr1-dev
* commit '74af6700196ed55a0aa39c7777293e735e7b4d73':
  Add video calling setting to TelephonyManager.
2014-10-21 21:18:48 +00:00
John Reck
e73a54f33c am bf463af2: Merge "Surface:lockHardwareCanvas" into lmp-mr1-dev
* commit 'bf463af2a5ed6c37df5d0e5a49f6a15d457e1c85':
  Surface:lockHardwareCanvas
2014-10-21 21:12:48 +00:00
Andrew Lee
cd90d42d9d am 017c6f2d: Merge "Fire onConferenceChanged after reseting conference." into lmp-mr1-dev
* commit '017c6f2daaed2c5f0301587ba88663f73b76ecb1':
  Fire onConferenceChanged after reseting conference.
2014-10-21 21:12:36 +00:00
Andrew Lee
74af670019 Merge "Add video calling setting to TelephonyManager." into lmp-mr1-dev 2014-10-21 21:08:46 +00:00
John Reck
bf463af2a5 Merge "Surface:lockHardwareCanvas" into lmp-mr1-dev 2014-10-21 20:59:53 +00:00
Andrew Lee
4a3084a46d Add video calling setting to TelephonyManager.
We want to add a user setting to enable/disable video calling. This
is a telephony-level setting which the user sets using Telephony's
Call Settings, and applies universally to video calls.

But this setting needs to be accessible in places such as Dialer,
so these changes are to support storing the setting in
TelephonyManager (to be implemented in PhoneInterfaceManager) and
providing access to the setting for applications like Dialer
through TelephonyManager.

+ Add function definitions to ITelephony.
+ Add function wrapper implementations in TelephonyManager.

Bug: 16014284
Change-Id: I1dce8bf5ae4f0ee115698ce9627ba8fc424dd855
2014-10-21 13:49:42 -07:00
John Reck
bb2d0cc7e1 Surface:lockHardwareCanvas
Bug: 17440886

Change-Id: I1f2d98c63ec1a2814c2258cf7e0096139263770a
2014-10-21 13:23:56 -07:00
Ricardo Cervera
41848002af docs: Removing extra semicolons in Wear notif examples.
Bug: 17053734

Change-Id: If11b711e2797eeb2fc392e0658d644c585e4bc54
2014-10-21 13:15:39 -07:00
Andrew Lee
017c6f2daa Merge "Fire onConferenceChanged after reseting conference." into lmp-mr1-dev 2014-10-21 20:02:19 +00:00
John Spurlock
0dfda02ec3 am 1a3f7db0: VolumeDialog: Restore default-selection logic.
* commit '1a3f7db001a75770d888866a760e1308bb1f25fd':
  VolumeDialog: Restore default-selection logic.
2014-10-21 19:47:00 +00:00
Wale Ogunwale
393b1c1e88 Fix issue #17789629: PopupWindow overlaps with navigation bar.
The Lollipop release introduced a feature that allowed
apps to extend under the navigation bar. This also means
any popup window that is anchored to the bottom of its
parent window will overlap with the navigation bar if the
parent window is extending underneath the navigation bar.

This change introduces a new window flag
(FLAG_LAYOUT_ATTACHED_IN_DECOR) that allows the app to
specify if the popup window should be attached to the decor
frame of the parent window thereby avoiding an overlap
with the screen decorations.

By default the flag is set on SDK version LOLLIPOP_MR1 or
greater and cleared on lesser SDK versions.

Also, replaced flags FLAG_NEEDS_MENU_KEY and
PRIVATE_FLAG_NEEDS_MENU_KEY_SET with needsMenuKey state
variable to make room for the new
FLAG_LAYOUT_ATTACHED_IN_DECOR flag.

Bug: 17789629
Change-Id: I2150e0c6ac688c966c0e8f7e54d42fd20285bea6
2014-10-21 12:45:53 -07:00
Alan Viverette
e354a9e4da Check MenuItem.isVisible() for keyboard shortcuts
Parity with support-v7 change.

BUG: 18021345
Change-Id: I583b586d451a21bbd207d2b0584a396e1125ee59
2014-10-21 12:21:32 -07:00
smain@google.com
a010375c54 some fixes to TV App quality and TV games doc.
add section to TV Games doc about controller instructions w/ template download.
clarify use of <meta-data> tag and standardize headings per Training conventions.

Change-Id: I6f61a0d4fd976098a6db9ded33c61419a764ad4f
2014-10-21 12:18:35 -07:00
Adam Powell
0b3c11260a Intent chooser callback
Let an app specify an IntentSender as an extra for ACTION_CHOOSER that
will be notified of the user's chosen target. Apps can use this to
implement things like one-touch last used affordances without
implementing their own one-off chooser UI.

Bug 17363684

Change-Id: Ic5d1d0e0c7a0bae3eda6b1d6ade993f3ba865cfa
2014-10-21 12:17:50 -07:00
John Spurlock
1a3f7db001 VolumeDialog: Restore default-selection logic.
Bug: 18066513
Change-Id: Ie72189edf9b59fd8d192d882aaadf1ac05dcb359
2014-10-21 15:16:16 -04:00
John Spurlock
c6639c26ed am cc8b3e8d: Merge "Settings: Make SeekBarVolumizer more null-resilient." into lmp-mr1-dev
* commit 'cc8b3e8d4e561026cf673c9a234cc151f17b3362':
  Settings: Make SeekBarVolumizer more null-resilient.
2014-10-21 18:43:06 +00:00
John Spurlock
cc8b3e8d4e Merge "Settings: Make SeekBarVolumizer more null-resilient." into lmp-mr1-dev 2014-10-21 18:39:20 +00:00
Alan Viverette
ed89e45253 am 7c133e19: Merge "Fix gradient drawable radius when specified as float, dimension" into lmp-mr1-dev
* commit '7c133e19ddabe753a9c0d49d814c89f9df4121ad':
  Fix gradient drawable radius when specified as float, dimension
2014-10-21 18:33:26 +00:00
Alan Viverette
7c133e19dd Merge "Fix gradient drawable radius when specified as float, dimension" into lmp-mr1-dev 2014-10-21 18:25:01 +00:00
John Spurlock
e941116169 am 624dd5ce: Merge "Sysui: Include shared prefs in service dump." into lmp-mr1-dev
* commit '624dd5ce9d6dbdf6522d51134128cb9baadd558e':
  Sysui: Include shared prefs in service dump.
2014-10-21 18:23:30 +00:00
John Spurlock
735f9ebc18 Settings: Make SeekBarVolumizer more null-resilient.
Now that the instances are reusable, ensure all "post" methods
do a handler check, and ensure they are all internal.

Bug: 18063070
Change-Id: Idc478c636686f666f5656f3d07bf2738ba3e9a5a
2014-10-21 14:23:24 -04:00
Alan Viverette
a74b9432e8 am 3d52809b: Merge "Prevent excessive accessibility announcements in TimePicker" into lmp-mr1-dev
* commit '3d52809bad2d96f7f39aa50e51bd53c69607cb4e':
  Prevent excessive accessibility announcements in TimePicker
2014-10-21 18:18:55 +00:00
Alan Viverette
0a8a3eab8b am 46b4920a: Merge "Propagate state changes even when we don\'t change drawable index" into lmp-mr1-dev
* commit '46b4920ac85c5294174df9421eb9a69b0c9b5d55':
  Propagate state changes even when we don't change drawable index
2014-10-21 18:18:50 +00:00
John Spurlock
624dd5ce9d Merge "Sysui: Include shared prefs in service dump." into lmp-mr1-dev 2014-10-21 18:16:47 +00:00
Alan Viverette
3d52809bad Merge "Prevent excessive accessibility announcements in TimePicker" into lmp-mr1-dev 2014-10-21 18:16:25 +00:00
Alan Viverette
46b4920ac8 Merge "Propagate state changes even when we don't change drawable index" into lmp-mr1-dev 2014-10-21 18:14:50 +00:00
Alan Viverette
2efbe9816e Fix gradient drawable radius when specified as float, dimension
BUG: 18070756
Change-Id: I991ff792c376c9695a007f8f1187390ab5ff6e3c
2014-10-21 11:04:04 -07:00
Ye Wen
2cb65604bc Send HTTP status code back in case of MMS HTTP failure (1/3)
We need this in SMS app so that we can treat 404 specially

b/17520290

Change-Id: Ifae1c1b323411143c740fb589c2b978b5ff9bc4e
2014-10-21 10:58:06 -07:00